/* Dropdown Menu Styles */
.lx-dropdown {
    position: relative;
    display: inline-block;
}

.lx-dropdown-menu {
    display: none;
    position: absolute;
    
    /* Default Positioning (Overridden by JS Fixed Logic) */
    top: 0;
    left: 100%;
    
    margin-top: 0;
    margin-left: 8px;
    
    z-index: 3000;
    min-width: 180px;
    padding: 8px 0;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    
    transform-origin: top left;
    animation: dropdown-scale-in 0.15s ease-out;
}

.lx-dropdown-menu.show {
    display: block;
}

@keyframes dropdown-scale-in {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.lx-dropdown-item {
    display: block;
    width: 100%;
    padding: 10px 16px;
    font-size: 14px;
    color: #475569;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.1s, color 0.1s;
    white-space: nowrap; /* Prevent wrapping */
}

.lx-dropdown-item:hover {
    background-color: #f1f5f9;
    color: #1e293b;
}

.lx-dropdown-divider {
    height: 1px;
    margin: 6px 0;
    background-color: #f1f5f9;
}

/* Icon spacing in menu */
.lx-dropdown-item i {
    margin-right: 10px;
    color: #94a3b8;
    width: 16px;
    text-align: center;
}
.lx-dropdown-item:hover i {
    color: #6366f1; /* Primary hover color */
}
