/* UserMenu */
.user-menu {
    position: relative;
    z-index: 9999;
}

.user-btn {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.user-btn:hover {
    background: rgba(0, 0, 0, 0.5);
}

.user-dropdown {
    position: absolute;
    top: 40px;
    right: 0;
    min-width: 240px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(20, 20, 20, 0.96);
    color: #fff;
    padding: 10px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    display: none;
}

.user-dropdown.open {
    display: block;
}

.user-email {
    font-size: 13px;
    opacity: 0.9;
    padding: 8px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-item {
    width: 100%;
    display: block;
    text-align: left;
    padding: 10px;
    border-radius: 10px;
    color: #fff;
    background: transparent;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    font-size: 14px;
}

.user-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.user-item.danger {
    color: #ffb3b3;
}


/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    /* slate-300 */
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
    /* slate-400 */
}