/* ============================================
   VakilAI - Authentication Pages CSS
   ============================================ */

.auth-page {
    background: linear-gradient(135deg, #1a2847 0%, #2c3e50 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 1000px;
    width: 100%;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.auth-box {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    font-size: 2.5rem;
    color: #d4af37;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: #666;
    font-size: 0.95rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #1a2847;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="tel"] {
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus,
.form-group input[type="tel"]:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group.checkbox {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.form-group.checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-group.checkbox label {
    margin-bottom: 0;
    font-weight: 400;
    cursor: pointer;
}

.form-group.checkbox a {
    color: #d4af37;
}

.btn-block {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    color: #999;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #e0e0e0;
}

.social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.social-btn {
    padding: 12px;
    border: 1px solid #e0e0e0;
    background: white;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.social-btn:hover {
    border-color: #d4af37;
    background-color: rgba(212, 175, 55, 0.05);
}

.google-btn:hover {
    border-color: #4285f4;
}

.firebase-btn:hover {
    border-color: #ffa726;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.auth-footer p {
    margin-bottom: 0.5rem;
    color: #666;
    font-size: 0.95rem;
}

.auth-footer a {
    color: #d4af37;
    font-weight: 600;
}

.auth-footer a:hover {
    color: #1a2847;
}

.auth-side {
    background: linear-gradient(135deg, #1a2847 0%, #2c3e50 100%);
    color: white;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-side-content {
    text-align: center;
}

.auth-side-content h2 {
    color: #d4af37;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.auth-side-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.benefits {
    list-style: none;
    text-align: left;
}

.benefits li {
    padding: 0.75rem 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-container {
        grid-template-columns: 1fr;
    }

    .auth-side {
        display: none;
    }

    .auth-box {
        padding: 2rem;
    }

    .auth-header h1 {
        font-size: 2rem;
    }

    .social-login {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .auth-box {
        padding: 1.5rem;
    }

    .auth-header h1 {
        font-size: 1.5rem;
    }

    .form-group input {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}
