
.account-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

    .account-header img {
        height: 60px;
    }

    .account-header .logo-text {
        font-size: 30px;
    }

.logo-text {
    color: #4B4B4B !important;
}

    .logo-text span {
        color: #373232 !important;
    }

.badge-tipo-azienda {
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 110px;
}


.width-1px {
    width: 1px;
}

.table-formulario-detail {
}

    .table-formulario-detail th {
        width: 1px;
        white-space: nowrap;
    }


.widget-icon img {
    width: 32px;
    height: 32px;
}

.widget-icon.widget-icon-xl {
    width: 64px;
    height: 64px;
}

    .widget-icon.widget-icon-xl img {
        width: 48px;
        height: 48px;
    }


.tooltip-inner {
    max-width: 400px;
    white-space: normal; 
    text-align: left;
}

.bg-hover-secondary {
    position: relative;
    z-index: 0; 
}

    .bg-hover-secondary::before {
        content: "";
        position: absolute;
        inset: 0;
        background-color: var(--bs-secondary);
        opacity: 0; 
        transition: opacity 0.3s ease;
        z-index: -1; 
    }

    .bg-hover-secondary:hover::before {
        opacity: 0.5;
    }

table tr:has(.fa-triangle-exclamation) {
    background-color: lightyellow !important;
}

.sort-handle {
    cursor: grabbing;
}


.select2-wrapper {
    width: 100%;
}
        .select2-container--default .select2-selection--multiple {
            display: block;
            width: 100%;
            font-size: 1rem;
            font-weight: 400;
            line-height: 1.5;
            color: var(--bs-body-color);
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            background-color: var(--bs-body-bg);
            background-clip: padding-box;
            border: var(--bs-border-width) solid var(--bs-border-color) !important;
            border-radius: var(--bs-border-radius);
            transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
        }


.no-chevron.accordion-button::after{
    content: "";
    display: none;
}

.collapse-toggle {
    cursor: pointer;
}

    .collapse-toggle .chevron {
        transition: transform .2s;
    }

    .collapse-toggle[aria-expanded="true"] .chevron {
        transform: rotate(180deg);
    }

.loading-overlay {
    position: fixed;
    inset: 0; 
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.5);
    backdrop-filter: blur(2px);
    z-index: 1100; 
}

.form-check-lg {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding-left: 0;
}

    .form-check-lg.form-check-reverse {
        flex-direction: row-reverse;
    }

    .form-check-lg .form-check-input {
        width: 1.6rem;
        height: 1.6rem;
        float: none;
        margin: 0;
        border: 1px solid var(--bs-gray-600); 
    }

        .form-check-lg .form-check-input:checked {
            background-size: 65% 65%;
        }

/* --- gruppi di sezione ------------------------------------------------- */
.section-group {
    display: flex;
    position: relative;
    margin-block: .5rem;
}

    .section-group > .label {
        writing-mode: vertical-rl; 
        transform: rotate(180deg);
        text-align: center;
        font-weight: 700;
        letter-spacing: .1em;
        padding: 0.75rem 0.25rem;
        color: #fff;
        user-select: none;
    }
.prima > .label {
    background: #0d6efd;
}
.seconda > .label {
    background: #198754;
}
.terza > .label {
    background: #6f42c1;
}
.quarta > .label {
    background: #d63384;
}
.quinta > .label {
    background: #fd7e14;
}

.section-group > .content {
    flex: 1;
    padding-left: 1rem;
}

#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.25);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
}
