/* =========================================================
   KRAFEX — PANEL ADMIN / CEO
   TEMA NEÓN
   VERDE + ROJO + AZUL + MORADO
   ========================================================= */


/* =========================================================
   VARIABLES
   ========================================================= */

:root {

    --admin-bg: #0A0A0B;
    --admin-panel: #111116;
    --admin-panel-2: #17171D;

    --neon-green: #00FF66;
    --neon-red: #FF1744;
    --neon-blue: #00A8FF;
    --neon-purple: #A855F7;

    --text-main: #F5F1E8;
    --text-soft: #A8A8B0;
    --border: #2A2A2E;

}


/* =========================================================
   PÁGINA GENERAL
   ========================================================= */

.ceo-page {

    min-height: 100vh;

    padding: 30px;

    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(0, 255, 102, .08),
            transparent 25%
        ),

        radial-gradient(
            circle at 90% 10%,
            rgba(0, 168, 255, .08),
            transparent 25%
        ),

        radial-gradient(
            circle at 50% 90%,
            rgba(168, 85, 247, .07),
            transparent 30%
        ),

        #0A0A0B;

    color: var(--text-main);

}


/* =========================================================
   PANTALLAS
   ========================================================= */

.ceo-screen {

    display: none;

    width: 100%;

    max-width: 1500px;

    margin: 0 auto;

    animation: ceoScreenIn .35s ease;

}


.ceo-screen.active {

    display: block;

}


@keyframes ceoScreenIn {

    from {

        opacity: 0;

        transform: translateY(10px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}


/* =========================================================
   HEADER CEO
   ========================================================= */

.ceo-header,
.screen-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

    margin-bottom: 30px;

    padding-bottom: 25px;

    border-bottom: 1px solid #2A2A2E;

}


.ceo-heading,
.screen-header > div {

    display: flex;

    flex-direction: column;

    gap: 6px;

}


.ceo-label,
.screen-header span {

    color: var(--neon-green);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 3px;

    text-transform: uppercase;

}


.ceo-heading h1,
.screen-header h1 {

    margin: 0;

    font-size: 34px;

    font-weight: 800;

    color: #FFFFFF;

    text-shadow:
        0 0 8px rgba(255,255,255,.12);

}


.ceo-heading p,
.screen-header p {

    margin: 0;

    color: var(--text-soft);

    font-size: 14px;

}


.ceo-status {

    display: flex;

    align-items: center;

    gap: 9px;

    padding: 10px 15px;

    border: 1px solid rgba(0,255,102,.35);

    border-radius: 30px;

    background: rgba(0,255,102,.05);

    color: var(--neon-green);

    font-size: 12px;

}


.status-indicator {

    width: 9px;

    height: 9px;

    border-radius: 50%;

    background: var(--neon-green);

    box-shadow:
        0 0 6px var(--neon-green),
        0 0 15px var(--neon-green);

    animation: statusPulse 1.8s infinite;

}


@keyframes statusPulse {

    0%,
    100% {

        opacity: 1;

    }

    50% {

        opacity: .4;

    }

}


/* =========================================================
   ICONO DEL HEADER
   ========================================================= */

.screen-header-icon {

    width: 60px;

    height: 60px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid var(--neon-purple);

    border-radius: 16px;

    color: var(--neon-purple);

    background: rgba(168,85,247,.08);

    font-size: 30px;

    box-shadow:
        0 0 12px rgba(168,85,247,.25),
        inset 0 0 15px rgba(168,85,247,.05);

}


/* =========================================================
   DASHBOARD
   ========================================================= */

.dashboard-grid {

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;

    margin-bottom: 35px;

}


.dashboard-card {

    position: relative;

    overflow: hidden;

    display: flex;

    align-items: center;

    gap: 16px;

    min-height: 130px;

    padding: 22px;

    background: linear-gradient(
        145deg,
        #15151B,
        #0F0F13
    );

    border: 1px solid var(--border);

    border-radius: 16px;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;

}


.dashboard-card:hover {

    transform: translateY(-4px);

}


.card-icon {

    width: 52px;

    height: 52px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 14px;

    font-size: 25px;

}


.card-content {

    display: flex;

    flex-direction: column;

    gap: 4px;

}


.card-content span {

    color: var(--text-soft);

    font-size: 12px;

}


.card-content strong {

    color: #FFFFFF;

    font-size: 25px;

}


.card-content small {

    color: #707078;

    font-size: 11px;

}


/* =========================================================
   COLORES DE TARJETAS
   ========================================================= */

.card-red {

    border-color: rgba(255,23,68,.45);

}


.card-red .card-icon {

    color: var(--neon-red);

    background: rgba(255,23,68,.10);

    box-shadow:
        0 0 15px rgba(255,23,68,.15);

}


.card-red:hover {

    box-shadow:
        0 0 25px rgba(255,23,68,.16);

}


.card-blue {

    border-color: rgba(0,168,255,.45);

}


.card-blue .card-icon {

    color: var(--neon-blue);

    background: rgba(0,168,255,.10);

    box-shadow:
        0 0 15px rgba(0,168,255,.15);

}


.card-blue:hover {

    box-shadow:
        0 0 25px rgba(0,168,255,.16);

}


.card-green {

    border-color: rgba(0,255,102,.45);

}


.card-green .card-icon {

    color: var(--neon-green);

    background: rgba(0,255,102,.10);

    box-shadow:
        0 0 15px rgba(0,255,102,.15);

}


.card-green:hover {

    box-shadow:
        0 0 25px rgba(0,255,102,.16);

}


.card-purple {

    border-color: rgba(168,85,247,.45);

}


.card-purple .card-icon {

    color: var(--neon-purple);

    background: rgba(168,85,247,.10);

    box-shadow:
        0 0 15px rgba(168,85,247,.15);

}


.card-purple:hover {

    box-shadow:
        0 0 25px rgba(168,85,247,.16);

}


/* =========================================================
   PANELES
   ========================================================= */

.management-panel,
.activity-panel,
.orders-panel,
.alerts-panel {

    margin-bottom: 25px;

    padding: 25px;

    background:
        linear-gradient(
            145deg,
            #15151B,
            #101014
        );

    border: 1px solid #292930;

    border-radius: 18px;

}


.panel-heading,
.section-heading {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 22px;

}


.panel-heading h2,
.section-heading h2 {

    margin: 4px 0 0;

    color: #FFFFFF;

    font-size: 21px;

}


.panel-heading span,
.section-heading span {

    color: var(--neon-blue);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;

}


/* =========================================================
   FORMULARIOS
   ========================================================= */

.product-form,
.expense-form {

    display: flex;

    flex-direction: column;

    gap: 18px;

}


.form-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 18px;

}


.product-form label,
.expense-form label {

    display: flex;

    flex-direction: column;

    gap: 8px;

    color: var(--text-soft);

    font-size: 12px;

}


.product-form input,
.product-form select,
.product-form textarea,
.expense-form input {

    width: 100%;

    box-sizing: border-box;

    padding: 12px 14px;

    border: 1px solid #303038;

    border-radius: 9px;

    outline: none;

    background: #0B0B0F;

    color: #FFFFFF;

    font: inherit;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;

}


.product-form input:focus,
.product-form select:focus,
.product-form textarea:focus,
.expense-form input:focus {

    border-color: var(--neon-blue);

    box-shadow:
        0 0 10px rgba(0,168,255,.18);

}


.product-form textarea {

    resize: vertical;

    min-height: 100px;

}


/* =========================================================
   BOTONES
   ========================================================= */

.primary-action,
.secondary-action,
.marketing-card button,
.panel-access-card button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    min-height: 42px;

    padding: 0 18px;

    border-radius: 9px;

    font-size: 12px;

    font-weight: 700;

    cursor: pointer;

    transition: .2s ease;

}


.primary-action {

    width: fit-content;

    border: 1px solid var(--neon-green);

    background: rgba(0,255,102,.10);

    color: var(--neon-green);

    box-shadow:
        0 0 10px rgba(0,255,102,.08);

}


.primary-action:hover {

    background: var(--neon-green);

    color: #050505;

    box-shadow:
        0 0 20px rgba(0,255,102,.35);

}


.secondary-action {

    border: 1px solid var(--neon-red);

    background: rgba(255,23,68,.08);

    color: var(--neon-red);

}


.secondary-action:hover {

    background: var(--neon-red);

    color: #FFFFFF;

    box-shadow:
        0 0 20px rgba(255,23,68,.3);

}


/* =========================================================
   MATERIALES
   ========================================================= */

.materials-grid,
.availability-grid,
.income-grid,
.sales-summary,
.users-summary {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 15px;

}


.material-card,
.availability-card,
.income-grid article,
.sales-summary article,
.users-summary article {

    padding: 20px;

    background: #101015;

    border: 1px solid #292930;

    border-radius: 13px;

}


.material-card {

    text-align: center;

}


.material-card i {

    display: block;

    margin-bottom: 10px;

    color: var(--neon-blue);

    font-size: 28px;

}


.material-card h3 {

    margin: 0 0 7px;

    color: #FFFFFF;

}


.material-card strong {

    display: block;

    color: var(--neon-green);

    font-size: 25px;

}


.material-card span {

    color: #777780;

    font-size: 11px;

}


.material-actions {

    display: flex;

    gap: 10px;

    margin-top: 20px;

}


/* =========================================================
   DISPONIBILIDAD
   ========================================================= */

.availability-card {

    text-align: center;

}


.availability-card i {

    font-size: 28px;

}


.availability-card h3 {

    margin: 10px 0;

    color: #FFFFFF;

}


.availability-card strong {

    font-size: 28px;

}


.availability-card.available {

    border-color: rgba(0,255,102,.4);

}


.availability-card.available i,
.availability-card.available strong {

    color: var(--neon-green);

}


.availability-card.unavailable {

    border-color: rgba(255,23,68,.4);

}


.availability-card.unavailable i,
.availability-card.unavailable strong {

    color: var(--neon-red);

}


/* =========================================================
   MARKETING
   ========================================================= */

.marketing-grid {

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 16px;

}


.marketing-card {

    padding: 25px;

    background: #111116;

    border: 1px solid #292930;

    border-radius: 16px;

    transition: .25s ease;

}


.marketing-card:hover {

    transform: translateY(-5px);

    border-color: var(--neon-purple);

    box-shadow:
        0 0 25px rgba(168,85,247,.15);

}


.marketing-card > i {

    color: var(--neon-purple);

    font-size: 30px;

}


.marketing-card h2 {

    margin: 18px 0 8px;

    color: #FFFFFF;

    font-size: 18px;

}


.marketing-card p {

    min-height: 40px;

    color: var(--text-soft);

    font-size: 12px;

    line-height: 1.5;

}


.marketing-card button {

    width: 100%;

    margin-top: 15px;

    border: 1px solid var(--neon-purple);

    background: rgba(168,85,247,.08);

    color: var(--neon-purple);

}


.marketing-card button:hover {

    background: var(--neon-purple);

    color: #FFFFFF;

    box-shadow:
        0 0 18px rgba(168,85,247,.3);

}


/* =========================================================
   INGRESOS
   ========================================================= */

.income-grid article {

    display: flex;

    flex-direction: column;

    gap: 10px;

}


.income-grid article span,
.sales-summary article span,
.users-summary article span {

    color: var(--text-soft);

    font-size: 12px;

}


.income-grid article strong,
.sales-summary article strong,
.users-summary article strong {

    color: var(--neon-green);

    font-size: 25px;

}


/* =========================================================
   ANALÍTICA — GRÁFICAS
   ========================================================= */

.chart-container,
.best-products-chart {

    width: 100%;

    min-height: 300px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        linear-gradient(
            180deg,
            rgba(0,168,255,.03),
            transparent
        );

    border: 1px solid #25252C;

    border-radius: 12px;

}


.line-chart {

    width: 100%;

    min-height: 280px;

    position: relative;

}


.chart-empty {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 12px;

    color: #666670;

}


.chart-empty i {

    color: var(--neon-blue);

    font-size: 40px;

}


/* =========================================================
   PERMISOS / PANELES
   ========================================================= */

.permissions-grid,
.panels-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;

}


.panels-grid {

    grid-template-columns:
        repeat(2, 1fr);

}


.permissions-grid article,
.panel-access-card {

    padding: 25px;

    background: #111116;

    border: 1px solid #292930;

    border-radius: 15px;

}


.permissions-grid article i,
.panel-access-card i {

    color: var(--neon-blue);

    font-size: 30px;

}


.permissions-grid article h3,
.panel-access-card h2 {

    color: #FFFFFF;

}


.permissions-grid article p,
.panel-access-card p {

    color: var(--text-soft);

    font-size: 12px;

    line-height: 1.5;

}


.panel-access-card button {

    width: 100%;

    margin-top: 12px;

    border: 1px solid var(--neon-blue);

    background: rgba(0,168,255,.08);

    color: var(--neon-blue);

}


.panel-access-card button:hover {

    background: var(--neon-blue);

    color: #050505;

    box-shadow:
        0 0 18px rgba(0,168,255,.3);

}


/* =========================================================
   CONFIGURACIÓN
   ========================================================= */

.settings-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 16px;

}


.settings-card {

    min-height: 120px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 12px;

    border: 1px solid #292930;

    border-radius: 15px;

    background: #111116;

    color: #FFFFFF;

    cursor: pointer;

    transition: .25s ease;

}


.settings-card i {

    color: var(--neon-purple);

    font-size: 28px;

}


.settings-card:hover {

    border-color: var(--neon-purple);

    box-shadow:
        0 0 20px rgba(168,85,247,.15);

    transform: translateY(-3px);

}


/* =========================================================
   ESTADOS VACÍOS
   ========================================================= */

.empty-state {

    min-height: 220px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

}


.empty-state i {

    margin-bottom: 12px;

    color: var(--neon-blue);

    font-size: 42px;

}


.empty-state h3 {

    margin: 0 0 7px;

    color: #FFFFFF;

}


.empty-state p {

    max-width: 450px;

    margin: 0;

    color: #707078;

    font-size: 12px;

}


/* =========================================================
   ANIMACIÓN NEÓN GENERAL
   ========================================================= */

.dashboard-card,
.management-panel,
.marketing-card,
.material-card,
.availability-card,
.settings-card,
.panel-access-card {

    box-shadow:
        0 0 0 rgba(0,0,0,0);

}


.dashboard-card:hover,
.management-panel:hover {

    box-shadow:
        0 0 25px rgba(0,0,0,.35);

}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media screen and (max-width: 1200px) {

    .dashboard-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .marketing-grid {

        grid-template-columns:
            repeat(3, 1fr);

    }


    .materials-grid,
    .availability-grid,
    .income-grid,
    .sales-summary,
    .users-summary {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .settings-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


@media screen and (max-width: 800px) {

    .ceo-page {

        padding: 20px;

    }


    .ceo-header,
    .screen-header {

        align-items: flex-start;

        flex-direction: column;

    }


    .dashboard-grid,
    .marketing-grid,
    .form-grid,
    .permissions-grid,
    .panels-grid {

        grid-template-columns: 1fr;

    }


    .materials-grid,
    .availability-grid,
    .income-grid,
    .sales-summary,
    .users-summary,
    .settings-grid {

        grid-template-columns: 1fr;

    }


    .ceo-heading h1,
    .screen-header h1 {

        font-size: 28px;

    }

}


@media screen and (max-width: 500px) {

    .ceo-page {

        padding: 15px;

    }


    .management-panel {

        padding: 18px;

    }


    .dashboard-grid {

        grid-template-columns: 1fr;

    }


    .material-actions {

        flex-direction: column;

    }


    .primary-action,
    .secondary-action {

        width: 100%;

    }

}
/* =========================================================
   KRAFEX — TOPBAR + SIDEBAR NEON
   PANEL CEO
   ========================================================= */

:root {
    --neon-red: #ff1744;
    --neon-blue: #2979ff;
    --neon-green: #00e676;
    --neon-purple: #d500f9;

    --neon-black: #050507;
    --neon-dark: #09090d;
    --neon-panel: #0d0d13;

    --neon-white: #f5f5f5;
    --neon-gray: #9b9ba5;
}


/* =========================================================
   TOPBAR
   ========================================================= */

.topbar {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 70px;

    display: flex;
    align-items: center;

    padding: 0 22px;

    background:
        linear-gradient(
            90deg,
            rgba(255, 23, 68, .08),
            rgba(41, 121, 255, .06),
            rgba(0, 230, 118, .06),
            rgba(213, 0, 249, .08)
        ),
        var(--neon-black);

    border-bottom: 1px solid rgba(41, 121, 255, .35);

    box-shadow:
        0 0 8px rgba(41, 121, 255, .20),
        0 0 20px rgba(213, 0, 249, .10);

    z-index: 1000;
}


/* línea neón inferior */

.topbar::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: -1px;

    width: 100%;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            var(--neon-red),
            var(--neon-blue),
            var(--neon-green),
            var(--neon-purple)
        );

    box-shadow:
        0 0 5px var(--neon-blue),
        0 0 10px var(--neon-purple);

}


/* =========================================================
   LOGO
   ========================================================= */

.topbar-logo {

    display: flex;
    align-items: center;

    transition: .25s ease;
}


.topbar-logo img {

    width: 42px;
    height: 42px;

    object-fit: cover;

    border-radius: 10px;

    border: 1px solid rgba(41, 121, 255, .5);

    box-shadow:
        0 0 8px rgba(41, 121, 255, .35);

    transition: .25s ease;
}


.topbar-logo:hover img {

    border-color: var(--neon-purple);

    box-shadow:
        0 0 8px var(--neon-purple),
        0 0 18px rgba(213, 0, 249, .45);

    transform: scale(1.04);
}


/* =========================================================
   TITULO
   ========================================================= */

.topbar-title {

    margin-left: 18px;

    color: var(--neon-white);

    font-weight: 700;

    letter-spacing: .8px;

    text-shadow:
        0 0 5px rgba(255,255,255,.2);
}


.topbar-title span {

    background:
        linear-gradient(
            90deg,
            var(--neon-red),
            var(--neon-blue),
            var(--neon-green),
            var(--neon-purple)
        );

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}


/* =========================================================
   ACCIONES TOPBAR
   ========================================================= */

.topbar-actions {

    margin-left: auto;

    display: flex;
    align-items: center;

    gap: 10px;
}


.topbar-item {

    position: relative;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--neon-gray);

    text-decoration: none;

    border-radius: 10px;

    transition:
        color .25s ease,
        background .25s ease,
        box-shadow .25s ease,
        transform .25s ease;
}


.topbar-item:hover {

    color: var(--neon-blue);

    background: rgba(41,121,255,.08);

    box-shadow:
        0 0 8px rgba(41,121,255,.35),
        inset 0 0 8px rgba(41,121,255,.08);

    transform: translateY(-1px);
}


.topbar-item:nth-child(1):hover {

    color: var(--neon-red);

    box-shadow:
        0 0 8px rgba(255,23,68,.4);
}


.topbar-item:nth-child(2):hover {

    color: var(--neon-green);

    box-shadow:
        0 0 8px rgba(0,230,118,.4);
}


.topbar-item:nth-child(3):hover {

    color: var(--neon-purple);

    box-shadow:
        0 0 8px rgba(213,0,249,.4);
}


/* =========================================================
   CONTADORES
   ========================================================= */

.notification-counter,
.cart-counter {

    position: absolute;

    top: 3px;
    right: 2px;

    min-width: 16px;
    height: 16px;

    padding: 0 4px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 20px;

    font-size: 9px;
    font-weight: 700;

    color: white;

    background: var(--neon-red);

    box-shadow:
        0 0 6px rgba(255,23,68,.8);
}


/* =========================================================
   SIDEBAR
   ========================================================= */

.sidebar {

    position: fixed;

    top: 70px;
    left: 0;

    width: 60px;

    height: calc(100vh - 70px);

    background:
        linear-gradient(
            180deg,
            rgba(41,121,255,.04),
            rgba(213,0,249,.04)
        ),
        var(--neon-black);

    border-right: 1px solid rgba(41,121,255,.35);

    box-shadow:
        4px 0 15px rgba(41,121,255,.08),
        0 0 20px rgba(213,0,249,.05);

    z-index: 999;

    transition:
        width .3s ease,
        box-shadow .3s ease;
}


/* sidebar expandido */

.sidebar.open {

    width: 170px;

    box-shadow:
        4px 0 20px rgba(41,121,255,.15),
        0 0 30px rgba(213,0,249,.08);
}


/* =========================================================
   BOTÓN EXPANDIR
   ========================================================= */

.expander {

    width: 100%;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-bottom: 1px solid rgba(255,255,255,.05);
}


.expander #btn {

    color: var(--neon-blue);

    cursor: pointer;

    transition:
        color .25s ease,
        text-shadow .25s ease,
        transform .25s ease;
}


.expander #btn:hover {

    color: var(--neon-green);

    text-shadow:
        0 0 5px var(--neon-green),
        0 0 12px rgba(0,230,118,.7);

    transform: scale(1.08);
}


/* =========================================================
   ELEMENTOS DEL SIDEBAR
   ========================================================= */

.sidebar > li {

    position: relative;

    list-style: none;

    margin: 4px 6px;
}


.sidebar > li > a {

    position: relative;

    min-height: 46px;

    display: flex;
    align-items: center;

    color: var(--neon-gray);

    text-decoration: none;

    border-radius: 9px;

    transition:
        color .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}


.sidebar > li > a:hover {

    color: var(--neon-white);

    background:
        linear-gradient(
            90deg,
            rgba(41,121,255,.12),
            rgba(213,0,249,.08)
        );

    box-shadow:
        inset 3px 0 0 var(--neon-blue),
        0 0 8px rgba(41,121,255,.15);
}


/* =========================================================
   ICONOS
   ========================================================= */

.sidebar > li > a > i {

    min-width: 48px;

    display: flex;
    justify-content: center;

    font-size: 21px;

    transition:
        color .25s ease,
        text-shadow .25s ease;
}


/* colores por función */

.sidebar > li:nth-of-type(2) > a > i {

    color: var(--neon-blue);

    text-shadow:
        0 0 5px rgba(41,121,255,.6);
}


.sidebar > li:nth-of-type(3) > a > i {

    color: var(--neon-green);

    text-shadow:
        0 0 5px rgba(0,230,118,.6);
}


.sidebar > li:nth-of-type(4) > a > i {

    color: var(--neon-red);

    text-shadow:
        0 0 5px rgba(255,23,68,.6);
}


.sidebar > li:nth-of-type(5) > a > i {

    color: var(--neon-purple);

    text-shadow:
        0 0 5px rgba(213,0,249,.6);
}


.sidebar > li:nth-of-type(6) > a > i {

    color: var(--neon-blue);
}


.sidebar > li:nth-of-type(7) > a > i {

    color: var(--neon-green);
}


.sidebar > li:nth-of-type(8) > a > i {

    color: var(--neon-purple);
}


.sidebar > li:nth-of-type(9) > a > i {

    color: var(--neon-red);
}


/* =========================================================
   TEXTO
   ========================================================= */

.sidebar .descriptor {

    white-space: nowrap;

    opacity: 0;

    transition:
        opacity .2s ease;

    font-size: 13px;

    letter-spacing: .3px;
}


.sidebar.open .descriptor {

    opacity: 1;
}


/* =========================================================
   SUBMENÚ
   ========================================================= */

.sidebar .submenu {

    display: none;

    margin: 2px 0 6px 0;
    padding: 4px 0;

    list-style: none;

    background:
        linear-gradient(
            90deg,
            rgba(41,121,255,.06),
            rgba(213,0,249,.05)
        );

    border-left: 1px solid rgba(41,121,255,.25);

    border-radius: 0 8px 8px 0;
}


.sidebar .has-submenu.active .submenu {

    display: block;
}


.sidebar .submenu li {

    list-style: none;
}


.sidebar .submenu li a {

    min-height: 40px;

    display: flex;
    align-items: center;

    gap: 8px;

    padding: 0 8px;

    color: #888891;

    text-decoration: none;

    border-radius: 7px;

    font-size: 12px;

    transition:
        color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}


.sidebar .submenu li a:hover {

    color: var(--neon-white);

    background: rgba(41,121,255,.08);

    box-shadow:
        inset 2px 0 0 var(--neon-blue),
        0 0 7px rgba(41,121,255,.12);
}


.sidebar .submenu li a i {

    font-size: 18px;

    color: var(--neon-purple);

    text-shadow:
        0 0 5px rgba(213,0,249,.45);
}


/* =========================================================
   ELEMENTO ACTIVO
   ========================================================= */

.sidebar a.active {

    color: white !important;

    background:
        linear-gradient(
            90deg,
            rgba(255,23,68,.10),
            rgba(41,121,255,.10),
            rgba(0,230,118,.08),
            rgba(213,0,249,.10)
        );

    box-shadow:
        inset 3px 0 0 var(--neon-purple),
        0 0 10px rgba(213,0,249,.12);
}


/* =========================================================
   TOOLTIP
   ========================================================= */

.sidebar .tooltip {

    position: absolute;

    left: 67px;
    top: 50%;

    transform:
        translateY(-50%)
        translateX(-5px);

    padding: 6px 9px;

    background: #09090d;

    color: var(--neon-white);

    border: 1px solid rgba(41,121,255,.4);

    border-radius: 6px;

    font-size: 11px;

    white-space: nowrap;

    opacity: 0;

    pointer-events: none;

    box-shadow:
        0 0 8px rgba(41,121,255,.2);

    transition:
        opacity .2s ease,
        transform .2s ease;
}


.sidebar:not(.open) > li:hover .tooltip {

    opacity: 1;

    transform:
        translateY(-50%)
        translateX(0);
}


/* =========================================================
   SCROLLBAR DEL SIDEBAR
   ========================================================= */

.sidebar::-webkit-scrollbar {

    width: 3px;
}


.sidebar::-webkit-scrollbar-track {

    background: transparent;
}


.sidebar::-webkit-scrollbar-thumb {

    background:
        linear-gradient(
            var(--neon-blue),
            var(--neon-purple)
        );

    border-radius: 10px;

    box-shadow:
        0 0 5px var(--neon-blue);
}


/* =========================================================
   AJUSTE DEL CONTENIDO DEL CEO
   ========================================================= */

.ceo-page {

    margin-left: 60px;
    padding-top: 70px;

    transition:
        margin-left .3s ease;
}


.sidebar.open ~ .ceo-page {

    margin-left: 170px;
}