/**
 * THINKSim - Auth Pages (Sign In / Sign Up)
 */

:root {
    --gradient-auth: linear-gradient(135deg, #ff6b6b 0%, #ff8c42 50%, #f7931e 100%);
    --bg-dark: #1a1a2e;
    --bg-card: #252540;
    --text-white: #ffffff;
    --text-muted: #a0a0b0;
    --accent-pink: #ff6b6b;
    --accent-green: #4ade80;
    --border-color: rgba(255,255,255,0.1);
}

.auth-page {
    min-height: 100vh;
    background: var(--bg-dark);
    font-family: 'DM Sans', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-container {
    width: 100%;
    max-width: 500px;
}

.auth-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.auth-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.gradient-text {
    background: var(--gradient-auth);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.auth-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.secure-text {
    color: var(--accent-green);
    font-size: 0.9rem;
    font-weight: 500;
}

.badge {
    background: rgba(74, 222, 128, 0.2);
    color: var(--accent-green);
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    border: 1px solid var(--accent-green);
}

.auth-divider {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-align: center;
    margin: 1.5rem 0 1rem;
    position: relative;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--border-color);
}

.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }

.auth-form .form-group {
    margin-bottom: 1rem;
}

.auth-form label {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    width: 100%;
    padding: 0.9rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-white);
    font-size: 1rem;
}

.auth-form input::placeholder {
    color: var(--text-muted);
}

.auth-form input:focus {
    outline: none;
    border-color: var(--accent-pink);
}

.btn-primary {
    width: 100%;
    padding: 1rem;
    background: var(--gradient-auth);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.5rem;
}

.btn-primary:hover {
    opacity: 0.95;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    cursor: pointer;
}



.checkbox-label input {
    margin-top: 0.2rem;
}

.checkbox-label a {
    color: #ff5555;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.auth-error {
    background: rgba(255, 85, 85, 0.15);
    color: #ff5555;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.auth-footer {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1.5rem;
}

.auth-footer a {
    color: var(--accent-pink);
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 480px) {
    .auth-page {
        padding: 1rem;
    }

    .auth-card {
        padding: 1.5rem;
    }

    .auth-title {
        font-size: 1.5rem;
    }
    
    
    /* Consent Checkbox Styles - Add to existing auth.css */
.consent-group {
    margin: 1.5rem 0;
}

.consent-checkbox {
    margin-bottom: 1.25rem;
}

.consent-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

.consent-checkbox input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
}

.consent-checkbox a {
    color: #ff6b6b;
    text-decoration: none;
}

.consent-checkbox a:hover {
    text-decoration: underline;
}

.required-star {
    color: #ff6b6b;
    font-size: 0.8rem;
    margin-left: 0.25rem;
}

.consent-note {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    padding-left: 1.75rem;
    opacity: 0.8;
}

.consent-note i {
    margin-right: 0.25rem;
}

.marketing-note {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    padding-left: 1.75rem;
}

.divider-light {
    height: 1px;
    background: var(--border-color);
    margin: 1.5rem 0;
}

.required-field {
    color: #ff6b6b;
    font-size: 0.7rem;
}


}
