:root {
    --gold: #D4AF37;
    --light-gold: #F5E6A3;
    --beige: #F5F5DC;
    --dark-beige: #E6D8B5;
    --black: #1a1a1a;
}

body {
    font-family: 'Tajawal', sans-serif;
    background: linear-gradient(135deg, #fef9e7 0%, #fdf6e3 50%, #faf3e0 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.auth-container {
    max-width: 1200px;
    margin: 0 auto;
}

.auth-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    min-height: 600px;
}

.auth-hero {
    background: linear-gradient(135deg, var(--gold) 0%, var(--light-gold) 100%);
    color: var(--black);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.auth-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.logo-large {
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.auth-form-section {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-title {
    color: var(--black);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: #6c757d;
    margin-bottom: 2rem;
}

.auth-form .form-control {
    border-radius: 12px;
    padding: 1rem 1.5rem;
    border: 2px solid #e9ecef;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.auth-form .form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--light-gold) 100%);
    border: none;
    color: var(--black);
    font-weight: bold;
    padding: 1rem 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.auth-switch {
    text-align: center;
    margin-top: 2rem;
}

.auth-switch a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.auth-switch a:hover {
    color: var(--black);
}

.social-login {
    margin-top: 2rem;
    text-align: center;
}

.social-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-btn {
    width: 50px;
    height: 50px;
    border: 2px solid #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #6c757d;
    transition: all 0.3s ease;
}

.social-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

.form-check-input:checked {
    background-color: var(--gold);
    border-color: var(--gold);
}

.password-toggle {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
}

.password-input {
    position: relative;
}

.form-section {
    display: none;
}

.form-section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .auth-hero {
        padding: 2rem;
        text-align: center;
    }
    
    .auth-form-section {
        padding: 2rem 1.5rem;
    }
    
    body {
        padding: 1rem;
    }
}