/* 404Agent Tutor - Design System */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --student: #3b82f6;
    --teacher: #10b981;
    --admin: #8b5cf6;
    --bg: #0f172a;
    --bg-card: #1e293b;
    --bg-input: #334155;
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --border: #334155;
    --success: #22c55e;
    --error: #ef4444;
    --warning: #f59e0b;
    --radius: 12px;
    --shadow: 0 4px 24px rgba(0,0,0,0.3);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

body.role-student { --accent: var(--student); }
body.role-teacher { --accent: var(--teacher); }
body.role-admin { --accent: var(--admin); }
body.role-guest { --accent: var(--primary); }

/* Animations */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideIn { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

.animate-fade-in { animation: fadeIn 0.5s ease forwards; }
.animate-fade-in-up { animation: fadeInUp 0.6s ease forwards; }
.animate-slide-in { animation: slideIn 0.5s ease forwards; }
.animate-float { animation: float 3s ease-in-out infinite; }
.delay-1 { animation-delay: 0.1s; opacity: 0; animation-fill-mode: forwards; }
.delay-2 { animation-delay: 0.2s; opacity: 0; animation-fill-mode: forwards; }
.delay-3 { animation-delay: 0.3s; opacity: 0; animation-fill-mode: forwards; }

/* Layout */
.app-shell { display: flex; min-height: 100vh; }
.sidebar {
    width: 260px; background: var(--bg-card); border-right: 1px solid var(--border);
    display: flex; flex-direction: column; position: fixed; height: 100vh; z-index: 100;
}
.sidebar-brand { padding: 24px 20px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--border); }
.brand-icon { background: var(--accent, var(--primary)); color: #fff; font-weight: 800; padding: 6px 10px; border-radius: 8px; font-size: 14px; }
.brand-text { font-weight: 700; font-size: 16px; }
.sidebar-nav { flex: 1; padding: 16px 12px; overflow-y: auto; }
.nav-link {
    display: block; padding: 10px 16px; color: var(--text-muted); text-decoration: none;
    border-radius: 8px; margin-bottom: 4px; transition: var(--transition); font-size: 14px;
}
.nav-link:hover { background: rgba(255,255,255,0.05); color: var(--text); }
.sidebar-footer { padding: 16px; border-top: 1px solid var(--border); }
.sidebar-account-card {
    margin: 0 12px 12px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(255,255,255,0.03);
}
.sidebar-account-card dl { margin: 0; }
.sidebar-account-card dt {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.sidebar-account-card dd {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    font-family: ui-monospace, 'Consolas', monospace;
}
.logout-link { color: var(--error) !important; }

.main-content { flex: 1; margin-left: 260px; min-height: 100vh; }
.topbar {
    padding: 20px 32px; border-bottom: 1px solid var(--border); display: flex;
    align-items: center; justify-content: space-between; background: rgba(30,41,59,0.8);
    backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 50;
}
.page-title { font-size: 20px; font-weight: 600; }
.topbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.topbar-actions .profile-menu__trigger {
    background: var(--bg-card);
    border-color: var(--border);
    color: var(--text);
}
.topbar-actions .admin-profile-role,
.topbar-actions .student-profile-role {
    color: var(--text-muted);
}
.role-badge {
    background: var(--accent, var(--primary)); color: #fff; padding: 4px 12px;
    border-radius: 20px; font-size: 12px; font-weight: 600;
}
.content-area { padding: 32px; }

/* Cards */
.card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 24px; transition: var(--transition);
}
.card:hover { border-color: rgba(99,102,241,0.3); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 16px; font-size: 16px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.dashboard-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 32px; }

.stat-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 24px; transition: var(--transition);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat-label { color: var(--text-muted); font-size: 13px; margin-bottom: 8px; }
.stat-value { font-size: 28px; font-weight: 700; }
.stat-value--sm { font-size: 18px; font-family: ui-monospace, 'Consolas', monospace; }
.stat-value.accent, .accent { color: var(--accent, var(--primary)); }

.wallet-card .wallet-balance { font-size: 36px; font-weight: 800; color: var(--accent, var(--teacher)); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px;
    border-radius: 8px; font-size: 14px; font-weight: 600; border: none; cursor: pointer;
    text-decoration: none; transition: var(--transition); font-family: inherit;
}
.btn-primary { background: var(--accent, var(--primary)); color: #fff; }
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--accent, var(--primary)); }
.btn-ghost { background: transparent; color: var(--text-muted); }
.btn-danger { background: var(--error); color: #fff; }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* Forms */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-size: 13px; color: var(--text-muted); font-weight: 500; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 10px 14px; background: var(--bg-input); border: 1px solid var(--border);
    border-radius: 8px; color: var(--text); font-size: 14px; font-family: inherit; transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--accent, var(--primary)); box-shadow: 0 0 0 3px rgba(99,102,241,0.2);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.text-muted { color: var(--text-muted); font-size: 14px; }
.mb-4 { margin-bottom: 16px; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.p-4 { padding: 16px; }

/* Tables */
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th { text-align: left; padding: 10px 12px; color: var(--text-muted); border-bottom: 1px solid var(--border); font-weight: 500; }
.data-table td { padding: 12px; border-bottom: 1px solid rgba(51,65,85,0.5); }
.data-table tr:hover td { background: rgba(255,255,255,0.02); }

/* Badges */
.badge { padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; text-transform: uppercase; }
.badge-active, .badge-paid, .badge-accepted, .badge-completed { background: rgba(34,197,94,0.2); color: var(--success); }
.badge-pending, .badge-processing { background: rgba(245,158,11,0.2); color: var(--warning); }
.badge-inactive, .badge-failed, .badge-declined, .badge-cancelled, .badge-rejected { background: rgba(239,68,68,0.2); color: var(--error); }
.badge-suspended { background: rgba(148,163,184,0.2); color: var(--text-muted); }
.badge-credit { background: rgba(34,197,94,0.2); color: var(--success); }

/* Alerts */
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 20px; font-size: 14px; }
.alert-success { background: rgba(34,197,94,0.15); border: 1px solid rgba(34,197,94,0.3); color: var(--success); }
.alert-error { background: rgba(239,68,68,0.15); border: 1px solid rgba(239,68,68,0.3); color: var(--error); }

/* Auth */
.auth-shell {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
    padding: 20px; flex-direction: column;
}
.auth-alert { max-width: 480px; width: 100%; margin-bottom: 16px; }
.auth-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
    padding: 40px; width: 100%; max-width: 420px; box-shadow: var(--shadow);
}
.auth-card-wide { max-width: 640px; }
.auth-header { text-align: center; margin-bottom: 32px; }
.brand-icon-lg {
    display: inline-block; background: var(--primary); color: #fff; font-weight: 800;
    padding: 12px 16px; border-radius: 12px; font-size: 20px; margin-bottom: 16px;
}
.auth-header h2 { font-size: 24px; margin-bottom: 8px; }
.auth-footer { text-align: center; margin-top: 24px; font-size: 14px; color: var(--text-muted); }
.auth-footer a { color: var(--primary); }

/* Landing */
.landing { min-height: 100vh; }
.landing-nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 40px; border-bottom: 1px solid var(--border);
}
.landing-nav .brand { font-weight: 700; font-size: 18px; display: flex; align-items: center; gap: 8px; }
.nav-actions { display: flex; gap: 12px; }
.hero {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 80px 40px;
    max-width: 1200px; margin: 0 auto; align-items: center;
}
.hero h1 { font-size: 48px; line-height: 1.2; margin-bottom: 20px; }
.gradient-text { background: linear-gradient(135deg, #6366f1, #a78bfa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { color: var(--text-muted); font-size: 18px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; }
.hero-cards { display: flex; flex-direction: column; gap: 16px; }
.feature-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 24px; transition: var(--transition);
}
.feature-card:hover { transform: translateX(8px); border-color: var(--primary); }
.fc-icon { font-size: 28px; margin-bottom: 8px; }
.pricing-section { padding: 60px 40px; text-align: center; }
.section-title { font-size: 32px; margin-bottom: 32px; }
.pricing-card {
    max-width: 400px; margin: 0 auto; background: var(--bg-card); border: 1px solid var(--primary);
    border-radius: 16px; padding: 40px;
}
.price { font-size: 48px; font-weight: 800; color: var(--primary); margin-bottom: 20px; }
.price span { font-size: 16px; color: var(--text-muted); font-weight: 400; }
.pricing-card ul { list-style: none; text-align: left; }
.pricing-card li { padding: 8px 0; color: var(--text-muted); }
.pricing-card li::before { content: "✓ "; color: var(--success); }

/* Subject chips */
.subject-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.subject-chip { cursor: pointer; }
.subject-chip input { display: none; }
.subject-chip span {
    display: block; padding: 8px 16px; border: 1px solid var(--border); border-radius: 20px;
    font-size: 13px; transition: var(--transition);
}
.subject-chip input:checked + span { background: var(--primary); border-color: var(--primary); color: #fff; }
.subject-form-grid { display: grid; gap: 16px; }
.subject-form-item textarea { margin-top: 8px; }

/* Chat */
.chat-container, .chat-main { display: flex; flex-direction: column; height: calc(100vh - 200px); }
.chat-layout { display: grid; grid-template-columns: 260px 1fr; gap: 0; height: calc(100vh - 200px); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.chat-sidebar { background: var(--bg-card); border-right: 1px solid var(--border); padding: 16px; overflow-y: auto; }
.chat-sidebar h4 { font-size: 12px; color: var(--text-muted); text-transform: uppercase; margin-bottom: 8px; }
.chat-thread {
    display: block; padding: 10px 12px; color: var(--text-muted); text-decoration: none;
    border-radius: 8px; margin-bottom: 4px; font-size: 14px; transition: var(--transition);
}
.chat-thread:hover, .chat-thread.active { background: rgba(99,102,241,0.15); color: var(--text); }
.chat-header { padding: 16px; border-bottom: 1px solid var(--border); }
.chat-messages { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.chat-bubble {
    max-width: 70%; padding: 10px 16px; border-radius: 16px; font-size: 14px;
    animation: fadeInUp 0.3s ease;
}
.chat-bubble.mine { align-self: flex-end; background: var(--accent, var(--primary)); color: #fff; border-bottom-right-radius: 4px; }
.chat-bubble.theirs { align-self: flex-start; background: var(--bg-input); border-bottom-left-radius: 4px; }
.chat-bubble .time { font-size: 10px; opacity: 0.7; margin-top: 4px; }
.chat-input { display: flex; gap: 12px; padding: 16px; border-top: 1px solid var(--border); }
.chat-input input { flex: 1; padding: 12px 16px; background: var(--bg-input); border: 1px solid var(--border); border-radius: 24px; color: var(--text); }
.chat-skeleton { height: 40px; background: var(--bg-input); border-radius: 16px; animation: pulse 1.5s infinite; width: 60%; }

/* Profile */
.profile-header { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; }
.profile-avatar {
    width: 64px; height: 64px; border-radius: 50%; background: var(--accent, var(--primary));
    display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700;
}
.profile-details { display: flex; flex-direction: column; gap: 12px; }
.detail-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); }

/* Payment */
.payment-summary { background: var(--bg-input); border-radius: 8px; padding: 16px; margin-top: 16px; }
.summary-row { display: flex; justify-content: space-between; padding: 6px 0; }
.summary-row.total { font-weight: 700; font-size: 18px; border-top: 1px solid var(--border); margin-top: 8px; padding-top: 12px; }

/* Modal */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center; z-index: 200; }
.modal-content { background: var(--bg-card); border-radius: var(--radius); padding: 32px; width: 100%; max-width: 480px; border: 1px solid var(--border); }

/* Misc */
.item-list { list-style: none; }
.item-list li { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.enrollment-item, .transfer-item {
    display: flex; justify-content: space-between; align-items: center; padding: 16px 0;
    border-bottom: 1px solid var(--border); flex-wrap: wrap; gap: 12px;
}
.inline-forms { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.checkbox-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.checkbox-grid label { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.checkbox-label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.error-page { text-align: center; padding: 80px 20px; }
.error-page h1 { font-size: 72px; color: var(--primary); }
code { background: var(--bg-input); padding: 2px 8px; border-radius: 4px; font-size: 13px; }

.withdraw-fee-summary {
    margin: 12px 0 16px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
}

.withdraw-fee-summary__row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.88rem;
    padding: 4px 0;
}

.withdraw-fee-summary__row--fee { color: var(--text-muted); }
.withdraw-fee-summary__row[hidden],
.withdraw-fee-summary[hidden] { display: none !important; }
.withdraw-fee-summary__row--total {
    margin-top: 6px;
    padding-top: 8px;
    border-top: 1px dashed var(--border);
    font-weight: 600;
}

.withdraw-fee-error {
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.12);
    color: #fca5a5;
    font-size: 0.88rem;
}

.withdraw-save-bank {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    /* Prevent all horizontal scroll - constrain everything to viewport */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }

    /* Only constrain specific elements, not all (*) */
    .app-shell,
    .main-content,
    .content-area,
    .card,
    .sidebar,
    .topbar {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Layout */
    .app-shell {
        flex-direction: column;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    .sidebar {
        position: absolute !important;
        top: 0 !important;
        left: -100% !important;
        width: 100% !important;
        height: 100vh !important;
        max-width: 260px !important;
        max-height: 100vh !important;
        border-right: 1px solid var(--border) !important;
        border-bottom: none !important;
        z-index: 999 !important;
        overflow-y: auto !important;
        transition: left 0.3s ease !important;
    }

    .sidebar.open {
        left: 0 !important;
    }

    .sidebar-brand {
        padding: 12px 16px;
        border-bottom: 1px solid var(--border);
    }

    .sidebar-nav {
        display: flex;
        flex-direction: column;
        padding: 12px;
    }

    .sidebar-footer {
        display: block;
    }

    .main-content {
        margin-left: 0 !important;
        margin-top: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        position: relative !important;
    }

    .topbar {
        padding: 12px 16px;
        gap: 8px;
        flex-wrap: wrap;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .page-title {
        font-size: 16px;
    }

    .topbar-actions {
        gap: 6px;
    }

    /* Content */
    .content-area {
        padding: 12px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    /* Cards */
    .card {
        padding: 14px;
        border-radius: 10px;
        margin-bottom: 12px;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .card h3 {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .card-grid,
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 16px;
    }

    .stat-card {
        padding: 12px;
        border-radius: 10px;
    }

    .stat-label {
        font-size: 12px;
    }

    .stat-value {
        font-size: 20px;
    }

    .stat-value--sm {
        font-size: 14px;
    }

    /* Forms */
    .form-group {
        margin-bottom: 12px;
    }

    .form-group label {
        font-size: 12px;
        margin-bottom: 4px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 8px 12px;
        font-size: 14px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* Buttons */
    .btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .btn-lg {
        padding: 10px 20px;
        font-size: 14px;
    }

    .btn-block {
        width: 100%;
    }

    /* Tables */
    .data-table {
        font-size: 12px;
    }

    .data-table th,
    .data-table td {
        padding: 8px;
    }

    /* Landing */
    .landing-nav {
        padding: 12px 16px;
        flex-wrap: wrap;
    }

    .landing-nav .brand {
        font-size: 14px;
    }

    .nav-actions {
        gap: 8px;
        width: 100%;
        margin-top: 8px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 20px 12px;
        gap: 20px;
    }

    .hero h1 {
        font-size: 24px;
        line-height: 1.3;
    }

    .hero p {
        font-size: 14px;
    }

    .hero-actions {
        flex-wrap: wrap;
        gap: 8px;
    }

    .hero-cards {
        gap: 10px;
    }

    .feature-card {
        padding: 14px;
    }

    .fc-icon {
        font-size: 20px;
    }

    .pricing-section {
        padding: 20px 12px;
    }

    .section-title {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .pricing-card {
        padding: 20px;
    }

    .price {
        font-size: 28px;
    }

    /* Chat */
    .chat-layout {
        grid-template-columns: 1fr;
        height: auto;
    }

    .chat-sidebar {
        max-height: 120px;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .chat-container,
    .chat-main {
        height: auto;
    }

    .chat-messages {
        max-height: 300px;
    }

    .chat-bubble {
        max-width: 85%;
        font-size: 13px;
    }

    .chat-input {
        padding: 10px 12px;
        gap: 8px;
    }

    .chat-input input {
        font-size: 13px;
        padding: 8px 12px;
    }

    /* Profile */
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .profile-avatar {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    /* Misc */
    .item-list li {
        padding: 8px 0;
        font-size: 13px;
    }

    .enrollment-item,
    .transfer-item {
        padding: 10px 0;
    }

    .checkbox-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 8px;
    }

    .checkbox-label {
        font-size: 13px;
    }

    /* Auth */
    .auth-shell {
        padding: 16px;
    }

    .auth-card {
        padding: 20px;
        border-radius: 12px;
    }

    .auth-header {
        margin-bottom: 20px;
    }

    .brand-icon-lg {
        padding: 8px 12px;
        font-size: 16px;
    }

    .auth-header h2 {
        font-size: 18px;
    }

    /* Subject chips */
    .subject-chip span {
        padding: 6px 12px;
        font-size: 12px;
    }

    .subject-form-grid {
        gap: 12px;
    }

    /* Payment */
    .payment-summary {
        padding: 12px;
        margin-top: 12px;
    }

    .summary-row {
        padding: 4px 0;
        font-size: 13px;
    }

    /* Modal & Dropdowns - Fix positioning */
    .modal {
        padding: 12px;
        box-sizing: border-box;
    }

    .modal-content {
        padding: 20px;
        max-width: 90%;
        width: 90%;
        box-sizing: border-box;
        margin: 0 auto;
    }

    /* Profile menu, dropdowns, popups */
    .profile-menu,
    [role="menu"],
    [role="listbox"],
    .dropdown-menu,
    .popover {
        max-width: calc(100vw - 20px) !important;
        position: fixed !important;
        max-height: 80vh !important;
        overflow-y: auto !important;
    }

    .inline-forms {
        flex-direction: column;
        gap: 6px;
    }

    .error-page {
        padding: 40px 16px;
    }

    .error-page h1 {
        font-size: 36px;
    }
}
