/* =========================================================
   AUTHENTICATION & TITLE SCREENS (MODERN & ACCESSIBLE)
   1920x1080 Native Canvas Layout
========================================================= */

#title-screen {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-image: url("bgassets/title.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    box-sizing: border-box;
    cursor: pointer;
}

#title-screen h1 {
    display: block;
    position: static;
    transform: none;
    width: auto;
    margin: 0 0 40px 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    font-size: clamp(48px, 8vw, 84px);
    font-weight: 900;
    letter-spacing: 4px;
    color: #ffffff;
    text-align: center;
    z-index: 5;
    text-shadow:
        0 4px 16px rgba(0, 0, 0, 0.85),
        0 0 10px rgba(168, 85, 247, 0.35);
}

#title-screen h1::after {
    content: "✦ PYTHON DEBUGGING ODYSSEY ✦";
    display: block;
    margin-top: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(13px, 2vw, 18px);
    font-weight: 700;
    letter-spacing: 5px;
    color: #cbd5e1;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
}

#title-screen p {
    position: static;
    transform: none;
    margin: 20px 0 0 0;
    font-family: 'Inter', sans-serif;
    font-size: clamp(16px, 2.5vw, 22px);
    font-weight: 600;
    color: #e9d5ff;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85), 0 0 8px rgba(168, 85, 247, 0.35);
    animation: retroBlink 2.2s ease-in-out infinite;
    z-index: 5;
    cursor: pointer;
}

@keyframes retroBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.98); }
}

/* =========================================================
   LOGIN SCREEN
========================================================= */

#login-screen {
    display: none;
    position: relative;
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 60px 20px;
    box-sizing: border-box;
    background-image: url("bgassets/login.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    font-family: 'Inter', sans-serif;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


#login-screen::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(30, 15, 50, 0.35), rgba(5, 2, 12, 0.82));
    z-index: 0;
    pointer-events: none;
}

#login-screen h1 {
    position: static;
    width: 100%;
    margin: 0 0 30px 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    font-size: clamp(36px, 5vw, 54px);
    font-weight: 800;
    letter-spacing: 2px;
    color: #ffffff;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.85), 0 0 8px rgba(168, 85, 247, 0.35);
    z-index: 5;
}

#login-screen h1::after {
    content: "SIGN IN TO RESUME HUNTING";
    display: block;
    margin-top: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #cbd5e1;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
}

/* Form Inputs */
#login-screen input:not([type="hidden"]),
#register-screen input:not([type="hidden"]) {
    position: relative;
    z-index: 5;
    display: block;
    width: 100%;
    max-width: 420px;
    height: clamp(46px, 5.5vmin, 56px);
    margin: 8px auto;
    padding: 10px 18px;
    box-sizing: border-box;
    background: rgba(18, 12, 32, 0.92);
    color: #ffffff;
    border: 2px solid #5a388a;
    border-radius: 12px;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-size: clamp(14.5px, 1.5vmin, 16.5px);
    font-weight: 500;
    text-align: left;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.6);
    transition: all 0.2s ease;
}

#login-screen input:first-of-type {
    margin-top: 0;
    margin-bottom: 14px;
}

#login-screen input:nth-of-type(2) {
    margin-top: 0;
    margin-bottom: 0;
}

#login-screen input:focus,
#register-screen input:focus {
    border-color: #a855f7;
    background: rgba(26, 18, 46, 0.96);
    box-shadow: 0 0 16px rgba(168, 85, 247, 0.4), inset 0 2px 6px rgba(0, 0, 0, 0.5);
}

#login-screen input::placeholder,
#register-screen input::placeholder {
    color: #8b7aa3;
    font-size: 14.5px;
}

/* Password Visibility Toggle Wrapper */
.auth-password-wrap {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 8px auto;
    box-sizing: border-box;
    display: block;
}

#login-screen .auth-password-wrap {
    margin: 0 auto 0 auto;
}

.auth-password-wrap input {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-right: 48px !important;
    box-sizing: border-box !important;
}

#login-screen button.password-toggle-btn,
#register-screen button.password-toggle-btn,
.password-toggle-btn {
    position: absolute !important;
    right: 8px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    max-width: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 10 !important;
    color: #94a3b8 !important;
    opacity: 0.8 !important;
    transition: opacity 0.2s ease, color 0.2s ease, transform 0.15s ease !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

#login-screen button.password-toggle-btn:hover,
#register-screen button.password-toggle-btn:hover,
#login-screen button.password-toggle-btn:focus-visible,
#register-screen button.password-toggle-btn:focus-visible {
    opacity: 1 !important;
    color: #e2e8f0 !important;
    background: transparent !important;
    transform: translateY(-50%) scale(1.08) !important;
    box-shadow: none !important;
}

#login-screen button.password-toggle-btn:active,
#register-screen button.password-toggle-btn:active {
    transform: translateY(-50%) scale(0.95) !important;
    background: transparent !important;
}

#login-screen button.password-toggle-btn.password-showing,
#register-screen button.password-toggle-btn.password-showing,
.password-toggle-btn.password-showing {
    color: #c084fc !important;
    opacity: 1 !important;
}

.password-toggle-btn svg {
    width: 20px;
    height: 20px;
    pointer-events: none;
    display: block;
}

/* Buttons */
#login-screen button:not(.password-toggle-btn),
#register-screen button:not(.password-toggle-btn) {
    position: relative;
    z-index: 5;
    display: block;
    width: 100%;
    max-width: 420px;
    height: clamp(46px, 5.5vmin, 54px);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: clamp(15px, 1.6vmin, 17px);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

#login-button,
#teacher-login-button {
    margin-top: 18px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #7c3aed, #9333ea);
    border: none;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.45);
}

#login-button:hover:not(:disabled) {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.65);
}

#teacher-login-button {
    background: linear-gradient(135deg, #0284c7, #2563eb);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.45);
}

#teacher-login-button:hover:not(:disabled) {
    background: linear-gradient(135deg, #0ea5e9, #3b82f6);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.65);
}

#login-button:disabled,
#teacher-login-button:disabled {
    background: #3b2b52;
    color: #7b6a93;
    cursor: not-allowed;
    box-shadow: none;
    border: 1px solid #4a3366;
}

#register-button {
    background: rgba(30, 20, 50, 0.85);
    border: 1px solid #7c3aed;
    color: #e9d5ff;
}

#register-button:hover {
    background: #7c3aed;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Dual Role Selector Tabs */
#login-screen .auth-role-tabs {
    display: flex;
    gap: 12px;
    width: 100%;
    max-width: 420px;
    margin: 0 auto 22px auto;
    z-index: 5;
    position: relative;
}

#login-screen button.auth-role-tab {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    margin: 0;
    max-width: none;
    border-radius: 12px;
    background: rgba(22, 14, 38, 0.9);
    border: 1.5px solid #4a3070;
    color: #c4b5fd;
    font-family: 'Inter', sans-serif;
    font-size: clamp(13.5px, 1.4vmin, 15px);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.22s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

#login-screen button.auth-role-tab:hover {
    background: rgba(42, 24, 74, 0.96);
    border-color: #a855f7;
    color: #ffffff;
    transform: translateY(-2px);
}

#login-screen button.auth-role-tab.active {
    background: linear-gradient(135deg, #7c3aed, #9333ea);
    border-color: #d8b4fe;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.5), 0 4px 14px rgba(0, 0, 0, 0.4);
}

#login-screen .auth-role-panel {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    z-index: 5;
    position: relative;
    animation: fadeInRolePanel 0.22s ease-out;
}

#student-login-form,
#teacher-login-form {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    display: block;
}

@keyframes fadeInRolePanel {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-role-badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 4px 14px;
    border-radius: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #c084fc;
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.4);
    text-transform: uppercase;
}

.auth-role-badge.teacher-badge {
    color: #38bdf8;
    background: rgba(14, 165, 233, 0.15);
    border-color: rgba(56, 189, 248, 0.4);
}

.login-hint {
    position: relative;
    z-index: 5;
    margin: 16px auto 0 auto;
    width: 100%;
    max-width: 420px;
    padding: 0 8px;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    font-size: clamp(13px, 1.3vmin, 14.5px);
    line-height: 1.5;
    color: #a79cb8;
    text-align: center;
}

#login-message {
    position: relative;
    z-index: 5;
    margin: 16px auto 0 auto;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    max-width: 600px;
    color: #fca5a5;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* Lockout banner */
.lockout-alert {
    background: rgba(239, 68, 68, 0.18);
    border: 1px solid #ef4444;
    border-radius: 10px;
    padding: 12px 20px;
    color: #fee2e2;
    animation: lockoutPulse 1.2s infinite alternate;
}

@keyframes lockoutPulse {
    0% { box-shadow: 0 0 10px rgba(239, 68, 68, 0.2); }
    100% { box-shadow: 0 0 22px rgba(239, 68, 68, 0.55); }
}

/* =========================================================
   REGISTER SCREEN
========================================================= */

#register-screen {
    display: none;
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 60px 20px;
    box-sizing: border-box;
    background-image: url("bgassets/login.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    font-family: 'Inter', sans-serif;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


#register-screen::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(30, 15, 50, 0.35), rgba(5, 2, 12, 0.82));
    z-index: 0;
    pointer-events: none;
}

#register-screen h1 {
    position: static;
    width: 100%;
    margin: 0 0 25px 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    font-size: clamp(32px, 5vw, 50px);
    font-weight: 800;
    letter-spacing: 2px;
    color: #ffffff;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.85), 0 0 8px rgba(168, 85, 247, 0.35);
    z-index: 5;
}

#register-screen h1::after {
    content: "JOIN THE ACADEMY OF BUG HUNTERS";
    display: block;
    margin-top: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #cbd5e1;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
}

#register-screen input:first-of-type {
    margin-top: 0;
    margin-bottom: 12px;
}

#register-screen input:nth-of-type(2),
#register-screen input:nth-of-type(3),
#register-screen input:nth-of-type(4) {
    margin-top: 0;
    margin-bottom: 14px;
}

#create-account-button {
    margin-top: 12px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #059669, #10b981);
    border: none;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

#create-account-button:hover {
    background: linear-gradient(135deg, #10b981, #34d399);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.6);
}

#back-to-login-button {
    background: rgba(30, 20, 50, 0.85);
    border: 1px solid #7c3aed;
    color: #e9d5ff;
}

#back-to-login-button:hover {
    background: #7c3aed;
    color: #ffffff;
    transform: translateY(-2px);
}

#register-message {
    position: relative;
    z-index: 5;
    margin: 16px auto 0 auto;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    max-width: 600px;
    color: #d1fae5;
}

/* Forgot Password Link Button */
.auth-aux-actions {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 420px;
    margin: 6px auto 14px auto;
}

.auth-forgot-link {
    background: none !important;
    border: none !important;
    color: #c4b5fd !important;
    font-family: 'Inter', sans-serif;
    font-size: 14px !important;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 4px;
    padding: 4px 8px !important;
    height: auto !important;
    width: auto !important;
    max-width: none !important;
    box-shadow: none !important;
    transition: all 0.2s ease;
}

.auth-forgot-link:hover {
    color: #ffffff !important;
    text-shadow: 0 1px 6px rgba(168, 85, 247, 0.5);
    transform: translateY(-1px);
}

/* Security Question Select */
.auth-field-box {
    width: 100%;
    max-width: 420px;
    margin: 8px auto;
}

.auth-select {
    position: relative;
    z-index: 5;
    display: block;
    width: 100%;
    height: clamp(46px, 5.5vmin, 54px);
    margin: 0 auto;
    padding: 10px 14px;
    box-sizing: border-box;
    background: rgba(18, 12, 32, 0.95);
    color: #f3e8ff;
    border: 2px solid #5a388a;
    border-radius: 12px;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-size: clamp(14px, 1.4vmin, 16px);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.auth-select:focus {
    border-color: #a855f7;
    background: rgba(26, 18, 46, 0.98);
    box-shadow: 0 0 16px rgba(168, 85, 247, 0.4);
}

.auth-select option {
    background: #1a102a;
    color: #ffffff;
    padding: 8px;
}

.register-policy-hint {
    position: relative;
    z-index: 5;
    max-width: 420px;
    margin: 10px auto 14px auto;
    font-size: 13.5px;
    color: #c4b5fd;
    line-height: 1.45;
    text-align: center;
    background: rgba(22, 13, 38, 0.7);
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px dashed rgba(168, 85, 247, 0.4);
}

/* =========================================================
   FORGOT / RESET PASSWORD MODAL
========================================================= */
.auth-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(5, 2, 12, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    animation: modalFadeIn 0.2s ease-out;
}

/* =========================================================
   STUDENT FORGOT / RESET PASSWORD MODAL (BUGHUNT THEME)
   ========================================================= */
.auth-dialog-card {
    position: relative;
    width: 100%;
    max-width: 500px;
    background: linear-gradient(180deg, #180f2d 0%, #0d081b 100%);
    border: 1.5px solid rgba(139, 92, 246, 0.4);
    border-radius: 20px;
    padding: 30px 28px;
    box-sizing: border-box;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 30px rgba(139, 92, 246, 0.15);
    animation: modalPopIn 0.25s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    backdrop-filter: blur(14px);
}

.auth-dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.25);
    padding-bottom: 16px;
}

.auth-dialog-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.auth-recovery-badge {
    align-self: flex-start;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #c084fc;
    background: rgba(139, 92, 246, 0.14);
    border: 1px solid rgba(139, 92, 246, 0.35);
    padding: 3px 10px;
    border-radius: 12px;
    text-transform: uppercase;
}

.auth-dialog-title {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.3px;
}

.auth-dialog-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #c4b5fd;
    line-height: 1.45;
    margin: 0;
}

.auth-dialog-close {
    background: transparent !important;
    border: 1px solid rgba(139, 92, 246, 0.35) !important;
    border-radius: 50% !important;
    width: 34px !important;
    height: 34px !important;
    max-width: 34px !important;
    color: #c4b5fd !important;
    font-size: 22px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}

.auth-dialog-close:hover {
    background: rgba(139, 92, 246, 0.25) !important;
    border-color: #a855f7 !important;
    color: #ffffff !important;
    transform: rotate(90deg) !important;
}

/* 2-Step Progress Indicator */
.recovery-step-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    background: rgba(22, 14, 42, 0.7);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 12px;
    padding: 10px 14px;
}

.recovery-step-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: #8b7ca8;
    transition: all 0.2s ease;
}

.recovery-step-pill.active {
    color: #ffffff;
}

.recovery-step-pill .step-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: #a78bfa;
}

.recovery-step-pill.active .step-num {
    background: #7c3aed;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.4);
}

.recovery-step-pill.completed .step-num {
    background: #10b981;
    color: #ffffff;
}

.step-separator {
    flex: 1;
    height: 1px;
    background: rgba(139, 92, 246, 0.25);
}

/* Fields & Groups */
.reset-step-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.auth-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
    margin-bottom: 14px;
}

.auth-field-label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #e9d5ff;
}

.auth-dialog-input {
    width: 100% !important;
    max-width: none !important;
    background: rgba(16, 10, 32, 0.9) !important;
    border: 1px solid #634394 !important;
    border-radius: 10px !important;
    padding: 11px 14px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 15px !important;
    color: #ffffff !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    transition: all 0.2s ease !important;
}

.auth-dialog-input:focus {
    border-color: #a855f7 !important;
    background: rgba(24, 15, 48, 0.95) !important;
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.4) !important;
    outline: none !important;
}

.auth-dialog-input::placeholder {
    color: #8b7ca8 !important;
    font-size: 14px !important;
}

.auth-field-hint {
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    color: #a78bfa;
    line-height: 1.3;
}

.auth-input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.reset-question-banner {
    background: rgba(22, 14, 42, 0.75);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 16px;
    text-align: left;
}

.reset-q-tag {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #c084fc;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
}

.reset-q-prompt {
    font-family: 'Inter', sans-serif;
    font-size: 15.5px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.4;
}

/* Modal Action Buttons - Matching Game Button Style (.profile-action-save / .profile-action-cancel) */
.auth-btn-primary {
    background: linear-gradient(135deg, #7c3aed, #9333ea) !important;
    border: none !important;
    border-radius: 10px !important;
    color: #ffffff !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 12px 24px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4) !important;
    transition: all 0.2s ease !important;
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

.auth-btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #8b5cf6, #a855f7) !important;
    box-shadow: 0 6px 22px rgba(124, 58, 237, 0.6) !important;
    transform: translateY(-1px) !important;
}

.auth-btn-primary:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

.auth-btn-back {
    background: rgba(30, 20, 50, 0.8) !important;
    border: 1px solid #634394 !important;
    border-radius: 10px !important;
    color: #c4b5fd !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 12px 22px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 90px !important;
    box-sizing: border-box !important;
}

.auth-btn-back:hover {
    background: rgba(50, 30, 80, 0.9) !important;
    color: #ffffff !important;
    border-color: #8b5cf6 !important;
}

.auth-dialog-btn-row {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(139, 92, 246, 0.25);
}

.auth-dialog-btn-row .auth-btn-primary {
    flex: 1;
}

.auth-status-banner {
    margin-top: 14px;
    padding: 11px 14px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    box-sizing: border-box;
}

.auth-status-banner.status-error {
    background: rgba(220, 38, 38, 0.2);
    border: 1px solid #ef4444;
    color: #fca5a5;
}

.auth-status-banner.status-success {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid #10b981;
    color: #6ee7b7;
}

.auth-status-banner.status-info {
    background: rgba(139, 92, 246, 0.18);
    border: 1px solid #8b5cf6;
    color: #e9d5ff;
}


