

.auth-modal-overlay {
    position: fixed; inset: 0; 
    background: rgba(255, 255, 255, 0.9); 
    backdrop-filter: blur(10px); 
    z-index: 10000; 
    display: none; align-items: center; justify-content: center; 
    padding: 20px;
}
.auth-modal-overlay.active { display: flex; }

.auth-modal {
    background: #FFF; 
    width: 100%; max-width: 440px; 
    border: 4px solid #111; 
    box-shadow: 16px 16px 0 #F7C212; 
    position: relative; 
    padding: 48px;
}

.auth-modal-close {
    position: absolute; top: 12px; right: 12px;
    background: none; border: none; font-size: 1.5rem; 
    cursor: pointer; font-family: 'JetBrains Mono', monospace; font-weight: 900;
    padding: 10px 14px; line-height: 1;
}

.auth-modal-header { margin-bottom: 40px; text-align: left; }
.auth-modal-title { font-size: 2.5rem; font-weight: 900; text-transform: uppercase; line-height: 1.05; letter-spacing: -0.04em; margin-bottom: 12px; word-break: break-word; }
.auth-modal-subtitle { color: #555; font-size: 0.95rem; font-weight: 600; }

.auth-form-group { margin-bottom: 24px; }
.auth-label { 
    display: block; font-family: 'JetBrains Mono', monospace; 
    font-size: 0.75rem; font-weight: 900; text-transform: uppercase; 
    margin-bottom: 8px; color: #111; 
}
.auth-input {
    width: 100%; padding: 16px; 
    border: 2px solid #111; border-radius: 0;
    font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 600;
}
.auth-input:focus { outline: none; border-color: #F7C212; }

.auth-code-container { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin: 32px 0; }
.auth-code-input {
    width: 100%; height: 56px; text-align: center;
    border: 2px solid #111; border-radius: 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem; font-weight: 900;
    outline: none;
    transition: border-color 0.15s;
}
.auth-code-input:focus { border-color: #F7C212; }

.auth-btn-submit {
    width: 100%; padding: 20px; 
    background: #111; color: #FFF; border: none;
    font-family: 'JetBrains Mono', monospace; font-weight: 900; 
    font-size: 1rem; text-transform: uppercase; cursor: pointer;
    transition: 0.2s;
}
.auth-btn-submit:hover { background: #F7C212; color: #111; }

.auth-link-btn {
    background: none; border: none; color: #111; 
    font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; 
    font-weight: 800; text-decoration: underline; cursor: pointer;
    margin-top: 24px; display: inline-block;
}

.auth-error-msg {
    background: #FFEDED; color: #FF3333; padding: 12px; 
    font-size: 0.85rem; font-weight: 700; margin-bottom: 24px;
    border: 1px solid #FF3333; display: none;
}
.auth-error-msg.active { display: block; }
