/*******************************
 * WRAPPER — FIXED POSITION
 *******************************/
.frm-floating-menu-wrapper {
    position: fixed;
    right: 0;
    top: 20%;
    z-index: 9999;
}

/*******************************
 * INNER — FUNDAL ALB + FĂRĂ TĂIERE
 *******************************/
.frm-floating-menu-inner {
    background: #ffffff !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    border-radius: 12px 0 0 12px;
    overflow-x: hidden;
    overflow-y: visible;
    transition: width 0.25s ease;
    display: flex;
    flex-direction: column;
}

/*******************************
 * TOGGLE — APARE CA UN ITEM NORMAL
 *******************************/
.frm-floating-menu-toggle {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    cursor: pointer;
    background: transparent !important;
    border: none;
}

.frm-floating-menu-toggle-icon {
    width: var(--frm-icon-size);
    height: var(--frm-icon-size);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0 !important;
    margin-right: 8px;
    font-size: calc(var(--frm-icon-size) * 0.8);
}

.frm-floating-menu-toggle-label {
    font-size: 14px;
    white-space: nowrap;
    color: #000 !important;
}

/* când e colapsat → ascundem labelul */
.frm-floating-menu-inner.frm-collapsed .frm-floating-menu-toggle-label {
    display: none;
}

/*******************************
 * LISTA
 *******************************/
.frm-floating-menu-list {
    list-style: none;
    margin: 0;
    padding: 8px 4px;
}

/*******************************
 * ITEM
 *******************************/
.frm-floating-menu-item {
    margin: 4px 0;
}

/*******************************
 * BUTON ITEM
 *******************************/
.frm-floating-menu-button {
    display: flex;
    align-items: center;
    width: 100%;
    border: none;
    background: transparent !important;
    padding: 8px 10px;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease;
}

.frm-floating-menu-button:hover {
    background: rgba(0,0,0,0.04);
}

/*******************************
 * ICONIȚE — FIX DIMENSIUNEA
 *******************************/
.frm-floating-menu-icon {
    width: var(--frm-icon-size) !important;
    height: var(--frm-icon-size) !important;
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0 !important;
    background: #f5f5f5;
    border-radius: 999px;
    overflow: hidden;
}

.frm-floating-menu-icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/*******************************
 * LABEL
 *******************************/
.frm-floating-menu-label {
    font-size: 14px;
    white-space: nowrap;
    color: #000 !important;
}

/*******************************
 * MOBIL
 *******************************/
.frm-mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .frm-mobile-only {
        display: block;
    }
}
