body {
    margin: 0;
    font-size: 13px;
    background: #f5f7fb;
    color: #191817;
}

:root{
    --adl-blue:#000f9f;
    --adl-blue-2:#3639a4;
    --adl-blue-3:#737bca;
    --adl-ice:#dce3eb;
    --adl-mint:#95e1bf;
    --adl-black:#191817;
    --adl-bg:#f5f7fb;
}

/* SIDEBAR */
.ap-sidebar {
    position: fixed;
    width: 230px;
    height: 100vh;
    background: linear-gradient(180deg, #000f9f 0%, #111b64 58%, #191817 100%);
    color: #fff;
    overflow-y: auto;
}

.ap-logo {
    padding: 18px 15px;
    background: #000f9f;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 82px;
    overflow: hidden;
}

.ap-logo-image {
    display: block;
    width: 3cm !important;
    max-width: 3cm !important;
    max-height: 1.2cm !important;
    height: auto !important;
    object-fit: contain;
    flex: 0 0 auto;
}

.ap-sidebar-user {
    padding: 12px 18px 18px;
    font-size: 11px;
    color: #e2e8f0;
}

.ap-sidebar-user-name {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.ap-sidebar-user-meta {
    font-size: 10px;
    line-height: 1.5;
    color: #cbd5e1;
}

.ap-sidebar a {
    display: block;
    padding: 10px 15px;
    color: #cfd8dc;
    text-decoration: none;
    cursor: pointer;
    user-select: none;
}

.ap-sidebar a:hover {
    background: rgba(149,225,191,.18);
    color: white;
}

/* SUBMENU (CONTROL CENTRALIZADO) */
.ap-submenu {
    display: none;
    padding-left: 10px;
    background: rgba(255,255,255,0.03);
    border-left: 2px solid rgba(255,255,255,0.08);
}

.ap-submenu.show {
    display: block;
}

/* ITEMS */
.ap-submenu a {
    font-size: 12px;
    padding: 8px 15px 8px 30px;
    color: #b0bec5;
}

.ap-submenu a:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.ap-submenu-nested {
    margin-left: 12px;
    padding-left: 6px;
    background: rgba(0,0,0,0.08);
}

.ap-submenu a.ap-submenu-title {
    font-weight: 700;
    color: #e5edf5;
    padding-left: 24px;
}

.ap-submenu a.ap-submenu-title::after {
    content: "›";
    float: right;
    opacity: .7;
}

/* ACTIVO */
.ap-sidebar a.active {
    background: rgba(149,225,191,.24);
    border-left: 3px solid #95e1bf;
    color: #fff;
}

/* TOPBAR */
.ap-topbar {
    position: fixed;
    left: 230px;
    right: 0;
    height: 50px;
    background: white;
    border-bottom: 1px solid #dce3eb;
    display: flex;
    align-items: center;
    padding: 0 15px;
}

/* CONTENT */
.ap-content {
    margin-left: 230px;
    padding: 20px;
    background: #f5f7fb;
    min-height: 100vh;
}

/* COLLAPSE */
.ap-sidebar.collapsed { width: 70px; }
.ap-topbar.expanded { margin-left: 70px; left: 70px; }
.ap-content.expanded { margin-left: 70px; }
