/* ==========================================================================
   Autenticación Users - Modern Dark Glassmorphism CSS Design System
   ========================================================================== */

:root {
    --bg-dark: #0b0f19;
    --bg-card: rgba(18, 26, 43, 0.7);
    --bg-card-border: rgba(255, 255, 255, 0.08);
    --bg-input: rgba(12, 18, 32, 0.8);
    
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --primary-glow: rgba(99, 102, 241, 0.35);
    
    --secondary: #10b981;
    --secondary-hover: #059669;
    
    --accent: #ec4899;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;

    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --text-dim: #6b7280;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Background Glow Effects */
.background-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    pointer-events: none;
}
.bg-glow-1 {
    top: -200px;
    left: -100px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, rgba(0,0,0,0) 70%);
}
.bg-glow-2 {
    bottom: -200px;
    right: -100px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, rgba(0,0,0,0) 70%);
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Header Navbar */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.brand-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px var(--primary-glow);
}
.brand-title {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.brand-title small {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary);
    -webkit-text-fill-color: initial;
    background: rgba(99, 102, 241, 0.15);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
}

.auth-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-size: 0.68rem;
    color: rgba(148, 163, 184, 0.4);
    margin-top: 1.25rem;
    letter-spacing: 0.02em;
}
.status-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
}


/* Main Layout */
.main-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.5rem;
}

.hidden {
    display: none !important;
}

/* Auth Card & Tabs */
.auth-wrapper {
    width: 100%;
    max-width: 380px;
}
.auth-card {
    padding: 1.25rem 1.5rem;
}

.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    background: rgba(0, 0, 0, 0.2);
    padding: 3px;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}
.auth-tab {
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 7px 10px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition);
}
.auth-tab.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 8px var(--primary-glow);
}
.auth-tab:hover:not(.active) {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.04);
}

.auth-form {
    display: none;
}
.auth-form.active {
    display: block;
    animation: fadeIn 0.3s ease-out forwards;
}

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

.form-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text-main);
}

/* Demo Credentials Box */
.demo-badge {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    margin-bottom: 1.25rem;
    font-size: 0.82rem;
}
.demo-badge span {
    color: #a5b4fc;
    display: block;
    margin-bottom: 6px;
}
.demo-accounts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.btn-demo-chip {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    font-size: 0.78rem;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}
.btn-demo-chip:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* Input Fields */
.input-group {
    margin-bottom: 0.65rem;
}
.label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
}
.input-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-dim);
    margin-bottom: 0.3rem;
}
.link-forgot {
    font-size: 0.8rem;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}
.link-forgot:hover {
    text-decoration: underline;
    color: #818cf8;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.input-icon {
    position: absolute;
    left: 14px;
    color: var(--text-dim);
    pointer-events: none;
}
.input-wrapper input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 8px 10px 8px 34px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.88rem;
    outline: none;
    transition: var(--transition);
}
.input-wrapper input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
    background: rgba(12, 18, 32, 0.95);
}
.pwd-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    opacity: 0.6;
    transition: var(--transition);
}
.pwd-toggle:hover {
    opacity: 1;
}

/* Password Strength */
.strength-meter {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    margin-top: 8px;
    overflow: hidden;
}
.strength-bar {
    height: 100%;
    width: 0%;
    transition: var(--transition);
}
.strength-label {
    font-size: 0.75rem;
    color: var(--text-dim);
    display: block;
    margin-top: 4px;
}

/* Buttons */
.btn-primary {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    padding: 9px;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 3px 10px var(--primary-glow);
    transition: var(--transition);
    margin-top: 0.2rem;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
}
.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-main);
    padding: 9px 16px;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Dashboard Styles */
.dashboard-wrapper {
    width: 100%;
    max-width: 1050px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.dash-header {
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.dash-user-info {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}
.user-details h2 {
    font-size: 1.35rem;
    font-weight: 700;
}
.user-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 4px;
}
.username-tag {
    color: var(--text-muted);
    font-size: 0.88rem;
}
.email-tag {
    color: var(--text-dim);
    font-size: 0.82rem;
}
.badge {
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary);
    border: 1px solid rgba(99, 102, 241, 0.3);
}
.badge.badge-admin {
    background: rgba(236, 72, 153, 0.2);
    color: var(--accent);
    border-color: rgba(236, 72, 153, 0.4);
}

.btn-logout {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    padding: 9px 16px;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}
.btn-logout:hover {
    background: var(--danger);
    color: white;
}

/* Dashboard Tabs Navigation */
.dash-nav {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.dash-nav-btn {
    background: rgba(18, 26, 43, 0.5);
    border: 1px solid var(--bg-card-border);
    color: var(--text-muted);
    padding: 10px 18px;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.dash-nav-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 15px var(--primary-glow);
}
.dash-nav-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
}

.dash-content {
    padding: 2rem;
    min-height: 380px;
}
.dash-tab-pane {
    display: none;
}
.dash-tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease-out forwards;
}

/* Layout Utilities */
.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
@media (max-width: 768px) {
    .grid-2col { grid-template-columns: 1fr; }
}

.content-box {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}
.box-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.sub-box-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 1rem 0 0.75rem 0;
}
.divider {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 1.25rem 0;
}

.input-styled {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}
.input-styled:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.tfa-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
    padding: 12px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.tfa-info h4 { font-size: 0.9rem; font-weight: 600; }
.tfa-info p { font-size: 0.8rem; color: var(--text-muted); }
.btn-tfa {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.btn-tfa.tfa-on {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}
.demo-info-box {
    margin-top: 8px;
    color: #a5b4fc;
}

/* JWT Inspector Tab */
.jwt-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.raw-token-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.75rem;
}
.raw-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}
#raw-jwt-display {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #a5b4fc;
    word-break: break-all;
    max-height: 44px;
    overflow-y: auto;
}
.btn-copy {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    cursor: pointer;
    white-space: nowrap;
}

.jwt-parts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}
@media (max-width: 900px) {
    .jwt-parts-grid { grid-template-columns: 1fr; }
}
.jwt-part-box {
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.jwt-part-box h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.header-part { border-top: 3px solid var(--danger); }
.payload-part { border-top: 3px solid var(--primary); }
.signature-part { border-top: 3px solid var(--secondary); }

.jwt-part-box pre {
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #e2e8f0;
    overflow-x: auto;
}
.sig-status {
    font-size: 0.8rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}
.sig-code {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-dim);
    word-break: break-all;
}

/* Data Tables */
.table-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.btn-refresh {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    cursor: pointer;
}
.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    text-align: left;
}
.data-table th {
    background: rgba(0, 0, 0, 0.4);
    padding: 12px 16px;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.data-table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.data-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}
.text-center { text-align: center; color: var(--text-dim); }

.action-btn-danger {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
}
.action-btn-danger:hover {
    background: var(--danger);
    color: white;
}

/* Approve / Reject action buttons */
.action-btn-approve {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.action-btn-approve:hover {
    background: var(--secondary);
    color: white;
}
.action-btn-reject {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #fca5a5;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.action-btn-reject:hover {
    background: var(--danger);
    color: white;
}
.action-btn-disable {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: #fcd34d;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
}
.action-btn-disable:hover {
    background: var(--warning);
    color: #1c1917;
}

/* Botones de cambio de rol */
.action-btn-role-up {
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.35);
    color: #c4b5fd;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.action-btn-role-up:hover {
    background: #7c3aed;
    color: white;
}
.action-btn-role-down {
    background: rgba(100, 116, 139, 0.15);
    border: 1px solid rgba(100, 116, 139, 0.3);
    color: #94a3b8;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
}
.action-btn-role-down:hover {
    background: #475569;
    color: white;
}


/* Status badges */
.status-active  { color: var(--secondary); }
.status-pending { color: var(--warning); }
.status-rejected, .status-disabled { color: var(--danger); }

/* Pending notice in login form */
.pending-notice, .rejected-notice {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    text-align: center;
    margin-bottom: 1.25rem;
    animation: fadeIn 0.3s ease-out;
}
.rejected-notice {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
}
.pending-notice h4, .rejected-notice h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0.4rem 0;
    color: var(--warning);
}
.rejected-notice h4 { color: var(--danger); }
.pending-notice p, .rejected-notice p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.pending-icon { font-size: 2rem; }

/* Section cards in admin panel */
.section-card {
    margin-bottom: 1.5rem;
    background: rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-md);
    padding: 1.25rem;
}
.pending-section {
    border-color: rgba(245, 158, 11, 0.25);
    background: rgba(245, 158, 11, 0.04);
}

/* Pending count badge on admin tab button */
.pending-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--warning);
    color: #1c1917;
    font-size: 0.7rem;
    font-weight: 800;
    border-radius: var(--radius-full);
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    margin-left: 6px;
    vertical-align: middle;
    animation: pulse 2s infinite;
}
html, body {
    height: 100%;
    overflow: hidden;
}

/* Navbar — solo visible en el dashboard */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 52px;
    padding: 0 1.5rem;
    background: rgba(15, 15, 20, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
}
.navbar.hidden-on-auth {
    display: none;
}

/* Main layout */
.main-container {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow: hidden;
}
.main-container.dashboard-mode {
    height: calc(100vh - 52px);
    margin-top: 52px;
    align-items: flex-start;
    overflow-y: auto;
    padding: 1.5rem;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.modal-card {
    width: 90%;
    max-width: 400px;
    padding: 2rem;
    text-align: center;
}
.modal-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.modal-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.4rem; }
.modal-card p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 1.25rem; }

.input-otp {
    text-align: center;
    letter-spacing: 0.5em;
    font-size: 1.5rem !important;
    font-weight: 700;
    padding-left: 1rem !important;
    font-family: var(--font-mono);
}
.demo-otp-chip {
    background: rgba(99, 102, 241, 0.15);
    color: #a5b4fc;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    display: inline-block;
    margin-bottom: 1.25rem;
}
.modal-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}
.modal-actions button { flex: 1; }

.token-alert-box {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 10px;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    text-align: left;
}
.token-alert-box span { font-size: 0.8rem; color: #6ee7b7; display: block; }
.token-alert-box code { font-family: var(--font-mono); font-size: 0.85rem; color: white; word-break: break-all; }

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.toast {
    background: rgba(18, 26, 43, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    animation: toastIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    min-width: 280px;
}
.toast-success { border-left: 4px solid var(--secondary); }
.toast-error { border-left: 4px solid var(--danger); }
.toast-info { border-left: 4px solid var(--info); }

@keyframes toastIn {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}
