/* Phoenix P3.7.3 — DarlinkSidebar */

.darlink-shell{
    display:flex;
    height:calc(100vh - 64px);
    overflow:hidden;
}

.darlink-sidebar{
    width:235px;
    min-width:235px;
    max-width:235px;
    height:100%;
    overflow-y:auto;
    overflow-x:hidden;
    background:linear-gradient(180deg, var(--darlink-primary) 0%, #0b3b66 100%);
    padding:14px 12px;
    position:sticky;
    top:0;
    transition:width .2s ease, min-width .2s ease, max-width .2s ease, padding .2s ease, opacity .15s ease;
}

.darlink-main{
    flex:1;
    height:100%;
    overflow-y:auto;
    overflow-x:auto;
    padding:24px;
}

.darlink-sidebar-toggle{
    width:38px;
    height:38px;
    flex:0 0 38px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(255,255,255,.28);
    border-radius:9px;
    background:rgba(255,255,255,.1);
    color:#fff;
    font-size:20px;
    line-height:1;
    transition:background-color .18s ease, border-color .18s ease;
}

.darlink-sidebar-toggle:hover,
.darlink-sidebar-toggle:focus-visible{
    background:rgba(255,255,255,.2);
    border-color:rgba(255,255,255,.55);
    color:#fff;
    outline:none;
}

html.darlink-sidebar-hidden .darlink-sidebar{
    width:0;
    min-width:0;
    max-width:0;
    padding-left:0;
    padding-right:0;
    opacity:0;
    pointer-events:none;
}

.darlink-nav{
    display:flex;
    flex-direction:column;
    gap:4px;
}

.darlink-nav-section{
    width:100%;
    border:0;
    background:rgba(255,255,255,.12);
    color:rgba(255,255,255,.94);
    border-radius:9px;
    padding:7px 9px;
    margin-top:5px;
    font-size:11px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.055em;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.darlink-nav-section span{
    display:flex;
    align-items:center;
    gap:8px;
}

.darlink-nav-section i{
    font-size:14px;
}

.darlink-menu-link{
    color:rgba(255,255,255,.86) !important;
    text-decoration:none;
    min-height:34px;
    padding:7px 10px;
    border-radius:9px;
    margin:2px 0;
    display:flex;
    align-items:center;
    gap:9px;
    font-size:13px;
    line-height:1.1;
    transition:all .18s ease;
    border-left:3px solid transparent;
}

.darlink-menu-link i{
    width:20px;
    min-width:20px;
    text-align:center;
    font-size:18px;
    color:#fff;
}

.darlink-menu-link span{
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.darlink-menu-link:hover{
    color:#fff !important;
    background:rgba(255,255,255,.14);
    transform:translateX(2px);
}

.darlink-menu-link.active{
    color:#fff !important;
    background:linear-gradient(135deg, #2f7fe4 0%, #2368cb 100%);
    border-left-color:#fff;
    font-weight:700;
    box-shadow:0 10px 22px rgba(0,0,0,.18);
}

.darlink-sidebar::-webkit-scrollbar{
    width:6px;
}

.darlink-sidebar::-webkit-scrollbar-thumb{
    background:rgba(255,255,255,.35);
    border-radius:10px;
}

html,
body{
    height:100%;
    overflow:hidden;
}

@media (max-width:768px){
    .darlink-shell{
        flex-direction:column;
    }

    .darlink-sidebar{
        width:100%;
        min-width:100%;
        max-width:100%;
        height:auto;
        max-height:none;
    }

    html.darlink-sidebar-hidden .darlink-sidebar{
        width:100%;
        min-width:100%;
        max-width:100%;
        height:0;
        min-height:0;
        padding-top:0;
        padding-bottom:0;
    }
}
