 /* Floating Action Button */
    .floating-action-button {
        position: fixed;
        bottom: 30px;
        right: 30px;
        width: 56px;
        height: 56px;
        background-color: #612695;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: 0 4px 12px rgba(97, 38, 149, 0.3);
        z-index: 1050;
        transition: all 0.3s ease;
        color: white;
        font-size: 20px;
    }

    .floating-action-button:hover {
        background-color: #4a1d73;
        transform: scale(1.1);
        box-shadow: 0 6px 16px rgba(97, 38, 149, 0.4);
    }

    .floating-action-button.active {
        background-color: #4a1d73;
    }

    /* Dark Mode */
    [data-layout-mode=dark] .floating-action-button {
        background-color: #612695;
        box-shadow: 0 4px 12px rgba(97, 38, 149, 0.4);
    }

    [data-layout-mode=dark] .floating-action-button:hover {
        background-color: #4a1d73;
        box-shadow: 0 6px 16px rgba(97, 38, 149, 0.5);
    }

    [data-layout-mode=dark] .quick-actions-menu {
        background: var(--bs-card-bg);
        border: 1px solid var(--bs-border-color);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }

    [data-layout-mode=dark] .quick-actions-header {
        background-color: var(--bs-table-head-bg);
        border-bottom: 1px solid var(--bs-border-color);
    }

    [data-layout-mode=dark] .quick-actions-header h6 {
        color: var(--bs-body-color);
    }

    [data-layout-mode=dark] .btn-close-quick {
        color: var(--bs-body-color);
    }

    [data-layout-mode=dark] .btn-close-quick:hover {
        background-color: var(--bs-table-head-bg);
    }

    [data-layout-mode=dark] .quick-action-item {
        color: var(--bs-body-color);
    }

    [data-layout-mode=dark] .quick-action-item:hover {
        background-color: var(--bs-table-head-bg);
        color: #ffffff;
    }

    /* Quick Actions Menu */
    .quick-actions-menu {
        position: fixed;
        bottom: 100px;
        right: 30px;
        width: 280px;
        background: white;
        border-radius: 12px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        z-index: 1051;
        transform: translateY(20px) scale(0.9);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        max-height: 70vh;
        overflow: hidden;
    }

    .quick-actions-menu.show {
        transform: translateY(0) scale(1);
        opacity: 1;
        visibility: visible;
    }

    .quick-actions-header {
        padding: 16px 20px;
        border-bottom: 1px solid #e9ecef;
        display: flex;
        justify-content: between;
        align-items: center;
        background-color: #f8f9fa;
        border-radius: 12px 12px 0 0;
    }

    .quick-actions-header h6 {
        color: #495057;
        font-weight: 600;
        flex: 1;
    }

    .btn-close-quick {
        background: none;
        border: none;
        color: #6c757d;
        font-size: 16px;
        padding: 0;
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        border-radius: 4px;
        transition: all 0.2s ease;
    }

    .btn-close-quick:hover {
        background-color: #e9ecef;
        color: #495057;
    }

    .quick-actions-body {
        padding: 8px 0;
        max-height: calc(70vh - 60px);
        overflow-y: auto;
    }

    .quick-action-item {
        display: flex;
        align-items: center;
        padding: 12px 20px;
        color: #495057;
        text-decoration: none;
        transition: all 0.2s ease;
        border: none;
        background: none;
        width: 100%;
        text-align: left;
    }

    .quick-action-item:hover {
        background-color: #f8f9fa;
        color: #612695;
        text-decoration: none;
    }

    .quick-action-item i {
        width: 20px;
        height: 20px;
        margin-right: 12px;
        font-size: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .quick-action-item span {
        font-size: 14px;
        font-weight: 500;
    }

    /* Submenu Styles */
    .submenu-toggle {
        position: relative;
        cursor: pointer;
    }

    .submenu-arrow {
        margin-left: auto !important;
        margin-right: 0 !important;
        width: auto !important;
        transition: transform 0.3s ease;
    }

    .submenu-toggle.active .submenu-arrow {
        transform: rotate(90deg);
    }

    .submenu-items {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background-color: rgba(248, 249, 250, 0.5);
    }

    .submenu-items.show {
        max-height: 300px;
    }

    .submenu-item {
        padding-left: 32px !important;
        font-size: 13px;
        border-left: 2px solid transparent;
    }

    .submenu-item:hover {
        border-left-color: #612695;
        background-color: rgba(97, 38, 149, 0.05);
    }

    .submenu-item.disabled {
        opacity: 0.6;
        cursor: not-allowed;
        pointer-events: none;
    }

    /* Dark Mode Submenu */
    [data-layout-mode=dark] .submenu-items {
        background-color: rgba(var(--bs-table-head-bg), 0.5);
    }

    [data-layout-mode=dark] .submenu-item:hover {
        background-color: rgba(97, 38, 149, 0.1);
        border-left-color: #612695;
    }

    [data-layout-mode=dark] .submenu-item.disabled {
        opacity: 0.5;
    }

    /* Overlay */
    .quick-actions-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.3);
        z-index: 1049;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .quick-actions-overlay.show {
        opacity: 1;
        visibility: visible;
    }

    /* Responsive */
    @media (max-width: 768px) {
        .floating-action-button {
            bottom: 20px;
            right: 20px;
            width: 50px;
            height: 50px;
            font-size: 18px;
        }

        .quick-actions-menu {
            bottom: 80px;
            right: 20px;
            left: 20px;
            width: auto;
        }
    }

    /* Animazione icona */
    .floating-action-button i {
        transition: all 0.3s ease;
    }