/* Authentication Page Utilities */

.auth-alert {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    padding: 12px;
    border-radius: 8px;
    margin: 20px auto;
    border: 1px solid rgba(239, 68, 68, 0.2);
    text-align: center;
    font-size: 14px;
    max-width: 320px;
}

.auth-alert-mini {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: center;
}

.forgot-password-container {
    text-align: right;
    margin-top: 5px;
    margin-bottom: 20px;
}

.forgot-password-link {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

.sms-section {
    margin-top: 15px;
}

.sms-verify-btn {
    background: #22c55e;
}

.sms-toggle-link {
    text-align: center;
    font-size: 13px;
    margin-top: 10px;
    cursor: pointer;
    color: #aaa;
}

.auth-footer {
    margin-top: 20px;
    text-align: center;
}

.debug-terminal {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: rgba(0, 0, 0, 0.9);
    color: #0f0;
    font-family: monospace;
    font-size: 12px;
    overflow-y: scroll;
    z-index: 99999;
    padding: 10px;
    border-top: 2px solid #0f0;
}

/* Reset Password Modal */
.reset-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.reset-modal-content {
    background: #1e1e24;
    width: 90%;
    max-width: 400px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px;
    position: relative;
}

.reset-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

.reset-modal-title {
    color: white;
    margin-top: 0;
    font-size: 20px;
}

.reset-modal-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    margin-bottom: 20px;
}

.reset-input-special {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px;
    border-radius: 8px;
    padding-left: 40px;
}

.reset-code-input {
    text-align: center;
    letter-spacing: 3px;
    font-weight: bold;
}

.margin-t-15 { margin-top: 15px; }
.margin-b-10 { margin-bottom: 10px; }

/* 2FA Overrides */
.auth-box-2fa {
    max-width: 400px;
    padding: 40px;
}

.title-2fa {
    font-size: 24px;
}

/* 2FA Setup Specifics */
.setup-container-mini {
    margin-bottom: 20px;
}

.setup-manual-code-label {
    font-size: 12px;
    color: #888;
    margin-bottom: 5px;
}

.flex-center-gap-10 {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn-auth-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
