.auth-body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    background: #101010;
    color: var(--text-light);
}

#app-container.auth-main {
    width: 100%;
    max-width: none;
    margin: 0;
    box-shadow: none;
    background: transparent;
    flex: 1 0 auto;
    min-height: 0;
}

.auth-main {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.auth-section {
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
    justify-content: center;
    width: min(100%, 560px);
    margin: 0 auto;
    padding: clamp(1.5rem, 4vh, 3rem) var(--space-5) var(--space-8);
    background: #101010;
}

@media (min-width: 1024px) {
    .auth-main {
        flex-direction: column;
    }

    .auth-section {
        width: min(100%, 560px);
        max-width: 560px;
    }
}

.auth-header {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0;
    margin-bottom: var(--space-5);
}

.auth-logo-link {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    margin-bottom: var(--space-1);
    text-decoration: none;
}

.auth-logo {
    display: block;
    width: 100%;
    max-width: 240px;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.3));
}

.auth-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-top: 0;
    margin-bottom: var(--space-5);
    text-align: left;
    letter-spacing: -0.5px;
}

.auth-title--center {
    text-align: center;
}

.auth-subtitle {
    color: #a0a0a0;
    font-size: 1rem;
    margin: 0;
    margin-bottom: var(--space-6);
    text-align: left;
}

.auth-card {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    padding: var(--space-8);
    background: transparent; /* No inner card color, blends with background */
    border-radius: 0;
    border: none;
    box-shadow: none;
}

.auth-message {
    padding: var(--space-2);
    margin-bottom: var(--space-4);
    text-align: center;
    border-radius: var(--radius-sm, 8px);
    font-size: 0.9rem;
    line-height: 1.5;
}

.auth-message-error {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

.auth-message-success {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
}

.auth-links {
    margin-top: var(--space-5);
    text-align: center;
}

.auth-links--stacked {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-bottom: var(--space-10);
}

.auth-links--spaced {
    margin-bottom: 0;
}

.auth-honeypot {
    position: absolute;
    left: -5000px;
    opacity: 0;
}

.auth-input {
    margin-bottom: var(--space-4);
}

.auth-input--lg {
    margin-bottom: var(--space-5);
}

.auth-input--xl {
    margin-bottom: var(--space-6);
}

.auth-submit {
    width: 100%;
}

.auth-submit--spaced {
    margin-bottom: var(--space-4);
}

.auth-submit-icon {
    margin-left: var(--space-1);
}

.auth-link-row {
    text-align: center;
    margin-bottom: var(--space-1);
}

.auth-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: var(--space-6);
    margin-bottom: var(--space-4);
    text-align: center;
    color: #a0a0a0;
    font-size: 0.9rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #333333;
    margin: 0 16px;
}

.auth-divider-copy {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: var(--space-4);
}

.auth-divider--stacked {
    flex-direction: column;
    gap: var(--space-3);
}

.auth-divider--stacked::before,
.auth-divider--stacked::after {
    display: none;
}

.auth-divider--stacked .auth-divider-copy {
    margin-bottom: 0;
}

.auth-secondary-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    text-decoration: none;
}

.auth-inline-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.auth-success-panel {
    padding: var(--space-5) 0;
    text-align: center;
}

.auth-success-icon {
    display: block;
    margin-bottom: var(--space-5);
    font-size: 4rem;
    color: #4ade80;
}

.auth-success-title {
    margin-bottom: var(--space-2);
    font-size: 1.5rem;
    color: white;
}

.auth-success-copy {
    margin-bottom: var(--space-5);
    color: var(--text-muted);
}

.auth-success-link {
    display: block;
    width: 100%;
    padding: var(--space-4);
    border-radius: var(--radius-base, 10px);
    text-align: center;
    text-decoration: none;
}

.auth-terms {
    display: flex;
    gap: var(--space-2);
    margin-bottom: var(--space-5);
    cursor: pointer;
}

.auth-terms-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.auth-legal-link {
    color: var(--accent-gold);
    text-decoration: underline;
}

.auth-disclosure {
    margin-top: var(--space-4);
}

.auth-disclosure-details {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-align: left;
    cursor: pointer;
}

.auth-disclosure-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-1);
    margin-bottom: var(--space-2);
    color: var(--accent-gold);
    list-style: none;
    -webkit-user-select: none;
    user-select: none;
}

.auth-disclosure-chevron {
    font-size: 0.7rem;
}

.auth-disclosure-content {
    padding: var(--space-4);
    line-height: 1.5;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm, 8px);
}

.auth-disclosure-content p {
    margin-bottom: var(--space-1);
}

.auth-disclosure-content p:first-child {
    margin-top: 0;
}

.auth-disclosure-content p:last-child {
    margin-bottom: 0;
}

.auth-switch {
    margin-top: var(--space-5);
    text-align: center;
}

.auth-switch-copy {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.auth-switch-link {
    color: var(--accent-gold);
    text-decoration: none;
}

.auth-status-box {
    padding: var(--space-4);
    margin-bottom: var(--space-5);
    border-radius: var(--radius-sm, 8px);
    font-size: 0.85rem;
    text-align: center;
}

.auth-status-box--error {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.auth-status-box--success {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.auth-status-icon {
    margin-right: var(--space-1);
}

.auth-status-link {
    display: block;
    margin-top: var(--space-5);
    padding: var(--space-3);
    color: #111;
    text-decoration: none;
}

.auth-field-label {
    display: block;
    margin-bottom: var(--space-1);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.auth-center-block {
    margin-top: var(--space-6);
    text-align: center;
}

.auth-outline-link {
    display: inline-block;
    padding: var(--space-2) var(--space-5);
    font-size: 0.85rem;
    text-decoration: none;
}

.auth-home-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-home-link:hover {
    color: var(--accent-gold);
}

.auth-help-text {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: -10px;
    margin-bottom: var(--space-4);
    text-align: left;
    padding-left: var(--space-2);
    line-height: 1.4;
}
