/* ============================================
   CSS Variables - Color Palette & Theme
   ============================================ */
:root {
    --bg-0: #060A13;
    --bg-1: #08101F;
    --surface: rgba(255, 255, 255, 0.06);
    --surface-2: rgba(255, 255, 255, 0.10);
    --border: rgba(255, 255, 255, 0.12);
    --text: #EAF0FF;
    --muted: rgba(234, 240, 255, 0.72);
    --muted-2: rgba(234, 240, 255, 0.55);
    --blue: #2F7BFF;
    --blue-2: #1B4DFF;
    --teal: #19D3C5;
    --amber: #FFB020;
    --red: #FF4D4D;
    --shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
    --radius: 16px;
}

/* ============================================
   Base Styles
   ============================================ */
html {
    font-size: 16px;
    position: relative;
    min-height: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: 
        radial-gradient(1200px 600px at 50% 20%, rgba(47, 123, 255, 0.20), transparent 60%),
        radial-gradient(900px 500px at 75% 35%, rgba(25, 211, 197, 0.10), transparent 55%),
        linear-gradient(180deg, var(--bg-1), var(--bg-0));
    background-attachment: fixed;
    color: var(--text);
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.04) 2px,
        rgba(255, 255, 255, 0.04) 4px
    );
    pointer-events: none;
    z-index: 0;
}

main {
    position: relative;
    z-index: 1;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    color: var(--text);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 56px;
    line-height: 1.05;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 24px;
}

p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--muted);
}

@media (max-width: 768px) {
    h1 {
        font-size: 36px;
    }
    h2 {
        font-size: 28px;
    }
    p {
        font-size: 16px;
    }
}

/* ============================================
   Premium Navbar
   ============================================ */
.premium-navbar {
    background: rgba(8, 16, 31, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.premium-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--text) !important;
    text-decoration: none;
}

.brand-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--blue), var(--blue-2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
}

.brand-text {
    color: var(--text);
}

.premium-nav-links {
    gap: 2rem;
}

.premium-nav-links .nav-link {
    color: var(--muted) !important;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
}

.premium-nav-links .nav-link:hover {
    color: var(--text) !important;
}

.premium-nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btc-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--muted);
}

.btc-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 8px var(--teal);
    animation: pulse 2s infinite;
}

.btc-dot-small {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
    display: inline-block;
    margin-right: 0.5rem;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.btn-primary-premium {
    background: linear-gradient(180deg, var(--blue), var(--blue-2));
    color: white;
    border: none;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    box-shadow: 0 4px 16px rgba(47, 123, 255, 0.3);
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary-premium:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(47, 123, 255, 0.4);
    color: white;
}

.btn-primary-premium.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

.premium-signin {
    color: var(--muted) !important;
    font-weight: 500;
    text-decoration: none;
}

.premium-signin:hover {
    color: var(--text) !important;
}

.navbar-toggler {
    border-color: var(--border);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28234, 240, 255, 0.72%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    position: relative;
    padding: 6rem 0 4rem;
    overflow: hidden;
}

.hero-chart-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image: 
        linear-gradient(to right, transparent 0%, var(--blue) 50%, transparent 100%),
        linear-gradient(to right, transparent 0%, var(--teal) 50%, transparent 100%);
    background-size: 100% 2px, 100% 1px;
    background-position: 20% 30%, 60% 50%;
    background-repeat: no-repeat;
    pointer-events: none;
}

.hero-content {
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.hero-subtext {
    font-size: 18px;
    line-height: 1.6;
    color: var(--muted);
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-risk-card {
    z-index: 2;
    position: relative;
}

@media (max-width: 992px) {
    .hero-section {
        padding: 4rem 0 3rem;
    }
    .hero-title {
        font-size: 42px;
    }
    .hero-subtext {
        font-size: 16px;
    }
    .hero-risk-card {
        margin-top: 3rem;
    }
}

/* ============================================
   Risk Card
   ============================================ */
.risk-card {
    background: var(--surface);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.risk-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.risk-card-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: var(--text);
}

.risk-badge {
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.risk-badge.moderate {
    background: rgba(255, 176, 32, 0.2);
    color: var(--amber);
    border: 1px solid rgba(255, 176, 32, 0.3);
}

.risk-gauge-container {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.risk-gauge {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    position: relative;
    background: conic-gradient(
        from -90deg,
        var(--red) 0deg,
        var(--red) 120deg,
        var(--amber) 120deg,
        var(--amber) 240deg,
        var(--teal) 240deg,
        var(--teal) 360deg
    );
    padding: 8px;
}

.risk-gauge::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    border-radius: 50%;
    background: conic-gradient(
        from -90deg,
        transparent 0deg,
        transparent calc(var(--gauge-percent) * 3.6deg),
        var(--bg-1) calc(var(--gauge-percent) * 3.6deg),
        var(--bg-1) 360deg
    );
    mask: radial-gradient(circle, transparent 60%, black 60%);
    -webkit-mask: radial-gradient(circle, transparent 60%, black 60%);
}

.gauge-fill {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: transparent;
    position: relative;
}

.gauge-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}

.gauge-value {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
}

.gauge-label {
    display: block;
    font-size: 0.875rem;
    color: var(--muted);
    margin-top: 0.5rem;
}

.risk-card-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.risk-indicator {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.indicator-label {
    font-size: 0.75rem;
    color: var(--muted-2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.indicator-value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text);
}

.indicator-value.neutral {
    color: var(--muted);
}

/* ============================================
   Snapshot Bar
   ============================================ */
.snapshot-bar-section {
    padding: 2rem 0;
    position: relative;
    z-index: 2;
}

.snapshot-bar {
    background: var(--surface);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    overflow-x: auto;
    box-shadow: var(--shadow);
    scrollbar-width: none;
}

.snapshot-bar::-webkit-scrollbar {
    display: none;
}

.snapshot-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.snapshot-label {
    font-size: 0.75rem;
    color: var(--muted-2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

.snapshot-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

.snapshot-value.positive {
    color: var(--teal);
}

.snapshot-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.snapshot-badge.neutral {
    background: rgba(234, 240, 255, 0.1);
    color: var(--muted);
}

.snapshot-badge.moderate {
    background: rgba(255, 176, 32, 0.2);
    color: var(--amber);
}

.snapshot-sparkline {
    padding: 0.5rem 0;
}

.sparkline {
    display: block;
}

.snapshot-update-badge {
    padding: 0.375rem 0.75rem;
    background: rgba(47, 123, 255, 0.15);
    border: 1px solid rgba(47, 123, 255, 0.3);
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--blue);
    font-weight: 500;
}

@media (max-width: 768px) {
    .snapshot-bar {
        padding: 1rem 1.5rem;
        gap: 1.5rem;
    }
}

/* ============================================
   Features Section
   ============================================ */
.features-section {
    padding: 5rem 0;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 2rem;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: var(--shadow);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(47, 123, 255, 0.15);
    border: 1px solid rgba(47, 123, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.feature-description {
    font-size: 0.9375rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-link {
    color: var(--blue);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.feature-link:hover {
    color: var(--blue-2);
}

/* ============================================
   How it Works Section
   ============================================ */
.how-it-works-section {
    padding: 5rem 0;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text);
}

.how-it-works-step {
    text-align: center;
}

.step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--blue), var(--blue-2));
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 24px rgba(47, 123, 255, 0.3);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.step-description {
    font-size: 0.9375rem;
    color: var(--muted);
    line-height: 1.6;
}

/* ============================================
   Methodology Section
   ============================================ */
.methodology-section {
    padding: 5rem 0;
    position: relative;
    z-index: 2;
}

.methodology-content {
    background: var(--surface);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 3rem;
    box-shadow: var(--shadow);
}

.methodology-text {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.methodology-sources {
    margin: 2rem 0;
}

.methodology-item {
    background: var(--bg-1);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.2s ease;
}

.methodology-item:hover {
    border-color: var(--blue);
    box-shadow: 0 4px 16px rgba(47, 123, 255, 0.15);
}

.methodology-item-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.methodology-item-description {
    font-size: 0.9375rem;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

.methodology-disclaimer {
    background: rgba(255, 77, 77, 0.1);
    border: 1px solid rgba(255, 77, 77, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.methodology-disclaimer .disclaimer-text {
    color: var(--red);
    font-size: 0.9375rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .methodology-content {
        padding: 2rem 1.5rem;
    }
    
    .methodology-item {
        margin-bottom: 1rem;
    }
}

/* ============================================
   Disclaimer Section
   ============================================ */
.disclaimer-section {
    padding: 3rem 0;
    position: relative;
    z-index: 2;
}

.disclaimer-card {
    background: var(--surface);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: var(--shadow);
}

.disclaimer-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(25, 211, 197, 0.15);
    border: 1px solid rgba(25, 211, 197, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    flex-shrink: 0;
}

.disclaimer-text {
    font-size: 0.875rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .disclaimer-card {
        flex-direction: column;
    }
}

/* ============================================
   Footer
   ============================================ */
.premium-footer {
    background: var(--bg-1);
    border-top: 1px solid var(--border);
    padding: 2.5rem 0;
    margin-top: 5rem;
    position: relative;
    z-index: 2;
}

.footer-left {
    color: var(--muted-2);
    font-size: 0.875rem;
}

.footer-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.footer-link {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--text);
}

.footer-separator {
    color: var(--muted-2);
}

.footer-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.footer-icon-link {
    color: var(--muted);
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.footer-icon-link:hover {
    color: var(--text);
}

@media (max-width: 768px) {
    .premium-footer .row > div {
        text-align: center !important;
        margin-bottom: 1rem;
    }
    .footer-center {
        flex-direction: column;
        gap: 0.5rem;
    }
    .footer-separator {
        display: none;
    }
}

/* ============================================
   Secondary Button
   ============================================ */
.btn-secondary-premium {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary-premium:hover {
    background: var(--surface);
    border-color: var(--surface-2);
    color: var(--text);
}

/* ============================================
   Container Overrides
   ============================================ */
.container {
    max-width: 1200px;
}

/* ============================================
   Utility Classes
   ============================================ */
.text-muted {
    color: var(--muted) !important;
}

/* Dark theme form controls (keeping for compatibility) */
.form-control {
    background-color: var(--bg-1);
    border-color: var(--border);
    color: var(--text);
}

.form-control:focus {
    background-color: var(--bg-1);
    border-color: var(--blue);
    color: var(--text);
    box-shadow: 0 0 0 0.25rem rgba(47, 123, 255, 0.25);
}

.form-control::placeholder {
    color: var(--muted-2);
}

/* Dark theme cards (keeping for compatibility) */
.card {
    background-color: var(--bg-1);
    border-color: var(--border);
    color: var(--text);
}

/* ============================================
   Auth Forms (Login/Register)
   ============================================ */
.auth-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    position: relative;
    z-index: 1;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--surface);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    font-size: 0.9375rem;
    color: var(--muted);
    margin: 0;
}

.auth-form {
    width: 100%;
}

.premium-input {
    background-color: var(--bg-1) !important;
    border: 1px solid var(--border) !important;
    color: var(--text) !important;
    border-radius: 8px !important;
    padding: 0.875rem 1rem !important;
    font-size: 1rem !important;
    transition: all 0.2s ease !important;
}

.premium-input:focus {
    background-color: var(--bg-1) !important;
    border-color: var(--blue) !important;
    color: var(--text) !important;
    box-shadow: 0 0 0 0.25rem rgba(47, 123, 255, 0.25) !important;
}

.premium-input::placeholder {
    color: var(--muted-2) !important;
}

.form-floating > label {
    color: var(--muted) !important;
    padding: 0.875rem 1rem !important;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--muted) !important;
    opacity: 0.65;
}

.premium-checkbox {
    width: 1.125rem;
    height: 1.125rem;
    border: 1px solid var(--border) !important;
    background-color: var(--bg-1) !important;
    border-radius: 4px !important;
}

.premium-checkbox:checked {
    background-color: var(--blue) !important;
    border-color: var(--blue) !important;
}

.premium-checkbox:focus {
    box-shadow: 0 0 0 0.25rem rgba(47, 123, 255, 0.25) !important;
}

.premium-checkbox-label {
    color: var(--muted) !important;
    font-size: 0.9375rem;
    margin-left: 0.5rem;
}

.validation-summary {
    background: rgba(255, 77, 77, 0.1);
    border: 1px solid rgba(255, 77, 77, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    color: var(--red);
    font-size: 0.875rem;
}

.text-danger {
    color: var(--red) !important;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.auth-actions {
    margin-top: 1.5rem;
}

.auth-footer {
    margin-top: 1.5rem;
    text-align: center;
}

.auth-link {
    color: var(--blue);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.auth-link:hover {
    color: var(--blue-2);
    text-decoration: underline;
}

@media (max-width: 576px) {
    .auth-card {
        padding: 2rem 1.5rem;
    }
    .auth-title {
        font-size: 1.75rem;
    }
}

/* ============================================
   Error Pages
   ============================================ */
.error-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.error-content {
    max-width: 600px;
    background: var(--surface);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 3rem 2rem;
    box-shadow: var(--shadow);
}

.error-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--red);
    margin-bottom: 1rem;
}

.error-subtitle {
    font-size: 1.25rem;
    color: var(--muted);
    margin-bottom: 2rem;
}

.error-text {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.error-code {
    background: var(--bg-1);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    color: var(--blue);
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    display: inline-block;
    margin-top: 0.5rem;
}

.access-denied-container,
.lockout-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.access-denied-content,
.lockout-content {
    max-width: 500px;
    background: var(--surface);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 3rem 2rem;
    box-shadow: var(--shadow);
}

.access-denied-title,
.lockout-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--red);
    margin-bottom: 1rem;
}

.access-denied-text,
.lockout-text {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* ============================================
   Modal Styles (Global)
   ============================================ */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--surface);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background-color: var(--surface-2);
    color: var(--text);
}

.modal-body {
    margin-bottom: 1.5rem;
}