* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #101827, #243b55);
    color: #111827;
    min-height: 100vh;
}

.login-page {
    background:
        radial-gradient(circle at top left, rgba(99, 102, 241, 0.45), transparent 34%),
        linear-gradient(135deg, #0f172a, #111827 45%, #1e1b4b);
}

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-shell {
    width: min(980px, calc(100% - 32px));
    min-height: 620px;
    margin: 32px auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(18px);
}

.promo-panel {
    position: relative;
    min-height: 620px;
    padding: 42px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    background:
        linear-gradient(160deg, rgba(79, 70, 229, 0.95), rgba(14, 165, 233, 0.72)),
        url('https://images.unsplash.com/photo-1557682250-33bd709cbe85?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
}

.promo-panel::before,
.promo-panel::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.promo-panel::before {
    width: 260px;
    height: 260px;
    right: -80px;
    top: -70px;
}

.promo-panel::after {
    width: 180px;
    height: 180px;
    left: -60px;
    bottom: 100px;
}

.promo-badge,
.promo-content,
.promo-stats {
    position: relative;
    z-index: 1;
}

.promo-badge {
    width: fit-content;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.32);
    font-weight: 700;
    letter-spacing: 0.3px;
}

.promo-content h2 {
    max-width: 430px;
    margin: 0 0 16px;
    font-size: 44px;
    line-height: 1.05;
}

.promo-content p {
    max-width: 360px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 17px;
    line-height: 1.6;
}

.promo-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.promo-stats div {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.promo-stats strong,
.promo-stats span {
    display: block;
}

.promo-stats strong {
    font-size: 18px;
    margin-bottom: 6px;
}

.promo-stats span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.login-card,
.panel-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 22px;
    padding: 34px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.modern-card {
    max-width: none;
    min-height: 620px;
    border-radius: 0;
    padding: 56px 46px;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand {
    display: inline-block;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    background: #eef2ff;
    color: #4338ca;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 18px;
}

h1 {
    margin: 0 0 8px;
    font-size: 34px;
}

.subtitle {
    margin: 0 0 26px;
    color: #6b7280;
    line-height: 1.5;
}

label {
    display: block;
    margin: 16px 0 8px;
    font-weight: 700;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

input {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid #d1d5db;
    border-radius: 16px;
    font-size: 15px;
    outline: none;
    background: #f9fafb;
    transition: 0.2s ease;
}

input:focus {
    background: #ffffff;
    border-color: #4f46e5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

button {
    width: 100%;
    margin-top: 22px;
    border: 0;
    border-radius: 16px;
    padding: 15px 18px;
    background: linear-gradient(135deg, #4f46e5, #2563eb);
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(79, 70, 229, 0.25);
}

button:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(79, 70, 229, 0.32);
}

.alert {
    background: #fee2e2;
    color: #991b1b;
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 18px;
}

.demo-info {
    margin-top: 20px;
    padding: 14px;
    background: #f9fafb;
    border-radius: 14px;
    color: #4b5563;
    font-size: 14px;
}

.dashboard {
    padding: 24px;
}

.topbar {
    max-width: 900px;
    margin: 0 auto 30px;
    background: #ffffff;
    border-radius: 18px;
    padding: 18px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.topbar a {
    text-decoration: none;
    color: #ffffff;
    background: #ef4444;
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 700;
}

.panel-card {
    max-width: 900px;
    margin: 0 auto;
}

.stats {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.stats div {
    background: #f9fafb;
    border-radius: 16px;
    padding: 18px;
}

.stats span {
    display: block;
    color: #6b7280;
    margin-bottom: 8px;
}

@media (max-width: 820px) {
    .auth-shell {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .promo-panel {
        min-height: 300px;
        padding: 30px;
    }

    .promo-content h2 {
        font-size: 32px;
    }

    .modern-card {
        min-height: auto;
        padding: 34px 24px;
    }
}

@media (max-width: 700px) {
    .stats,
    .promo-stats {
        grid-template-columns: 1fr;
    }

    .auth-shell {
        width: min(100% - 20px, 980px);
        margin: 10px auto;
        border-radius: 24px;
    }
}

/* Premium Expertiz Dashboard */
.app-body {
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.28), transparent 32%),
        radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.22), transparent 34%),
        #07111f;
    color: #e5e7eb;
}

.app-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 280px 1fr;
}

.sidebar {
    padding: 26px;
    background: rgba(2, 6, 23, 0.72);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(22px);
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.side-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #38bdf8, #4f46e5);
    color: #ffffff;
    font-weight: 900;
    box-shadow: 0 16px 36px rgba(56, 189, 248, 0.24);
}

.side-brand strong,
.side-brand span {
    display: block;
}

.side-brand strong {
    color: #ffffff;
    font-size: 18px;
}

.side-brand span,
.side-card span,
.side-card small,
.muted {
    color: #94a3b8;
}

.side-menu {
    display: grid;
    gap: 10px;
}

.side-menu a {
    color: #cbd5e1;
    text-decoration: none;
    padding: 14px 16px;
    border-radius: 16px;
    font-weight: 700;
}

.side-menu a.active,
.side-menu a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.side-card {
    margin-top: auto;
    padding: 20px;
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(59, 130, 246, 0.22), rgba(14, 165, 233, 0.12));
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.side-card strong {
    display: block;
    margin: 8px 0;
    color: #ffffff;
    font-size: 34px;
}

.main-content {
    padding: 34px;
}

.hero-header,
.metric-card,
.glass-panel {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 23, 42, 0.68);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(20px);
}

.hero-header {
    border-radius: 30px;
    padding: 34px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}

.eyebrow,
.section-title span,
.metric-card span {
    color: #38bdf8;
    font-weight: 800;
    letter-spacing: 0.4px;
}

.hero-header h1 {
    color: #ffffff;
    font-size: 42px;
    margin: 8px 0 10px;
}

.hero-header p {
    max-width: 760px;
    margin: 0;
    color: #aebed4;
    line-height: 1.7;
}

.header-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ghost-btn,
.logout-btn,
.section-title a {
    text-decoration: none;
    font-weight: 800;
}

.ghost-btn,
.logout-btn {
    padding: 13px 18px;
    border-radius: 14px;
}

.ghost-btn {
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
}

.logout-btn {
    color: #fecaca;
    background: rgba(239, 68, 68, 0.14);
    border: 1px solid rgba(239, 68, 68, 0.28);
}

.metric-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.metric-card {
    border-radius: 24px;
    padding: 24px;
}

.metric-card.premium {
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.82), rgba(14, 165, 233, 0.44));
}

.metric-card strong {
    display: block;
    margin: 10px 0 8px;
    color: #ffffff;
    font-size: 34px;
}

.metric-card small {
    color: #b8c7dc;
}

.content-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: 1.6fr 0.8fr;
    gap: 18px;
}

.glass-panel {
    border-radius: 28px;
    padding: 26px;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-title h2 {
    margin: 6px 0 0;
    color: #ffffff;
    font-size: 24px;
}

.section-title a {
    color: #7dd3fc;
}

.table-list {
    display: grid;
    gap: 10px;
}

.table-row {
    display: grid;
    grid-template-columns: 1.1fr 1fr 0.8fr 0.8fr;
    gap: 12px;
    align-items: center;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.055);
    color: #dbeafe;
}

.table-row.head {
    color: #93c5fd;
    font-weight: 800;
    background: transparent;
    padding-top: 0;
}

.status {
    width: fit-content;
    padding: 8px 11px;
    border-radius: 999px;
    font-size: 12px;
}

.status.done {
    color: #bbf7d0;
    background: rgba(34, 197, 94, 0.15);
}

.status.progress {
    color: #bfdbfe;
    background: rgba(59, 130, 246, 0.18);
}

.status.waiting {
    color: #fde68a;
    background: rgba(245, 158, 11, 0.16);
}

.score-circle {
    width: 180px;
    height: 180px;
    margin: 26px auto;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: conic-gradient(#38bdf8 0 94%, rgba(255,255,255,0.08) 94% 100%);
    position: relative;
}

.score-circle::after {
    content: '';
    position: absolute;
    inset: 14px;
    border-radius: 50%;
    background: #0f172a;
}

.score-circle strong,
.score-circle span {
    position: relative;
    z-index: 1;
}

.score-circle strong {
    color: #ffffff;
    font-size: 46px;
}

.score-circle span {
    color: #94a3b8;
    margin-top: 54px;
    margin-left: -36px;
}

@media (max-width: 1050px) {
    .app-shell {
        grid-template-columns: 1fr;
    }
    .sidebar {
        position: static;
    }
    .metric-grid,
    .content-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .main-content,
    .sidebar {
        padding: 18px;
    }
    .hero-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-header h1 {
        font-size: 32px;
    }
    .metric-grid,
    .content-grid,
    .table-row {
        grid-template-columns: 1fr;
    }
}

/* Theme selector and 1-2-3 panel themes */
.theme-box{padding:16px;border-radius:18px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12)}
.theme-box span{display:block;color:#94a3b8;font-weight:800;margin-bottom:10px}.theme-links{display:grid;gap:8px}.theme-links a{color:#cbd5e1;text-decoration:none;padding:9px 10px;border-radius:12px;background:rgba(255,255,255,.06);font-weight:800}.theme-links a.on{background:linear-gradient(135deg,#2563eb,#06b6d4);color:#fff}
body.theme-light.app-body{background:#f3f6fb;color:#0f172a}.theme-light .sidebar{background:#fff;border-right:1px solid #e5e7eb}.theme-light .hero-header,.theme-light .metric-card,.theme-light .glass-panel,.theme-light .expertiz-list-panel,.theme-light .list-summary div{background:#fff;border:1px solid #e5e7eb;box-shadow:0 18px 55px rgba(15,23,42,.08);color:#0f172a}.theme-light .hero-header h1,.theme-light .list-toolbar h2,.theme-light .metric-card strong,.theme-light .side-brand strong,.theme-light .side-card strong{color:#0f172a}.theme-light .hero-header p,.theme-light .side-brand span,.theme-light .side-card span,.theme-light .side-card small,.theme-light .muted{color:#64748b}.theme-light .side-menu a{color:#334155}.theme-light .side-menu a.active,.theme-light .side-menu a:hover{background:#eef2ff;color:#1d4ed8}.theme-light .side-card,.theme-light .theme-box{background:#f8fafc;border:1px solid #e2e8f0}.theme-light .theme-links a{background:#e2e8f0;color:#334155}
body.theme-mixed.app-body{background:#eef2f7;color:#0f172a}.theme-mixed .main-content{color:#0f172a}.theme-mixed .hero-header,.theme-mixed .metric-card,.theme-mixed .glass-panel,.theme-mixed .expertiz-list-panel,.theme-mixed .list-summary div{background:rgba(255,255,255,.92);border:1px solid rgba(15,23,42,.08);box-shadow:0 18px 55px rgba(15,23,42,.10)}.theme-mixed .hero-header h1,.theme-mixed .list-toolbar h2,.theme-mixed .metric-card strong{color:#0f172a}.theme-mixed .hero-header p{color:#64748b}

/* Tek tema: koyu tema aktif, tema seçici kaldırıldı */
.theme-box,
.theme-links { display: none !important; }

/* Full responsive panel düzeni */
img, video, canvas { max-width: 100%; height: auto; }
.main-content { min-width: 0; }
.header-actions a,
.header-actions button,
.ghost-btn,
.logout-btn,
.print-btn,
.table-action,
.clear-filter { min-height: 42px; }
.print-btn {
    border: 0;
    border-radius: 14px;
    padding: 13px 18px;
    width: auto;
    margin: 0;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

@media (max-width: 1180px) {
    .app-shell { grid-template-columns: 240px 1fr; }
    .sidebar { padding: 20px; }
    .main-content { padding: 22px; }
    .hero-header h1 { font-size: 34px; }
}

@media (max-width: 980px) {
    .app-shell { display: block; }
    .sidebar {
        position: sticky;
        top: 0;
        z-index: 50;
        padding: 14px;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.1);
        gap: 14px;
    }
    .side-brand { justify-content: space-between; }
    .brand-icon { width: 42px; height: 42px; border-radius: 14px; }
    .side-menu {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: thin;
    }
    .side-menu a {
        flex: 0 0 auto;
        padding: 11px 13px;
        border-radius: 13px;
        font-size: 14px;
        white-space: nowrap;
    }
    .side-card {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 6px 12px;
        align-items: center;
        margin-top: 0;
        padding: 12px 14px;
        border-radius: 16px;
    }
    .side-card strong { font-size: 18px; margin: 0; }
    .side-card small { grid-column: 2; }
    .main-content { padding: 16px; }
    .hero-header { border-radius: 22px; padding: 22px; }
    .header-actions { width: 100%; }
    .header-actions a,
    .header-actions button { flex: 1 1 170px; text-align: center; justify-content: center; }
}

@media (max-width: 760px) {
    body { overflow-x: hidden; }
    .main-content, .dashboard { padding: 12px; }
    .hero-header,
    .glass-panel,
    .expertiz-list-panel,
    .upload-card,
    .gallery-panel,
    .same-gallery-panel {
        border-radius: 18px !important;
        padding: 16px !important;
    }
    .hero-header h1 { font-size: 26px; line-height: 1.15; }
    .hero-header p { font-size: 14px; line-height: 1.55; }
    .metric-card, .list-summary div { padding: 18px; border-radius: 18px; }
    .metric-card strong, .list-summary strong { font-size: 28px; }
    .section-title { display: grid; gap: 10px; }
    .section-title h2, .list-toolbar h2 { font-size: 20px; }
    .table-row { padding: 14px; }
    input, select, textarea, button { font-size: 16px; }
    .auth-shell { width: calc(100% - 16px); }
    .promo-panel { display: none; }
    .modern-card { padding: 28px 20px; }
}

@media (max-width: 560px) {
    .side-brand strong { font-size: 16px; }
    .side-brand span { font-size: 12px; }
    .side-card { font-size: 13px; }
    .hero-header { gap: 14px; }
    .header-actions a,
    .header-actions button,
    .toolbar-actions a,
    .toolbar-actions button { width: 100%; flex-basis: 100%; }
    .score-circle { width: 142px; height: 142px; }
    .score-circle strong { font-size: 36px; }
}

/* Mobil uygulama hissi: kategoriler gizli, hamburger ile açılır */
.mobile-menu-toggle,
.mobile-menu-btn,
.mobile-menu-overlay {
    display: none;
}
.mobile-back-home {
    display: flex;
    align-items: center;
    gap: 14px;
    color: inherit;
    text-decoration: none;
}

@media (max-width: 980px) {
    .app-shell {
        display: block !important;
        padding-top: 74px;
    }
    .sidebar {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        min-height: 74px;
        padding: 12px 14px !important;
        border-right: 0 !important;
        border-bottom: 1px solid rgba(255,255,255,.12) !important;
        background: rgba(2, 6, 23, .92) !important;
        backdrop-filter: blur(22px);
        display: block !important;
        box-shadow: 0 18px 40px rgba(0,0,0,.28);
    }
    .side-brand {
        height: 50px;
        display: flex !important;
        align-items: center;
        justify-content: space-between !important;
        gap: 12px;
    }
    .side-brand .brand-icon {
        width: 44px !important;
        height: 44px !important;
        border-radius: 15px !important;
    }
    .side-brand strong { font-size: 17px !important; }
    .side-brand span { font-size: 12px !important; color: #94a3b8; }
    .mobile-menu-btn {
        width: 46px;
        height: 46px;
        border-radius: 16px;
        background: rgba(255,255,255,.09);
        border: 1px solid rgba(255,255,255,.14);
        display: grid !important;
        place-items: center;
        gap: 0;
        cursor: pointer;
        flex: 0 0 46px;
    }
    .mobile-menu-btn span {
        width: 21px;
        height: 2px;
        border-radius: 99px;
        background: #fff;
        display: block;
        transition: .22s ease;
    }
    .mobile-menu-toggle:checked ~ .side-brand .mobile-menu-btn span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .mobile-menu-toggle:checked ~ .side-brand .mobile-menu-btn span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle:checked ~ .side-brand .mobile-menu-btn span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    .mobile-menu-overlay {
        position: fixed;
        inset: 74px 0 0 0;
        background: rgba(2,6,23,.56);
        z-index: 998;
    }
    .mobile-menu-toggle:checked ~ .mobile-menu-overlay {
        display: block !important;
    }
    .side-menu {
        display: grid !important;
        position: fixed !important;
        z-index: 999;
        top: 84px;
        left: 12px;
        right: 12px;
        max-height: calc(100vh - 108px);
        overflow-y: auto;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        padding: 14px !important;
        border-radius: 24px;
        background: rgba(15, 23, 42, .98);
        border: 1px solid rgba(255,255,255,.14);
        box-shadow: 0 28px 90px rgba(0,0,0,.45);
        transform: translateY(-12px) scale(.98);
        opacity: 0;
        pointer-events: none;
        transition: .22s ease;
    }
    .mobile-menu-toggle:checked ~ .side-menu {
        transform: translateY(0) scale(1);
        opacity: 1;
        pointer-events: auto;
    }
    .side-menu a {
        width: 100%;
        padding: 16px 17px !important;
        border-radius: 18px !important;
        font-size: 15px !important;
        background: rgba(255,255,255,.055);
        border: 1px solid rgba(255,255,255,.07);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .side-menu a::after {
        content: '›';
        font-size: 24px;
        opacity: .5;
        line-height: 1;
    }
    .side-card {
        display: none !important;
    }
    .main-content,
    .dashboard {
        padding-top: 14px !important;
    }
    .hero-header {
        margin-top: 0;
    }
}

@media (max-width: 560px) {
    .app-shell { padding-top: 68px; }
    .sidebar { min-height: 68px; padding: 10px 12px !important; }
    .side-brand { height: 48px; }
    .side-brand .brand-icon { width: 42px !important; height: 42px !important; }
    .mobile-menu-btn { width: 44px; height: 44px; border-radius: 15px; }
    .side-menu { top: 76px; left: 10px; right: 10px; max-height: calc(100vh - 92px); }
    .hero-header h1 { font-size: 24px !important; }
    .hero-header, .glass-panel, .expertiz-list-panel, .upload-card, .gallery-panel { border-radius: 20px !important; }
}

/* Entegre edilen premium accordion menu */
.sidebar {
    width: 320px;
    gap: 20px;
}
.side-menu.menu-wrapper {
    background: rgba(15, 25, 45, 0.65);
    backdrop-filter: blur(16px);
    border-radius: 2rem;
    padding: 1.1rem .85rem;
    width: 100%;
    max-width: 320px;
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.05);
    display: block;
}
.menu-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.menu-item { width: 100%; }
.menu-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.9rem 1.05rem;
    border-radius: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    color: #eef5ff;
    transition: all 0.25s ease;
    backdrop-filter: blur(4px);
}
.menu-btn:hover {
    background: rgba(100, 150, 220, 0.2);
    border-color: rgba(100, 180, 250, 0.4);
    transform: translateX(5px);
}
.btn-left {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}
.btn-icon {
    font-size: 1.25rem;
    width: 28px;
    text-align: center;
}
.arrow-icon {
    font-size: 0.75rem;
    transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.2);
    opacity: 0.7;
}
.menu-btn.active .arrow-icon { transform: rotate(180deg); }
.submenu-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    margin-left: 1rem;
    margin-top: 0.3rem;
}
.submenu-container.open {
    max-height: 350px;
    transition: max-height 0.45s ease-in-out;
}
.submenu-list {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    border-radius: 1.2rem;
    padding: 0.6rem 0;
    margin: 0.5rem 0 0;
    list-style: none;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.side-menu .submenu-list li a,
.submenu-list li a {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.7rem 1.2rem !important;
    text-decoration: none;
    color: #cbdff2;
    font-size: 0.85rem;
    font-weight: 650;
    transition: all 0.2s;
    border-radius: 0.9rem;
    margin: 0 0.4rem;
    background: transparent;
    border: 0;
    justify-content: flex-start;
}
.submenu-list li a:hover,
.submenu-list li a.active {
    background: rgba(80, 140, 210, 0.35);
    color: white;
    padding-left: 1.6rem !important;
}
.submenu-list li a::after { display: none !important; content: none !important; }
.sub-icon {
    width: 24px;
    font-size: 1rem;
}
.menu-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.7rem;
    color: #7e95b0;
    text-align: center;
}
.menu-btn.highlight {
    background: linear-gradient(95deg, #2a4f6e, #1d3e5a);
    border-left: 3px solid #6bc2f0;
}
@media (min-width: 981px) {
    .app-shell { grid-template-columns: 320px 1fr; }
}
@media (max-width: 980px) {
    .sidebar { width: 100%; }
    .side-menu.menu-wrapper {
        max-width: none;
        padding: 14px !important;
        border-radius: 24px;
    }
    .side-menu .submenu-list li a,
    .submenu-list li a {
        width: auto;
        font-size: 14px !important;
        justify-content: flex-start;
        padding: 13px 14px !important;
    }
    .menu-btn {
        padding: 15px 17px;
        border-radius: 18px;
    }
    .submenu-container { margin-left: .25rem; }
    .menu-footer { display: none; }
}
