﻿/* ========== Drawer (look “Salesforce-like”) ========== */

/* Container drawer tweaks (no left gradient, radius left only) */
.drawer {
    border: 0;
    overflow: hidden;
    /* ✅ radius gauche seulement */
    /* tu peux garder ton background clair */
    background: rgba(245,246,247,1);
    color: rgba(0,0,0,.78);
    box-shadow: 0 24px 70px rgba(0,0,0,.45);
}

    /* ⚠️ on annule l’ancienne barre gradient si elle existe dans global */
    .drawer::before {
        content: none !important;
    }

/* Header */
.gpDrawerHead {
    padding: 14px 14px 10px 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-bottom: 1px solid rgba(0,0,0,.08);
}

/* User row */
.gpUser {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
}

.gpAvatar {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(0,0,0,.08);
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.gpAvatarIco {
    width: 18px;
    height: 18px;
    opacity: .7;
}

.gpUserMeta {
    min-width: 0;
}

.gpUserName {
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gpUserSub {
    font-size: 12px;
    opacity: .65;
    margin-top: 2px;
}

/* Close button */
.gpClose {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    border: 0;
    background: rgba(0,0,0,.05);
    color: rgba(0,0,0,.65);
    flex: 0 0 auto;
}

/* Nav */
.gpNav {
    padding: 10px 12px 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Items: no icons, clean */
.gpNavItem {
    text-decoration: none;
    color: rgba(0,0,0,.82);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 12px;
    border-radius: 12px;
    background: transparent;
    font-weight: 700;
}

    /* Active like a soft pill */
    .gpNavItem.active {
        background: rgba(0,0,0,.06);
    }

/* Tag lock (small) */
.gpTag {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    border: 1px solid rgba(0,0,0,.10);
    background: rgba(0,0,0,.05);
    color: rgba(0,0,0,.72);
}

.gpTagLock {
    background: rgba(255,211,110,.40);
    border-color: rgba(255,211,110,.65);
    color: rgba(120,70,0,.95);
}

/* Footer */
.gpDrawerFoot {
    margin-top: auto;
    padding: 12px 12px 14px 12px;
    border-top: 1px solid rgba(0,0,0,.08);
}

/* Keep bold unlock */
.gpBtnUnlock {
    width: 100%;
    padding: 12px 12px;
    border-radius: 14px;
    border: 0;
    background: rgba(0,0,0,.90);
    color: rgba(255,255,255,.95);
    font-weight: 900;
}
