
.drawer-nav{
    position:fixed;
    top:0;
    right:0;
    width:320px;
    max-width:90vw;
    height:100vh;
    background:
        radial-gradient(circle at top right, rgba(56,189,248,.10), transparent 28%),
        linear-gradient(180deg, rgba(15,23,42,.98), rgba(30,41,59,.98));
    color:#e5eef8;
    padding:18px 16px 22px;
    border-left:1px solid rgba(255,255,255,.08);
    box-shadow:-16px 0 40px rgba(2,6,23,.45);
    z-index:10000;
    overflow-y:auto;
    display:none;
    backdrop-filter:blur(10px);
}

.drawer-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    margin-bottom:14px;
}

.drawer-title{
    font-size:.92rem;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.12em;
    color:#7dd3fc;
    margin:0;
}

.drawer-subtitle{
    margin-top:4px;
    font-size:.78rem;
    color:#94a3b8;
    font-weight:600;
}

.drawer-close{
    width:38px;
    height:38px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.06);
    color:#cbd5e1;
    cursor:pointer;
    transition:all .22s ease;
}

.drawer-close:hover{
    background:rgba(255,255,255,.10);
    color:#fff;
    transform:rotate(90deg);
}

.drawer-profile-card{
    display:flex;
    align-items:center;
    gap:12px;
    padding:14px;
    margin-bottom:12px;
    border-radius:18px;
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.06);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
}

.drawer-avatar-link{
    display:block;
    flex-shrink:0;
}

.drawer-avatar{
    width:56px;
    height:56px;
    object-fit:cover;
    border-radius:16px;
    border:2px solid rgba(255,255,255,.08);
    box-shadow:0 10px 22px rgba(0,0,0,.24);
}

.drawer-user-meta{
    min-width:0;
}

.drawer-username{
    display:block;
    color:#fff;
    text-decoration:none;
    font-size:1rem;
    font-weight:800;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.drawer-username:hover{
    color:#7dd3fc;
}

.drawer-role-row{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    margin-top:6px;
}

.drawer-chip{
    display:inline-flex;
    align-items:center;
    padding:4px 8px;
    border-radius:999px;
    font-size:10px;
    font-weight:800;
    letter-spacing:.08em;
    color:#fff;
}

.chip-admin{
    background:linear-gradient(90deg,#ef4444,#f97316);
}

.chip-creator{
    background:linear-gradient(90deg,#2563eb,#06b6d4);
}

.chip-dj{
    background:linear-gradient(90deg,#8b5cf6,#ec4899);
}

.drawer-mini-stats{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:10px;
    margin-bottom:12px;
}

.drawer-stat{
    display:block;
    text-decoration:none;
    text-align:center;
    padding:12px 10px;
    border-radius:16px;
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.06);
    transition:all .22s ease;
}

.drawer-stat:hover{
    transform:translateY(-2px);
    background:rgba(255,255,255,.07);
}

.drawer-stat-number{
    display:block;
    color:#fff;
    font-size:1.08rem;
    font-weight:800;
    line-height:1;
}

.drawer-stat-label{
    display:block;
    margin-top:6px;
    color:#94a3b8;
    font-size:.72rem;
    font-weight:700;
}

.drawer-profile-actions{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:10px;
    margin-bottom:14px;
}

.drawer-profile-form{
    margin:0;
}

.drawer-profile-btn{
    width:100%;
    min-height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:10px 12px;
    border-radius:14px;
    border:1px solid rgba(255,255,255,.08);
    background:rgba(255,255,255,.05);
    color:#e2e8f0;
    text-decoration:none;
    font-size:.84rem;
    font-weight:700;
    transition:all .22s ease;
}

.drawer-profile-btn:hover{
    transform:translateY(-2px);
    background:rgba(255,255,255,.08);
    border-color:rgba(255,255,255,.12);
    color:#fff;
}

.drawer-profile-btn-icon{
    width:28px;
    height:28px;
    border-radius:10px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,.08);
    color:#7dd3fc;
    flex-shrink:0;
}

.drawer-profile-btn-danger{
    background:rgba(239,68,68,.08);
    border-color:rgba(239,68,68,.14);
    color:#fecaca;
}

.drawer-profile-btn-danger .drawer-profile-btn-icon{
    background:rgba(239,68,68,.14);
    color:#fca5a5;
}

.drawer-profile-btn-danger:hover{
    background:rgba(239,68,68,.14);
    border-color:rgba(239,68,68,.20);
    color:#fff;
}

.drawer-content{
    margin-top:4px;
}

.drawer-list{
    list-style:none;
    padding:0;
    margin:0;
}

.drawer-section{
    margin-bottom:12px;
}

.drawer-section-label{
    list-style:none;
    margin:14px 0 8px;
    padding:0 6px;
    font-size:.72rem;
    font-weight:800;
    letter-spacing:.12em;
    text-transform:uppercase;
    color:#94a3b8;
}

.drawer-link{
    display:flex;
    align-items:center;
    gap:12px;
    min-height:50px;
    padding:12px;
    margin-bottom:6px;
    text-decoration:none;
    color:#dbe7f3;
    border-radius:16px;
    border:1px solid transparent;
    transition:all .22s ease;
    background:transparent;
}

.drawer-link:hover{
    transform:translateX(4px);
    background:rgba(255,255,255,.045);
    border-color:rgba(255,255,255,.05);
    color:#fff;
}

.drawer-icon{
    width:36px;
    height:36px;
    border-radius:12px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    background:rgba(255,255,255,.06);
    color:#7dd3fc;
}

.drawer-link:hover .drawer-icon{
    background:rgba(125,211,252,.14);
    color:#bae6fd;
}

.drawer-badge{
    margin-left:auto;
    min-width:24px;
    height:24px;
    padding:0 8px;
    border-radius:999px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:.72rem;
    font-weight:800;
    color:#fff;
    background:linear-gradient(90deg,#f43f5e,#ef4444);
    box-shadow:0 8px 18px rgba(239,68,68,.22);
}

.drawer-badge-dj{
    background:linear-gradient(90deg,#ec4899,#8b5cf6);
    box-shadow:0 8px 18px rgba(168,85,247,.22);
}

.drawer-link-dj{
    background:linear-gradient(90deg, rgba(168,85,247,.12), rgba(236,72,153,.12));
    border-color:rgba(236,72,153,.18);
}

.drawer-search{
    padding:0;
    margin:0;
}

.search-box{
    position:relative;
}

.drawer-search input{
    width:100%;
    height:48px;
    border:none;
    outline:none;
    border-radius:16px;
    background:rgba(255,255,255,.05);
    color:#fff;
    padding:0 14px 0 42px;
    border:1px solid rgba(255,255,255,.06);
    transition:all .2s ease;
}

.drawer-search input:focus{
    background:rgba(255,255,255,.08);
    border-color:rgba(56,189,248,.35);
    box-shadow:0 0 0 4px rgba(56,189,248,.08);
}

.drawer-search input::placeholder{
    color:#94a3b8;
}

.search-icon{
    position:absolute;
    top:50%;
    left:14px;
    transform:translateY(-50%);
    color:#94a3b8;
    pointer-events:none;
}

.drawer-submenu-item .submenu-icon{
    margin-left:auto;
    color:#94a3b8;
    font-size:.78rem;
    transition:transform .22s ease;
}

.submenu{
    display:none;
    margin:4px 0 10px 16px;
    padding:10px 0 2px 14px;
    border-left:1px solid rgba(255,255,255,.08);
}

.submenu.show{
    display:block;
}

.submenu li{
    list-style:none;
}

.submenu a{
    display:block;
    padding:9px 12px;
    margin-bottom:4px;
    border-radius:12px;
    color:#9fb2c8;
    text-decoration:none;
    font-size:.86rem;
    font-weight:600;
    transition:all .2s ease;
}

.submenu a:hover{
    color:#fff;
    background:rgba(255,255,255,.045);
}

@media (max-width: 420px){
    .drawer-nav{
        width:100vw;
        max-width:100vw;
        padding:16px 14px 20px;
    }

    .drawer-profile-actions{
        grid-template-columns:1fr;
    }
}