/* ============================================
   NSL CHAT WIDGET — Dropdown & Chat Items
   ============================================ */

/* --- Dropdown Container Alignment --- */
#nsl-chat-widget.nsl-chat-widget--right {
    right: 24px;
    align-items: flex-end;
}

#nsl-chat-widget.nsl-chat-widget--left {
    left: 24px;
    align-items: flex-start;
}

@media (max-width: 480px) {
    #nsl-chat-widget.nsl-chat-widget--right {
        right: 16px;
    }

    #nsl-chat-widget.nsl-chat-widget--left {
        left: 16px;
    }
}

/* --- Dropdown Menu --- */
#nsl-chat-dropdown {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity .2s, transform .2s;
}

#nsl-chat-dropdown.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

#nsl-chat-widget.nsl-chat-widget--left #nsl-chat-dropdown {
    align-items: flex-start;
}

/* --- Chat Item --- */
.nsl-chat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,.15);
    cursor: pointer;
    transition: transform .15s, box-shadow .15s;
    white-space: nowrap;
}

.nsl-chat-item:hover {
    transform: translateX(-4px);
    box-shadow: 0 4px 20px rgba(0,0,0,.2);
}

.nsl-chat-widget--left .nsl-chat-item:hover {
    transform: translateX(4px);
}

.nsl-chat-item svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.nsl-chat-item span {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}
