/**
 * Demo — shell alineado con sidebar-modern + dash-v2 del panel real.
 */
.lp-adm-real-shell {
    --demo-sidebar-w: 268px;
}

.lp-adm-real-shell .demo-panel-wrapper {
    display: flex;
    align-items: stretch;
    min-height: 560px;
    background: #000000;
    width: 100%;
}

.lp-adm-real-shell .demo-panel-wrapper > .sidebar-modern {
    position: relative;
    float: none;
    flex: 0 0 var(--demo-sidebar-w);
    width: var(--demo-sidebar-w) !important;
    min-height: 100%;
}

.lp-adm-real-shell .demo-main-panel {
    flex: 1 1 auto;
    min-width: 0;
    float: none;
    width: auto;
    margin: 0;
    background: #000000;
}

.lp-adm-real-shell .demo-main-panel .content.dash-v2 {
    padding: 24px 28px 40px;
    margin-top: 0;
    min-height: 480px;
    max-width: 1480px;
}

.lp-adm-real-shell .demo-top-navbar {
    position: relative;
    margin-bottom: 0;
    border-radius: 0;
}

.lp-adm-real-shell .demo-top-navbar .navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.lp-adm-real-shell .demo-navbar-right {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.lp-adm-real-shell .demo-navbar-right > li {
    display: flex;
    align-items: center;
}

.lp-adm-real-shell .demo-plan-switch-li {
    padding: 0 4px;
}

.lp-adm-real-shell .demo-user-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(229, 229, 229, 0.9);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(252, 163, 17, 0.18);
}

.lp-adm-real-shell:not(.dark-theme) .demo-user-pill,
.lp-adm-real-shell[data-theme="light"] .demo-user-pill {
    color: #14213d;
    background: rgba(20, 33, 61, 0.05);
    border-color: rgba(20, 33, 61, 0.12);
}

.lp-adm-real-shell:not(.dark-theme) .demo-panel-wrapper,
.lp-adm-real-shell[data-theme="light"] .demo-panel-wrapper,
.lp-adm-real-shell:not(.dark-theme) .demo-main-panel,
.lp-adm-real-shell[data-theme="light"] .demo-main-panel {
    background: #f4f6fb;
}

.lp-adm-real-shell .sidebar-modern .nav-link.is-active,
.lp-adm-real-shell .sidebar-modern .nav-link.active {
    background: rgba(252, 163, 17, 0.12) !important;
    color: #ffffff !important;
}

.lp-adm-real-shell .sidebar-modern .nav-item.nav-item-premium-locked > .nav-link.nav-link-premium-locked,
.lp-adm-real-shell .sidebar-modern .nav-link.lp-demo-premium-locked {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.lp-adm-real-shell .sidebar-modern .nav-item.nav-item-premium-locked > .nav-link.nav-link-premium-locked .sidebar-normal,
.lp-adm-real-shell .sidebar-modern .nav-link.lp-demo-premium-locked .sidebar-normal {
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    text-decoration-color: rgba(231, 76, 60, 0.85);
    opacity: 0.55;
}

.lp-adm-real-shell .qa-chip.lp-demo-premium-locked > span:not(.premium-lock-badge),
.lp-adm-real-shell .lp-qa-chip.lp-demo-premium-locked > span:not(.premium-lock-badge) {
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    text-decoration-color: rgba(231, 76, 60, 0.85);
    opacity: 0.6;
}

.lp-adm-real-shell .dash-kpi-link.lp-demo-premium-locked .dash-kpi-label,
.lp-adm-real-shell .dash-kpi-link.lp-demo-premium-locked .dash-kpi-value,
.lp-adm-real-shell .lp-dash-kpi-link.lp-demo-premium-locked .lp-dash-kpi-label,
.lp-adm-real-shell .lp-dash-kpi-link.lp-demo-premium-locked .lp-dash-kpi-value {
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    text-decoration-color: rgba(231, 76, 60, 0.85);
    opacity: 0.6;
}

@media (max-width: 900px) {
    .lp-adm-real-shell .demo-panel-wrapper {
        flex-direction: column;
    }

    .lp-adm-real-shell .demo-panel-wrapper > .sidebar-modern {
        flex-basis: auto;
        width: 100% !important;
        max-height: 220px;
    }
}
