/* Auth pages — sign in, sign up, forgot password, reset password.
   Extracted from the duplicated inline blocks in login.php and signup.php so all
   four pages share one definition. */

/* Auth Section Styles */
.auth-section {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #080808 0%, #1a1a1a 100%);
}

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

.auth-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 48px 40px;
    backdrop-filter: blur(10px);
}

.auth-title {
    font-family: 'Syne', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
    text-align: center;
}

.auth-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 32px 0;
    text-align: center;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-family: 'DM Mono', monospace;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input {
    font-family: 'DM Mono', monospace;
    font-size: 15px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: #E8FF00;
    box-shadow: 0 0 0 3px rgba(232, 255, 0, 0.1);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-hint {
    margin: 0;
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.45);
}

.btn-full {
    width: 100%;
    margin-top: 12px;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 24px 0 20px;
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.auth-google {
    display: flex;
    justify-content: center;
    color-scheme: light;
}

.auth-footer {
    margin-top: 24px;
    text-align: center;
    font-family: 'DM Mono', monospace;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.auth-link {
    color: #E8FF00;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.auth-link:hover {
    color: #ffffff;
}

.alert {
    padding: 14px 18px;
    border-radius: 8px;
    font-family: 'DM Mono', monospace;
    font-size: 14px;
    margin-bottom: 24px;
}

.alert-error {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #ff6b6b;
}

.alert-success {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #69db7c;
}

@media (max-width: 640px) {
    .auth-box {
        padding: 36px 24px;
    }

    .auth-title {
        font-size: 28px;
    }
}

.form-forgot {
    margin: -8px 0 4px;
    text-align: right;
}

.form-forgot a {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: .04em;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color .2s, border-color .2s;
}

.form-forgot a:hover {
    color: #C9A84C;
    border-bottom-color: #C9A84C;
}
