/* ==========================================================================
   Authentication Pages Styles (Signup & Signin)
   ========================================================================== */

/* Auth Section Container */
.auth-section {
    padding: 60px 0 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 480px;
    padding: 40px;
    margin: 0 auto;
}

/* Auth Header */
.auth-header {
    margin-bottom: 28px;
}

.auth-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-top: 8px;
    margin-bottom: 6px;
}

.auth-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Social / Google Login */
.social-login {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.btn-google {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    background-color: #ffffff;
    border: 1px solid #dadce0;
    border-radius: var(--radius-sm); /* Smooth rounded rectangle */
    font-size: 0.95rem;
    font-weight: 600;
    color: #3c4043;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease-in-out;
}

.btn-google:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.btn-google svg {
    display: block;
    flex-shrink: 0;
}

/* Auth Divider */
.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 22px 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.auth-divider span {
    padding: 0 12px;
}

/* Form Controls */
.auth-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.auth-form label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    background-color: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--text-dark);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.auth-form input[type="text"]:focus,
.auth-form input[type="email"]:focus,
.auth-form input[type="password"]:focus,
.domain-select:focus {
    background-color: #ffffff;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

/* Combined Domain Input Group */
.input-domain-group {
    display: flex;
    gap: 8px;
}

.input-domain-group input {
    flex: 1;
}

.domain-select {
    padding: 12px 14px;
    background-color: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    outline: none;
    cursor: pointer;
}

/* Checkbox & Terms */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--brand-primary);
    cursor: pointer;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Submit Button & Footer */
.btn-block {
    width: 100%;
    margin-top: 8px;
}

.auth-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-footer a {
    font-weight: 600;
}

@media (max-width: 576px) {
    .auth-card {
        padding: 24px;
    }
    
    .input-domain-group {
        flex-direction: column;
    }
}