:root {
    --hh-red-color: #A9020D;
    --hh-red-light-color: rgb(249, 236, 236);
    --primary: #3c8dbc;
    --text-color: #212529;
    --menu-link-active: #2155cd;
    --sidebar-menu-color: #dff2f9;
    --menu-width: 300px;
    --fw-thin: 100;
    --fw-extralight: 200;
    --fw-light: 300;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-extrabold: 800;
    --fw-black: 900;
    --fs-normal: normal;
    --fs-italic: italic;
    --fs-italic: italic;
}

@keyframes global_loader {
    0% {
        top: 6px;
        height: 51px;
    }

    50%, 100% {
        top: 19px;
        height: 26px;
    }
}

html {
    font-family: "Poppins", serif;
}

body {
    font-family: "Poppins", serif;
    font-style: normal;
    font-size: 14px;
    background: #fff;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-color);
}

.crm_body_bg:has(.global_loader_container.d-flex) {
    overflow: hidden;
}

.global_loader_container {
    background: rgba(249, 236, 236, 0.3);
    z-index: 9999999;
}

.global_loader {
    display: inline-block;
    position: relative;
    height: 60px;
    width: 60px;
}

.global_loader.colord_bg_1 div {
    background-color: var(--hh-red-color) !important;
}

.global_loader div {
    display: inline-block;
    position: absolute;
    left: 6px;
    animation: global_loader 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
    width: 8px;
}

.global_loader div:nth-child(1) {
    left: 6px;
    animation-delay: -0.24s;
}

.global_loader div:nth-child(2) {
    left: 26px;
    animation-delay: -0.12s;
}

.global_loader div:nth-child(3) {
    left: 45px;
    animation-delay: 0s;
}

.red_color {
    color: var(--hh-red-color) !important;
}

.opacity_disabled {
    opacity: 0.5;
}

.hidden {
    display: none !important;
}

.bg-danger {
    background-color: var(--hh-red-color) !important
}

.profile_info i {
    font-variation-settings: 'FILL' 1, 'wght' 200, 'GRAD' -25, 'opsz' 24;
    color: var(--hh-red-color);
}

.profile_info:hover .profile_info_iner {
    top: 23px;
}

.profile_info .profile_info_iner {
    position: absolute;
    right: -30px;
    width: 350px;
    transform: translateY(30px) translateX(20px);
    transition: .3s;
    top: 22px;
    border: 0;
}

.profile_info .profile_info_iner .profile_author_name {
    background: var(--hh-red-color) !important;
}

.profile_info .profile_info_iner::before {
    content: none;
    /*border-color: transparent transparent var(--hh-red-color) transparent !important;*/
}

.header_iner .header_right .header_notification_warp li > .bell_notification {
    font-size: 20px;
    color: #929BB5;
    position: relative;
    margin-right: 0;
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 8px;
    text-align: center;
}

.header_iner .header_right .header_notification_warp li > .bell_notification {
    line-height: 39px;
}

    .header_iner .header_right .header_notification_warp li > .bell_notification span {
        position: absolute;
        width: 20px;
        height: 20px;
        line-height: 20px;
        text-align: center;
        color: #fff;
        display: inline-block;
        background: #FF606D;
        font-size: 10px;
        border-radius: 50%;
        right: -11px;
        top: -4px;
    }

.bell_notification i {
    font-size: 40px;
    color: var(--hh-red-color);
}

.bell_notification:hover .Menu_NOtification_Wrap {
    opacity: 1;
    visibility: visible;
}

.notification_number {
    position: absolute;
    top: -4px;
    right: -2px;
    background: #000;
    border-radius: 50%;
    height: 20px;
    width: 20px;
    color: #fff;
    font-size: 11px;
    text-align: center;
    vertical-align: middle;
    font-weight: var(--fw-bold);
    line-height: 20px;
}

.header_iner .header_right .header_notification_warp li > .bell_notification {
    font-size: 20px;
    color: #929BB5;
    position: relative;
    margin-right: 0;
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 8px;
    text-align: center;
}

.header_iner .header_right .header_notification_warp li > .bell_notification {
    line-height: 39px;
}

    .header_iner .header_right .header_notification_warp li > .bell_notification span {
        position: absolute;
        width: 20px;
        height: 20px;
        line-height: 20px;
        text-align: center;
        color: #fff;
        display: inline-block;
        background: #FF606D;
        font-size: 10px;
        border-radius: 50%;
        right: -11px;
        top: -4px;
    }

.bell_notification:hover .Menu_NOtification_Wrap {
    opacity: 1;
    visibility: visible;
}

.bootstrap-table .fixed-table-pagination > .pagination-detail {
    margin-top: 15px;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' -25, 'opsz' 24;
}

.header_iner {
    background: #fff;
    padding: 15px 30px;
    border-bottom: 0;
    z-index: 1050;
}

.modal-backdrop {
    z-index: 99999;
}

.sidebar {
    z-index: 99999;
    box-shadow: 0 0 50px rgba(183, 183, 183, 0.25);
}

    .sidebar #sidebar_menu a {
        cursor: pointer;
    }

    .sidebar #sidebar_menu > li > a:hover {
        background: #f6f6f6;
        border-radius: 6px 0px 0px 6px;
    }

    .sidebar #sidebar_menu > li ul {
        padding: 0px 0px 0px 20px;
        position: relative;
        margin: 10px 0;
    }

        .sidebar #sidebar_menu > li ul::before {
            content: "";
            width: 2px;
            height: 100%;
            background: var(--hh-red-color);
            position: absolute;
            left: 8px;
            border-radius: 8px;
        }

        .sidebar #sidebar_menu > li ul li a {
            padding: 10px 0 10px 20px !important;
            margin: 5px 0;
            font-size: 1em;
            font-weight: var(--fw-regular);
        }

            .sidebar #sidebar_menu > li ul li a:hover {
                color: var(--hh-red-color) !important;
            }

            .sidebar #sidebar_menu > li ul li a.active {
                color: var(--menu-link-active);
                background: #f6f6f6;
                border-radius: 6px 0px 0px 6px;
            }

    .sidebar #sidebar_menu > li:not(.mm-active) > a:hover:before {
        opacity: 1;
        visibility: visible;
    }

    .sidebar #sidebar_menu > li:not(.mm-active) > a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        background: var(--hh-red-color);
        height: 100%;
        border-radius: 6px 0px 0px 6px;
        left: -10px;
        border-radius: 0 8px 8px 0;
        opacity: 0;
    }

    .sidebar .footer_menu {
        position: absolute;
        bottom: 0;
    }

    .sidebar::-webkit-scrollbar-thumb, body::-webkit-scrollbar-thumb {
        background-color: var(--primary);
        border-radius: 10px;
    }

    .sidebar::-webkit-scrollbar, body::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }

.main_content.dashboard_part {
    overflow: visible;
}

.card_box .white_box_title.reverse {
    /*border-top-right-radius: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;*/
}

.colored_bg {
    background-color: var(--primary) !important;
}

.form-check-input[type="checkbox"] {
    border-radius: .25em;
    border-color: #D0D0D0 !important;
    margin-right: 6px;
}

    .form-check-input[type="checkbox"]:checked {
        background-color: #fff !important;
    }

.form-check-input {
    width: 1.5em;
    height: 1.5em;
    margin-top: 1px;
}

.form-check-label {
    font-size: 16px;
    display: inline;
}

a {
    color: var(--primary);
}

/*.header_iner .header_right .header_notification_warp li > a { line-height: 39px; }*/

.profile_info > i {
    font-size: 40px;
}

.details_toolbar .btn_label {
    font-size: 14px;
    line-height: 1.4em;
}

.Menu_NOtification_Wrap {
    top: 47px;
    text-align: left !important;
    transform: translateY(20px) translateX(20px);
}

    .Menu_NOtification_Wrap .Notification_body .single_notify {
        margin-bottom: 12px;
        margin-top: 6px;
    }

        .Menu_NOtification_Wrap .Notification_body .single_notify .notify_content a h5 {
            line-height: 1.2;
        }

.sidebar #sidebar_menu > li {
    margin-left: 10px;
}

    .sidebar #sidebar_menu > li a {
        font-size: 1rem;
        font-weight: var(--fw-regular);
        padding: 15px 25px 15px 15px;
        color: #000 !important;
    }

        .sidebar #sidebar_menu > li a .material-symbols-outlined {
            color: var(--hh-red-color);
            font-size: 1.8rem;
        }

    .sidebar #sidebar_menu > li.mm-active > a {
        border-radius: 6px 0 0 6px;
        background: #f6f6f6;
        font-weight: var(--fw-medium);
    }

        .sidebar #sidebar_menu > li.mm-active > a::before {
            left: -10px;
            border-radius: 0 8px 8px 0;
            background: var(--hh-red-color);
        }

        .sidebar #sidebar_menu > li.mm-active > a::after {
            right: 15px;
            color: #2D1967;
        }


.dropdown-item.active, .dropdown-item:active {
    color: #fff !important;
}

.dropdown .dropdown-menu .dropdown-item.active:hover {
    background: #0d6efd !important;
}

.fixed_width {
    width: 180px;
    min-width: 180px;
}

    .fixed_width > div.d-block.w-100 {
        min-width: 130px !important;
        min-width: 360px;
    }

.fixed_width2 {
    min-width: 180px;
    width: 180px;
}

    .fixed_width2 > div.d-block.w-100 {
        min-width: 150px !important;
    }

.fixed_width250 {
    min-width: 250px;
    width: 250px;
}

.fixed_width2 > div.d-block.w-100 {
    min-width: 180px !important;
}

.double_fixed_width {
    width: 360px;
    min-width: 360px;
}

    .double_fixed_width > div.d-block.w-100 {
        min-width: 360px !important;
    }

.fixed-columns-right {
    height: 0px !important;
}

.accordion-item {
    background-color: #f6faff;
}

.accordion-body {
    background: #fff;
}

.accordion-button:not(.collapsed) {
    color: #000;
    background-color: var(--hh-red-light-color);
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}

.bootstrap-table .fixed-table-pagination > .pagination-detail {
    margin-bottom: 0;
}

.bootstrap-table .btn_action .material-symbols-outlined {
    font-size: 2em;
    color: #000;
}

.data_table thead th, .table thead th {
    background: #F9ECEC;
    color: #000;
}

.fixed-columns-right .data_table thead th, .fixed-columns-right .table thead th {
    background: transparent !important;
}

.data_table tbody tr:not(.table-secondary):not(.table-tertiary):nth-child(odd) > td,
.table tbody tr:not(.table-secondary):not(.table-tertiary):nth-child(odd) > td {
    background-color: #ffffff;
}

.data_table tbody tr:not(.table-secondary):not(.table-tertiary):nth-child(even) > td,
.table tbody tr:not(.table-secondary):not(.table-tertiary):nth-child(even) > td {
    background-color: #f6f6f6;
}

.table-hover > tbody > tr:hover {
    --bs-table-accent-bg: #e1e1e1;
}

.action_toolbar .btn {
    padding-left: 2em;
    position: relative;
    line-height: 1.4;
}

    .action_toolbar .btn i {
        position: absolute;
        left: 0;
        top: 0;
        width: 28px;
        line-height: 1;
        font-size: 27px;
    }

.card_box .white_box_title {
    background-color: var(--hh-red-color);
    padding: 20px 40px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

    .card_box .white_box_title h3 {
        color: #fff;
    }

.card_box .open_close_collapse.collapsed .white_box_title {
    background-color: #f6f6f6 !important;
}

    .card_box .open_close_collapse.collapsed .white_box_title h3 {
        color: #000 !important;
    }

.container-fluid.sticky-top .card_box .white_box_title {
    background-color: #fff;
    padding-left: 10px;
    padding-right: 10px;
    overflow: visible;
}

.card_box:not(.with_shadow) .box_body {
    padding: 20px 40px;
    margin-top: -30px;
    padding-top: 50px;
    border: 1px solid #E6E6E6;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.card_box.with_shadow .box_body {
    padding: 20px 40px;
    margin-top: -30px;
    padding-top: 50px;
    border: none !important;
    border-radius: 0 !important;
}

.card_box.with_shadow {
    border: 1px solid #E6E6E6;
    border-radius: 24px !important;
}

.logo_mutua {
    max-width: 240px;
    max-height: 80px;
    width: auto;
    height: auto;
}

.open_close_collapse {
    color: var(--bs-secondary);
}

    .open_close_collapse:hover {
        /*color: var(--bs-secondary) !important;
    opacity: .7;*/
    }

.field_wrapper:not(.form-check):not(.no_border) {
    border-bottom: 1px solid #c4c4c4;
}

.form-check-input[type="checkbox"]:disabled, .form-check-input[type="checkbox"]:disabled ~ .form-check-label, .form-check-input[type="checkbox"][disabled] ~ .form-check-label {
    opacity: 1;
}

.btn_action {
    line-height: .7;
    padding: 0.1rem;
}

.btn_action:hover {
    /*background: #FAFAFA;*/
}

.btn_action i {
    color: #000;
}

.btn_action .btn_label {
    color: #585E6A;
}

.btn_action > div {
    padding: .75em 1.5em .75em 1.25em !important;
    background: #F0F0F0;
    border-radius: 40px !important;
}

.btn_action.right_icon > div {
    padding: .75em .75em .75em 1.5em !important;
}

.btn_action.btn_action_squared > div {
    border-radius: 4px !important;
}

.vertical_divider {
    /*width: 1px;
    height: auto;
    background: #E0E0E0;*/
    margin: 0 !important;
}

.custom_shadow {
    /*box-shadow: 0 0 2px rgba(0,0,0,0.12), 0 2px 4px rgba(0,0,0,0.14);*/
}

.small_border_radius {
    /*border-radius: 4px;*/
}

.green_icon {
    color: #498205 !important;
}

.red_icon {
    color: #a4262c !important;
}

.blue_icon {
    /*color: #0078d4 !important;*/
}

.orange_icon {
    color: #ff8c00 !important;
}

.green_bg {
    background: #498205 !important;
    color: #fff !important;
}

.red_bg {
    background: #a4262c !important;
    color: #fff !important;
}

.arancione_bg {
    background: #e9a21f !important;
    color: #fff !important;
}

.blue_bg {
    background: #0078d4 !important;
    color: #fff !important;
}

.grigio_bg {
    background: #e3be42 !important;
    color: #fff !important;
}

.giallo_bg {
    background: #FFFF00 !important;
    color: #fff !important;
}

.divider {
    border-bottom: 1px solid var(--sidebar-menu-color);
}

.ts-wrapper.multi .ts-control > div.active, .ts-wrapper.multi .ts-control > div.last-active {
    background: #2d1967;
    color: #fff;
    border: 0 solid #2d1967;
}

.ts-wrapper {
    width: 100%;
}

    .single-select .ts-control, .multiple-select .ts-control, .ts-wrapper.single .ts-control {
        /*display: block;*/
        width: 100%;
        font-size: 1rem;
        font-weight: 400;
        line-height: 1.5;
        color: #212529;
        background-color: #fff;
        background-clip: padding-box;
        border: 1px solid #ced4da;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        /*transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;*/
        border-color: #D0D0D0;
        border-radius: 10px;
        padding: .75rem;
    }

.modal {
    z-index: 999999;
}

.fixed_height_table {
    height: 300px;
    overflow: auto;
}

.jconfirm.jconfirm-material .jconfirm-box div.jconfirm-content > div {
    display: flex;
    flex-direction: row;
    align-items: center;
    overflow: hidden;
}

.grey_font_color {
    color: #3C3C3C;
}

.ts-dropdown {
    margin: 0;
    box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.1);
}

    .ts-dropdown .optgroup-header {
        font-weight: 700;
        font-style: italic;
    }

.ts-wrapper.single.dropdown-active .ts-control {
    border-bottom: 1px solid transparent;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.badge_custom {
    font-size: 13px;
    font-weight: 400;
}

.badge_custom_width {
    width: 80px;
    display: inline-block;
    text-align: center;
}

.nav-pills .nav-link {
    border: 1px solid var(--primary);
}

    .nav-pills .nav-link.active {
        background-color: var(--primary);
    }

.googleMapsRender {
    height: 25em;
    border: 1px solid #ced4da;
    border-radius: 0.2rem;
}

.fascia_tariffa.top {
    color: #84c337;
}

.fascia_tariffa.platinum {
    color: #febf00;
}

.fascia_tariffa.gold {
    color: #ff7300;
}

.fascia_tariffa.silver {
    color: #e5221e;
}

.badge.fascia_tariffa.top {
    background: #84c337;
    color: #fff;
}

.badge.fascia_tariffa.platinum {
    background: #febf00;
    color: #fff;
}

.badge.fascia_tariffa.gold {
    background: #ff7300;
    color: #fff;
}

.badge.fascia_tariffa.silver {
    background: #e5221e;
    color: #fff;
}

.badge.fascia_tariffa.not_available {
    background: #4b4b4b;
    color: #fff;
}

#map, #mappa_dettaglio, .googleMapsRender {
    height: 25em;
    border: 1px solid #ced4da;
    border-radius: 0.2rem;
}

.pac-container {
    z-index: 2000;
}

/* Personalizzazione toggle switch */
.form-switch .form-check-input {
    width: 3em;
    height: 1.5em;
    cursor: pointer;
}

    .form-switch .form-check-input:checked {
        background-color: #0d6efd;
        border-color: #0d6efd;
    }

.form-switch .form-check-label {
    padding-left: 0.5em;
    cursor: pointer;
}


/* prestazioni-styles */
/* Prestazioni Counter Styles */
@keyframes counterUpdate {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.counter-update {
    animation: counterUpdate 0.3s ease-in-out;
}

.prestazioni-counter {
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.counter-box {
    text-align: center;
}

.counter-title {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.25rem;
}

.counter-details {
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-size: 0.875rem;
}

.counter-total {
    color: #0d6efd;
    font-weight: 500;
}

.counter-direct {
    color: #198754;
    font-weight: 500;
}

.counter-indirect {
    color: #6c757d;
    font-weight: 500;
}

#totalCounter,
#directCounter,
#indirectCounter {
    display: inline-block;
    min-width: 1.5rem;
    font-weight: 600;
}

/* Prestazioni Tree Styles */
.prestazioni-tree {
    max-height: 800px;
    overflow-y: auto;
}

.categoria-gruppo {
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
    background-color: #fff;
}

.categoria-header {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    user-select: none;
}

.toggle-categoria {
    background: none;
    border: none;
    padding: 0.25rem;
    margin-right: 0.5rem;
    cursor: pointer;
    transition: transform 0.2s ease;
    line-height: 0;
}

    .toggle-categoria:hover {
        background-color: rgba(0, 0, 0, 0.05);
        border-radius: 4px;
    }

    .toggle-categoria.toggling {
        pointer-events: none;
    }

    .toggle-categoria i {
        transition: transform 0.3s ease;
    }

.categoria-content {
    padding: 1rem;
    overflow: hidden;
}

/* Search Container Styles */
.search-container {
    position: sticky;
    top: 0;
    background-color: #fff;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 1rem;
    z-index: 1000;
}

/* Table Styles */
.prestazioni-table {
    margin-bottom: 0;
}

.table-active {
    background-color: rgba(0, 123, 255, 0.05) !important;
}

.form-check-input:disabled {
    opacity: 1;
    cursor: default;
}

    .form-check-input:disabled:checked {
        background-color: var(--hh-red-color);
        border-color: var(--hh-red-color);
    }

/* Actions Container Styles */
.actions-container {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.bootstrap-table .fixed-table-container .table thead th .th-inner:has(a) {
    padding: 0;
}

.ordinamento_colonna {
    display: block;
    padding: .75rem;
    cursor: pointer;
    color: var(--text-color) !important;
}

    .ordinamento_colonna:hover {
        opacity: .75;
    }

.bootstrap-table .fixed-table-container .table thead th .th-inner {
    position: relative;
    font-weight: var(--fw-medium);
}

.ordinamento_colonna[data-ordinamento="false"]:after {
    content: "arrow_drop_down";
    font-size: 34px;
    line-height: .5;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 36;
    font-family: 'Material Symbols Outlined';
    height: 0px;
    position: absolute;
    right: 0;
    top: 15px;
}

.ordinamento_colonna[data-ordinamento="true"]:after {
    content: "arrow_drop_up";
    font-size: 34px;
    line-height: .5;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 36;
    font-family: 'Material Symbols Outlined';
    height: 0px;
    position: absolute;
    right: 0;
    top: 15px;
}

.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.open {
    position: absolute;
    text-align: center;
    bottom: 0;
    left: 0;
    right: 0;
    min-height: 120px;
}

.esito_importa_noipa {
    overflow: auto;
    max-height: 100px;
    border: 1px solid #ebebeb;
    padding: 4px 8px;
    border-radius: 4px;
}

.tox-tinymce {
    margin-left: 0px;
    margin-right: 0px;
}

.dashboard_header .dashboard_header_title h3 {
    color: #000;
    font-weight: var(--fw-semibold);
}

.Menu_NOtification_Wrap .notification_Header {
    background: var(--hh-red-color);
}

.btn_1 {
    background-color: var(--hh-red-color) !important;
    border: 1px solid var(--hh-red-color) !important;
    color: #fff !important;
}

.dashboard_breadcrumbs a > .material-symbols-outlined {
    color: var(--hh-red-color);
    font-size: 2em;
}

.dashboard_breadcrumbs > .material-symbols-outlined {
    font-size: 16px;
}

.box_shadow {
    box-shadow: none !important;
    background: #fff;
    border-radius: 0 0 20px 20px;
}

.bootstrap-table .fixed-table-container .table thead th .asc, .bootstrap-table .fixed-table-container .table thead th .desc, .bootstrap-table .fixed-table-container .table thead th .both {
    background: none !important;
    display: flex;
    align-items: center;
}

.bootstrap-table .fixed-table-container .table thead th .th-inner.sortable.both::after {
    content: "sort";
    font-family: 'Material Symbols Outlined';
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: normal;
    font-style: normal;
    font-size: 19px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -moz-font-feature-settings: 'liga';
}

.bootstrap-table .fixed-table-container .table thead th .th-inner.sortable.both.asc::after {
    content: "south";
}

.bootstrap-table .fixed-table-container .table thead th .th-inner.sortable.both.desc::after {
    content: "north";
}

.bootstrap-table .fixed-table-container .table {
    border-collapse: separate;
    border-spacing: 0;
}

    .bootstrap-table .fixed-table-container .table > thead {
        display: table-header-group;
    }

        .bootstrap-table .fixed-table-container .table > thead th {
            line-height: 2.5em;
        }

    .bootstrap-table .fixed-table-container .table > tbody {
        display: table-row-group;
    }

        .bootstrap-table .fixed-table-container .table > tbody::before {
            content: "";
            display: table-row;
            height: 10px;
        }

.bootstrap-table .fixed-table-body .table thead th:first-child,
.bootstrap-table .fixed-table-body .table tbody tr:not(.table-secondary):not(.table-tertiary) > td:first-child {
    border-top-left-radius: 18px;
    border-bottom-left-radius: 18px;
}

.bootstrap-table .fixed-table-body .table thead th:last-child,
.bootstrap-table > .fixed-table-body .table tbody tr:not(.table-secondary):not(.table-tertiary) > td:last-child {
    border-top-right-radius: 18px;
    border-bottom-right-radius: 18px;
}

tbody, td, tfoot, th, thead, tr {
    border: 0;
}

.bootstrap-table .fixed-table-body .table tbody tr:not(.table-secondary):not(.table-tertiary):first-child td {
    border-top: 2px solid #f6f6f6 !important;
}

.bootstrap-table .fixed-table-body .table tbody tr:not(.table-secondary):not(.table-tertiary):not(:first-child) > td:first-child {
    border-left: 2px solid #f6f6f6 !important;
    border-radius: 0;
}

.bootstrap-table .fixed-table-body .table tbody tr:not(.table-secondary):not(.table-tertiary):not(:first-child) > td:last-child {
    border-right: 2px solid #f6f6f6 !important;
    border-radius: 0;
}

.bootstrap-table .fixed-table-body .table tbody tr:not(.table-secondary):not(.table-tertiary):last-child > td {
    border-bottom: 2px solid #f6f6f6 !important;
}

.bootstrap-table .fixed-table-body .table tbody tr:not(.table-secondary):not(.table-tertiary):first-child > td:first-child {
    border-left: 2px solid #f6f6f6 !important;
    border-top: 2px solid #f6f6f6 !important;
    border-bottom-left-radius: 0;
}

.bootstrap-table .fixed-table-body .table tbody tr:not(.table-secondary):not(.table-tertiary):first-child > td:last-child {
    border-right: 2px solid #f6f6f6 !important;
    border-top: 2px solid #f6f6f6 !important;
    border-bottom-right-radius: 0;
    border-top-right-radius: 18px;
}

.bootstrap-table .fixed-table-body .table tbody tr:not(.table-secondary):not(.table-tertiary):last-child > td:first-child {
    border-left: 2px solid #f6f6f6 !important;
    border-bottom: 2px solid #f6f6f6 !important;
    border-bottom-left-radius: 18px;
}

.bootstrap-table .fixed-table-body .table tbody tr:not(.table-secondary):not(.table-tertiary):last-child > td:last-child {
    border-right: 2px solid #f6f6f6 !important;
    border-bottom: 2px solid #f6f6f6 !important;
    border-bottom-right-radius: 18px;
}

.page-item.active .page-link, .page-item.active .page-link:hover {
    background-color: var(--hh-red-color);
    border-color: var(--hh-red-color);
    color: #fff !important;
}

.page-link:hover {
    color: #fff !important;
    background-color: var(--hh-red-color);
    border-color: var(--hh-red-color);
}

.btn-secondary.dropdown-toggle {
    color: #000 !important;
    background-color: #fff !important;
    border-color: #000;
    padding: .15rem .5rem;
}

h3 {
    font-size: 1.5em;
}

.form-select, .form-control {
    border-color: #D0D0D0;
    border-radius: 10px;
    padding: .75rem;
}

.control-label {
    font-size: 16px;
    margin-left: 7px;
    margin-bottom: 3px;
}

::file-selector-button {
    background: transparent !important;
}

.table > :not(caption) > * > * {
    box-shadow: none;
}

.bootstrap-table .fixed-table-container .table tbody tr.selected td {
    background-color: #d5d5d5;
}

.modal-footer .btn[type="reset"] {
    background: #F9ECEC;
    color: #000;
    font-weight: var(--fw-semibold);
    padding: 10px 20px;
    border: 1px solid var(--hh-red-color);
}

.modal-footer .btn[type="submit"], .modal-footer a.btn-primary, .modal-footer .btn_submit {
    background: var(--hh-red-color);
    color: #fff !important;
    font-weight: var(--fw-semibold);
    padding: 10px 20px;
    border: 1px solid var(--hh-red-color);
}
.modal-footer .btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}
.modal-footer .btn-danger {
    background-color: #dd4b39 !important;
}

tr.table-secondary > td {
    background-color: #fbfbfb;
}

    tr.table-secondary > td tr.table-secondary > td {
        background-color: #000;
    }

.icon_tooltip_label {
    font-size: 18px;
    font-variation-settings: 'FILL' 1, 'wght' 200, 'GRAD' -25, 'opsz' 24;
    color: #9f9f9f;
}

.logo_mutua_details {
    margin-left: -8px;
    max-width: 100%;
    max-height: 59px;
}

.input-group-text {
    border-radius: 10px;
}

.ts-control > input {
    min-width: max-content;
    font-size: 1rem;
}

.ts-dropdown [data-selectable].option {
    font-size: 13px;
}

.red_label_info {
    color: #A9020D !important;
    font-weight: bold;
}

g[aria-labelledby^="id-"]:is([aria-labelledby*="-title"]) {
    display: none !important;
}

.input-hidden .ts-control > input {
    position: relative;
}

.hide_input {
    visibility: hidden;
    height: 0;
    width: 0;
    margin: 0;
    padding: 0;
}

.form-check-input.input-validation-error {
    border-color: var(--hh-red-color) !important;
}

a.link {
    cursor: pointer;
}

.main_table td {
    vertical-align: middle;
}

.submit_button_link {
    color: var(--hh-red-color);
    font-size: 14px;
    display: block;
    padding: 10px 0;
    font-weight: 400;
    background: transparent;
    border: 0;
}

.error_box {
    box-shadow: 0px 0px 15px rgba(0,0,0,0.1);
    border-radius: 3rem;
    background: #FBFBFB;
    min-height: 55vh;
}

.text-right {
    text-align: right !important;
}

.dataTables_wrapper {
    max-height: 400px;
    overflow: auto;
}

.bg_light_red {
    background: var(--hh-red-light-color) !important;
}

.informativa_container {
    height: 400px;
    overflow-y: scroll;
}

.sidebar .logo {
    min-height: 115px;
}

.form-check-input[type="checkbox"]:disabled {
    background-color: #e9ecef;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .counter-details {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .search-container {
        position: relative;
    }

    .actions-container {
        margin-top: 1rem;
        justify-content: center;
    }
}

/* Cross-browser compatibility */
.prestazioni-counter {
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

@-webkit-keyframes counterUpdate {
    0% {
        -webkit-transform: scale(1);
    }

    50% {
        -webkit-transform: scale(1.2);
    }

    100% {
        -webkit-transform: scale(1);
    }
}

.counter-update {
    -webkit-animation: counterUpdate 0.3s ease-in-out;
    -moz-animation: counterUpdate 0.3s ease-in-out;
}


.disabled_tr {
    opacity: 0.3;
    cursor: pointer;
    pointer-events: none;
}

.pagination {
    margin-top: 1.5em;
}

.valuta_item span {
    display: block;
    min-width: 100px;
}

.disabled:not(.tom-select):not(.ts-wrapper) {
    cursor: pointer;
    pointer-events: none;
    background-color: #e9ecef;
    opacity: 1;
    border-color: #BBC1C9;
}

.tom-select.disabled .ts-control {
    color: black !important;
    opacity: 1 !important;
}

.ts-wrapper.disabled .ts-control {
    color: black !important;
    opacity: 1 !important;
    background-color: #e9ecef; /* opcional: aparncia de campo readonly */
    cursor: not-allowed; /* opcional: cursor visual de desabilitado */
}

/*.btn.disabled, .btn:disabled, fieldset:disabled .btn {
    background-color: transparent;
    border: none;
}*/

.main_content .main_content_iner {
    margin: 10px 30px 30px 30px;
}

.main_content_iner > .container-fluid.sticky-top .card_box, .main_content_iner > form > .container-fluid.sticky-top .card_box {
    border-bottom: 1px solid #D0D0D0;
    border-radius: 0 !important;
}

.container-fluid:not(.sticky-top) .card_box .white_box_title .form-check .form-check-input {
    margin-top: 0;
    border-color: transparent !important;
}

.form-check-input:checked[type="checkbox"] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23A9020D' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}

.form-check-input.disabled:checked[type="checkbox"] {
    background-color: #e9ecef !important;
}

.btn-primary {
    background-color: var(--hh-red-color) !important;
    border-color: var(--hh-red-color) !important;
}

.modal-header {
    padding: 1rem 2rem 0.7rem;
}

.modal-title.fs-5 {
    font-size: 1.4rem !important;
}

.modal-body {
    padding: 1rem 1rem .5rem;
}

.modal-footer {
    padding: 0 1.5rem 0.75rem 1.5rem;
    border-top: none;
}

.form-label {
    margin-bottom: .1rem;
}

.btn.opacity_disabled {
    cursor: default;
}

.tooltip-inner {
    max-width: 360px;
}

.tooltip_wrapper > .tooltip {
    z-index: 9999999;
}

#save_abbinamenti .btn_label, #Annulla_abbinamenti .btn_label, #Importa_NoiPa .btn_label, .Split_Quadrature .btn_label {
    font-size: .9rem;
}

.form-check-input[type="radio"]:checked {
    background-color: var(--hh-red-color);
    border-color: var(--hh-red-color);
}

.form-check.form-check-inline .form-check-label {
    margin-left: 4px;
}

.container-fluid:not(.sticky-top) .card_box .open_close_collapse.collapsed .white_box_title .form-check .form-check-input {
    border-color: #D0D0D0 !important;
}

.open_close_collapse.collapsed .form-check .form-check-label.text-white {
    color: #000 !important;
}

table th:not(:last-child) {
    border-right: 1px solid white !important;
}

@media (max-width: 1600px) {
    body {
        font-size: 12px;
    }

    h3 {
        font-size: 1.2rem;
    }

    h5 {
        font-size: 1.1em;
    }

    .main_content .main_content_iner {
        margin-top: 0 !important;
    }

    .card_box .white_box_title.reverse {
        padding: 15px 40px 20px;
    }

    .profile_info > i, .bell_notification i {
        font-size: 34px;
    }

    .btn {
        font-size: .8rem;
    }

    .material-symbols-outlined {
        font-size: 21px;
    }

    .badge_custom {
        font-size: 12px;
    }

    .bootstrap-table .btn_action .material-symbols-outlined {
        font-size: 1.75rem;
    }

    .sidebar .logo {
        padding-bottom: 0;
    }

    .dashboard_breadcrumbs a > .material-symbols-outlined {
        font-size: 1.5rem;
    }

    .sidebar #sidebar_menu > li a {
        font-size: 0.9rem !important;
    }

    .sidebar #sidebar_menu > li ul li a {
        padding: 8px 0 8px 18px !important;
        font-size: .8rem !important;
    }

    .sidebar #sidebar_menu > li a .material-symbols-outlined {
        font-size: 1.5rem;
    }

    .dashboard_header .dashboard_header_title h3 {
        font-size: 28px;
    }

    .btn-group-sm > .btn, .btn-sm {
        font-size: .75rem;
    }

    .control-label {
        font-size: .875em;
    }

    .single-select .ts-control, .multiple-select .ts-control, .ts-wrapper.single .ts-control {
        font-size: .9rem;
        padding: .68rem;
    }

    .form-control, .form-check-label {
        font-size: .9rem;
    }
}

@media (min-width: 992px) {
    .main_content {
        padding-left: var(--menu-width);
    }

    .sidebar {
        width: var(--menu-width);
    }
}

@media (max-width: 991px) {
    .main_content .main_content_iner {
        margin: 20px;
    }
}

@media(min-width: 576px) {
    .modal-dialog {
        max-width: 800px;
        margin: 1.75rem auto;
    }

    #idAbbinamentoTitolo .modal-dialog {
        max-width: 75vw;
    }
}

@media (max-width: 575px) {
    .details_toolbar i {
        font-size: 1em;
        line-height: 1.5;
    }
}

.EspandiTutto {
    width: 15px;
    background-image: url(/img/segnoPiu.png);
    /*background-image: url('../img/SinalPlus.png');*/
    background-repeat: no-repeat;
    background-size: 16px;
    display: inline-block;
    cursor: pointer;
}

.ScopriTutto {
    width: 15px;
    background-image: url(/img/segnoMeno.png);
    /*background-image: url('../img/SinalMenus.png');*/
    background-repeat: no-repeat;
    background-size: 16px;
    display: inline-block;
    cursor: pointer;
}

.collapseTreeView {
    width: 15px;
    background-image: url(/img/segnoPiu.png);
    /*background-image: url('../img/SinalPlus.png');*/
    background-repeat: no-repeat;
    background-size: 16px;
    display: inline-block;
    cursor: pointer;
}

.expandTreeView {
    width: 15px;
    background-image: url(/img/segnoMeno.png);
    /*background-image: url('../img/SinalMenus.png');*/
    background-repeat: no-repeat;
    background-size: 16px;
    display: inline-block;
    cursor: pointer;
}

.treeviewTreeView ul {
    font: 14px Arial, Sans-Serif;
    margin: 0px;
    padding-left: 20px;
    list-style: none;
}

.treeviewTreeView > li > a {
    font-weight: bold;
}

.NascondiRigaTreeView {
    display: none
}

.treeviewTreeView > li {
}

.treeviewTreeView li a {
    padding: 4px;
    font-size: 12px;
    display: inline-block;
    text-decoration: none;
    width: auto;
}
/*---------------------------PAINEL----------------------------------*/
.panel {
    margin-bottom: 20px;
    background-color: #fff;
    /*border: 1px solid transparent;*/
    border-radius: 4px;
    /*font-size: 1.3rem !important;*/
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
}

.panel-body {
    padding: 15px;
}

.panel-heading {
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

    .panel-heading > .dropdown .dropdown-toggle {
        color: inherit;
    }

.panel-title {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 16px;
    color: inherit;
}

    .panel-title > a,
    .panel-title > small,
    .panel-title > .small,
    .panel-title > small > a,
    .panel-title > .small > a {
        color: inherit;
    }

.panel-footer {
    padding: 10px 15px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}

.panel-heading-decision {
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.panel-default > .panel-heading {
    text-shadow: 0px -1px 0 rgba(255,255,255, 0.3);
    font-weight: bold !important;
    color: #ffffff !important;
    font-size: 12px;
    background-color: #345d5f;
    border-color: #fd3131;
    border-width: 2px;
    padding: 5px 16px;
}

.panel-default > .panel-heading-decision {
    text-shadow: 0px -1px 0 rgba(255,255,255, 0.3);
    font-weight: bold !important;
    color: #000000 !important;
    /*font-size: 16px;*/
    background-color: #ffffff;
    border-color: #fd3131;
    border-width: 2px;
    padding: 5px 16px;
}

.panel-default {
    background-color: rgba(255, 255, 255, 0.8);
}
/*------------------------------TESTE DE BOTO SIM / NO-------------------------*/
.nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus {
    color: #fff;
    background-color: #428bca;
}

    .nav-pills > li.active > a#btncollapsePrestazioni, .nav-pills > li.active > a#btncollapsePrestazioni:hover, .nav-pills > li.active > a#btncollapsePrestazioni:focus,
    .nav-pills > li.active > a#btncollapsePacchetto, .nav-pills > li.active > a#btncollapsePacchetto:hover, .nav-pills > li.active > a#btncollapsePacchetto:focus {
        background-color: var(--hh-red-color);
        color: #fff !important;
    }

.nav-pills > li > a {
    border-radius: 4px;
}

.nav > li > a {
    position: relative;
    padding: 10px 15px;
}

.nav-pills > li > a {
    border-radius: 4px;
}

.nav > li > a {
    position: relative;
    display: block;
    padding: 10px 15px;
}

a {
    /*color: #428bca;*/
    color: var(--hh-red-color) !important;
    text-decoration: none;
}

a {
    background: transparent;
}


/*------------------------------FIM TESTE DE BOTO SIM / NO-------------------------*/

/* ===== Portal V2 Redesign ===== */
.portal-v2 .sidebar { display: none !important; }
.portal-v2 .main_content { padding-left: 0 !important; }
.portal-v2 .header_iner { display: none !important; }
.portal-v2 { background: #f5f5f5; }
.portal-v2 .main_content .main_content_iner { margin: 0 !important; padding: 0; }

/* Portal Header */
.portal-header {
    background: linear-gradient(135deg, #1B3A5C 0%, #2A5080 100%);
    height: 45px;
    display: flex;
    align-items: center;
    padding: 0 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    position: relative;
    z-index: 100;
}
.portal-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.portal-header-left {
    display: flex;
    align-items: center;
    gap: 40px;
}
.portal-logo img {
    height: 32px;
    width: auto;
}
.portal-header-links {
    display: flex;
    gap: 30px;
}
.portal-header-links a {
    color: #fff !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 13px;
    text-decoration: none !important;
}
.portal-header-links a:hover { opacity: 0.85; }
.portal-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.portal-welcome {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 13px;
}
.portal-logout-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 13px;
    cursor: pointer;
    padding: 0;
}
.portal-logout-btn:hover { color: #fff; }

/* Portal Horizontal Tabs */
.portal-tabs-bar {
    background: #f5f5f5;
    padding: 12px 30px 0;
}
.portal-tabs-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}
.portal-tabs-list {
    display: flex;
    gap: 6px;
}
.portal-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 18px 8px;
    background: #000;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 8px 8px 0 0;
    transition: background 0.2s;
    min-width: 85px;
}
.portal-tab:hover {
    background: #1a1a1a;
    color: #fff !important;
}
.portal-tab.active {
    background: #1c598e;
    color: #fff !important;
}
.portal-tab .material-symbols-outlined {
    font-size: 26px;
    margin-bottom: 3px;
    color: inherit !important;
    font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}
.portal-tab-label { white-space: nowrap; }
.portal-tab-flex {
    background: #2e9847 !important;
    margin-left: 12px;
    min-width: 150px;
    justify-content: center;
    padding: 8px 14px 6px;
    cursor: default;
    pointer-events: none;
}
.portal-tab-label-flex {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
    color: #fff;
}
.portal-tab-flex-value {
    font-size: 13px;
    font-weight: 600;
    margin-top: 4px;
    background: rgba(0,0,0,0.2);
    padding: 2px 10px;
    border-radius: 4px;
    color: #fff;
    white-space: nowrap;
}
.portal-tab-flex-progress {
    width: 100%;
    height: 6px;
    margin-top: 6px;
    background: rgba(0,0,0,0.25);
    border-radius: 3px;
    overflow: hidden;
}
.portal-tab-flex-progress-bar {
    height: 100%;
    background: #ffffff;
    border-radius: 3px;
    transition: width 0.3s ease;
}
.portal-tabs-logo img {
    height: 45px;
    width: auto;
    margin-bottom: 8px;
}

/* Portal Sub-navigation */
.portal-subnav {
    background: #1c598e;
    padding: 10px 50px;
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}
.portal-subnav-link {
    color: #fff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 400;
    padding: 4px 0;
    white-space: nowrap;
}
.portal-subnav-link.active {
    font-weight: 700;
    color: #fff !important;
}
.portal-subnav-link:hover { color: #fff !important; }

/* Portal Content Card */
.portal-card {
    background: #fff;
    margin: 20px 50px;
    padding: 25px 30px;
    border: 1px solid #ddd;
}
.portal-card-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

/* Portal Filters */
.portal-filters {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.portal-filter-group { flex: 1; min-width: 200px; }
.portal-filter-group label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    font-style: italic;
    color: #333;
    margin-bottom: 3px;
}
.portal-filter-group .form-control,
.portal-filter-group .form-select {
    padding: 5px 10px;
    font-size: 13px;
    border-radius: 3px;
    border: 1px solid #aaa;
}
.portal-filter-actions {
    display: flex;
    gap: 6px;
    padding-bottom: 1px;
}
.portal-filter-actions .btn {
    padding: 5px 14px;
    font-size: 12px;
    border-radius: 3px;
}

/* Portal Table */
.portal-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.portal-table thead th {
    background: #ddd;
    color: #333;
    font-weight: 600;
    font-size: 11px;
    font-style: italic;
    padding: 7px 8px;
    border: 1px solid #bbb;
    text-align: left;
}
.portal-table tbody td {
    padding: 5px 8px;
    border: 1px solid #ccc;
    vertical-align: middle;
}
.portal-table tbody tr:nth-child(even) { background: #f8f8f8; }
.portal-table tbody tr:hover { background: #eef3fb; }
.portal-table tfoot td {
    padding: 7px 8px;
    border: 1px solid #ccc;
    font-weight: 700;
}

/* Status circle indicator */
.stato-dot {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    vertical-align: middle;
}
.stato-dot.red { background: #cc0000; }
.stato-dot.green { background: #28a745; }
.stato-dot.yellow { background: #ffc107; }
.stato-dot.blue { background: #17a2b8; }
.stato-dot.orange { background: #ff8c00; }
.stato-dot.darkblue { background: #0078d4; }
.stato-dot.grey { background: #6c757d; }

/* Info icon header */
.portal-table th .info-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #4a8fd4;
    color: #fff;
    text-align: center;
    line-height: 18px;
    font-size: 12px;
    font-weight: 700;
    font-style: normal;
    cursor: help;
}

/* Portal Pagination */
.portal-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-top: 15px;
    font-size: 13px;
}
.portal-pagination span {
    padding: 3px 8px;
    cursor: pointer;
    color: #555;
}
.portal-pagination span.active-page {
    background: #4a8fd4;
    color: #fff;
    border-radius: 2px;
}

/* Portal Section Title */
.portal-section-title {
    font-weight: 700;
    font-size: 14px;
    color: #333;
    padding-bottom: 8px;
    margin-top: 20px;
    margin-bottom: 15px;
    border-bottom: 2px solid #ddd;
}
.portal-section-title:first-child { margin-top: 0; }

.portal-card .portal-info-box {
    background: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 15px 20px;
    margin-bottom: 15px;
    font-size: 12px;
    line-height: 1.6;
    max-height: 250px;
    overflow-y: auto;
}

.portal-card .row { margin-left: 0; margin-right: 0; }

/* Upload guidato documentazione richiesta: righe alternate come il vecchio portale */
#documentiRichiestiSlots .documento-richiesto-slot {
    padding: 8px;
    border-bottom: 1px solid #1B3A5C;
}
#documentiRichiestiSlots .documento-richiesto-slot:nth-child(odd) {
    background-color: #e0eaf3;
}

.portal-card .form-control,
.portal-card .form-select,
.portal-card .single-select .ts-control,
.portal-card .ts-wrapper.single .ts-control {
    border-radius: 3px;
    font-size: 13px;
    padding: 6px 10px;
    border: 1px solid #aaa;
}

.portal-card .control-label {
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 2px;
    margin-left: 0;
}

.portal-card .btn-portal-submit {
    background: #1B3A5C;
    color: #fff;
    border: none;
    padding: 8px 24px;
    font-size: 13px;
    border-radius: 3px;
    cursor: pointer;
}
.portal-card .btn-portal-submit:hover { background: #15304d; }

/* Portal Footer */
.portal-footer {
    background: #A67B18;
    color: #fff;
    height: 30px;
    line-height: 30px;
    padding: 0 30px;
    font-size: 11px;
    font-weight: normal;
    font-family: 'Poppins', sans-serif;
    margin-top: auto;
}

/* Portal V2 body flex layout */
.portal-v2 {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.portal-v2 .main_content.dashboard_part {
    flex: 1;
    overflow: visible;
}

@media (max-width: 768px) {
    .portal-header { height: auto; padding: 10px 15px; }
    .portal-header-inner { flex-wrap: wrap; gap: 10px; }
    .portal-header-left { gap: 15px; }
    .portal-header-links a { font-size: 14px; }
    .portal-welcome { font-size: 14px; }
    .portal-tabs-list { flex-wrap: wrap; }
    .portal-tab { min-width: 70px; padding: 8px 10px 6px; font-size: 10px; }
    .portal-subnav { padding: 8px 15px; gap: 15px; }
    .portal-card { margin: 10px 15px; padding: 15px; }
    .portal-filters { flex-direction: column; }
    .portal-filter-group { min-width: 100%; }
}

/* ========================================================================
   PAGINE DI AUTENTICAZIONE - STILE VECCHIO PORTALE (HCWFrontEnd)
   Replica dell'aspetto di health.coopsalute.com (WI 577): palette, card di
   login, widget e bottoni ripresi da Content/css/main.css del vecchio
   portale. Usate solo dalle pagine custom Cognito (flag
   Cognito:PagineCustomAbilitate acceso) tramite _LayoutAccessiVecchioPortale.
   ======================================================================== */
.hcw-auth {
    /* palette del vecchio portale */
    --hcw-blu: #1c578e;             /* titoli e bottone Login (era .btn-danger) */
    --hcw-blu-header: #1c598e;      /* barra di testata */
    --hcw-oro: #A67B18;             /* pie' di pagina */
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: #f5f5f5;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 12px;
    line-height: 20px;
    color: #333333;
}

.hcw-auth__header {
    border-top: 4px solid var(--hcw-blu-header);
    background-color: var(--hcw-blu-header);
    background-image: linear-gradient(#1c598e, #0d2c49 95%, #0d0d0d);
    padding: 5px 20px;
    display: flex;
    align-items: center;
}

.hcw-auth__header img {
    height: 37px;
    width: auto;
    max-width: none;
}

.hcw-auth__content {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 30px 15px 20px;
}

.hcw-auth__column {
    width: 100%;
    max-width: 640px;
}

.hcw-auth__footer {
    background: var(--hcw-oro);
    color: white;
    font-size: 11px;
    font-weight: normal;
    line-height: 30px;
    padding: 10px;
}

/* Colonna stretta per la card di login (nel vecchio era uno span4) */
.hcw-colonna-stretta {
    max-width: 460px;
    margin: 0 auto;
}

/* Card di login: era .sign-in-container .login-wrapper */
.hcw-card {
    background: #fcfcfc;
    border: 2px solid #d9d9d9;
    border-radius: 4px;
    position: relative;
}

.hcw-card__header {
    padding: 30px 20px 10px 20px;
    margin: 0;
}

.hcw-card__header h3 {
    margin: 0;
    padding: 0;
    line-height: 40px;
    font-size: 24px;
    font-weight: 600;
    color: var(--hcw-blu);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.hcw-card__logo {
    height: 56px;
    width: auto;
    max-width: none;
}

.hcw-card__intro {
    font-size: 12px;
    text-align: left;
    line-height: 18px;
    color: gray;
    padding: 10px 0;
    margin: 0;
}

.hcw-card__content {
    padding: 10px 20px;
}

.hcw-card__actions {
    padding: 10px 20px 15px 20px;
    background: white;
    border-radius: 0 0 4px 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.hcw-card__actions a {
    font-weight: bold;
    color: #333333;
    text-decoration: none;
}

.hcw-card__actions a:hover {
    color: var(--hcw-blu);
    text-decoration: underline;
}

/* Riga sotto la card: "Registrati se non hai ancora un account." */
.hcw-sotto-card {
    margin: 12px 0 0;
    font-size: 12px;
    color: #333333;
}

.hcw-sotto-card a {
    font-weight: bold;
    color: black;
    text-decoration: none;
}

.hcw-sotto-card a:hover {
    color: var(--hcw-blu);
    text-decoration: underline;
}

/* Gruppi campo e input: era .input-prepend con .add-on stile .btn-primary */
.hcw-control-group {
    margin-bottom: 12px;
}

.hcw-label {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    color: #333333;
}

.hcw-input-group {
    display: flex;
}

.hcw-input-addon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    padding: 0 6px;
    color: white;
    text-shadow: none;
    background-color: #2877aa;
    background-image: linear-gradient(#3693cf, #2877aa);
    border: 1px solid #cccccc;
    border-right: 0;
    border-radius: 2px 0 0 2px;
}

button.hcw-input-addon {
    cursor: pointer;
}

.hcw-input-addon .material-symbols-outlined {
    font-size: 18px;
}

.hcw-auth .form-control.hcw-input {
    height: 34px;
    border: 1px solid #cccccc;
    border-radius: 2px;
    background: #ffffff;
    font-size: 13px;
    color: #000000;
    padding: 4px 8px;
    box-shadow: none;
}

.hcw-auth .hcw-input-group .form-control.hcw-input {
    flex: 1 1 auto;
    border-radius: 0 2px 2px 0;
}

/* Nel vecchio i campi della card di login erano in grassetto */
.hcw-card .form-control.hcw-input {
    font-weight: bold;
}

.hcw-auth .form-control.hcw-input:hover {
    background: #fafafa;
}

.hcw-auth .form-control.hcw-input:focus {
    border-color: rgba(82, 168, 236, 0.8);
    outline: none;
    box-shadow: 0 0 8px rgba(82, 168, 236, 0.6);
}

/* Bottoni stile Bootstrap 2 del vecchio portale (.btn / .btn-danger) */
.hcw-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 14px;
    font-size: 13px;
    line-height: 20px;
    border-radius: 4px;
    cursor: pointer;
    color: #333333;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    background-color: #f5f5f5;
    background-image: linear-gradient(#ffffff, #e6e6e6);
    border: 1px solid #cccccc;
    border-bottom-color: #b3b3b3;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.hcw-btn:hover {
    color: #333333;
    background-color: #e6e6e6;
    background-image: none;
}

.hcw-btn--primary {
    color: white;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: var(--hcw-blu);
    background-image: none;
    border-color: var(--hcw-blu);
    border-bottom-color: #123a5e;
}

.hcw-btn--primary:hover {
    color: white;
    background-color: #174a79;
}

/* Widget stile vecchio portale (recupero password, registrazione) */
.hcw-widget {
    margin-bottom: 20px;
}

.hcw-widget__header {
    background-color: #e8e8e8;
    background-image: linear-gradient(#fcfcfc, #e8e8e8);
    border: 1px solid #b3b3b3;
    border-radius: 2px 2px 0 0;
    padding: 6px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hcw-widget__title {
    color: #333333;
    font-weight: bold;
    font-size: 16px;
}

.hcw-widget__body {
    background: #ffffff;
    border: 1px solid #b3b3b3;
    border-top: 0;
    border-radius: 0 0 2px 2px;
    padding: 15px 10px;
}

.hcw-widget__istruzioni {
    margin: 0 0 12px;
    font-weight: bold;
}

/* Nei widget del vecchio i campi erano stretti, non a tutta larghezza */
.hcw-widget .form-control.hcw-input {
    max-width: 340px;
}
