/* _content/HerescopeBackoffice/Components/Layout/LogoutComponent.razor.rz.scp.css */
/* Stili centralizzati in wwwroot/css/site.css - sezione 5. BUTTONS (.logout-link) */
/* _content/HerescopeBackoffice/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-j9tk0dzjyv] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-j9tk0dzjyv] {
    flex: 1;
}

.sidebar[b-j9tk0dzjyv] {
    /*background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);*/
    background-image: linear-gradient(180deg, rgb(0, 0, 0) 100%, #3a0647 0%);
}


.top-row[b-j9tk0dzjyv] {
    background-color: var(--h3s-black);
    border-bottom: none;
    justify-content: center;
    height: 75px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: var(--h3s-z-sticky);
}

    .top-row[b-j9tk0dzjyv]  a, .top-row[b-j9tk0dzjyv]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-j9tk0dzjyv]  a:hover, .top-row[b-j9tk0dzjyv]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-j9tk0dzjyv]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-j9tk0dzjyv] {
        justify-content: space-between;
    }

    .top-row[b-j9tk0dzjyv]  a, .top-row[b-j9tk0dzjyv]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-j9tk0dzjyv] {
        flex-direction: row;
    }

    .sidebar[b-j9tk0dzjyv] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-j9tk0dzjyv] {
        position: sticky;
        top: 0;
        z-index: var(--h3s-z-sticky, 1);
    }

    .top-row.auth[b-j9tk0dzjyv]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-j9tk0dzjyv], article[b-j9tk0dzjyv] {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
}

/* #blazor-error-ui - centralizzato in site.css */
/* _content/HerescopeBackoffice/Components/Layout/NavMenu.razor.rz.scp.css */
:root[b-kx5zuvk5l6] {
    --colore-custom: var(--h3s-accent, #f42b55);
}

.navbar-toggler[b-kx5zuvk5l6] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-kx5zuvk5l6] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-kx5zuvk5l6] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-kx5zuvk5l6] {
    font-size: 1.1rem;
}

.bi[b-kx5zuvk5l6] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-kx5zuvk5l6] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-kx5zuvk5l6] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-kx5zuvk5l6] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

/* ========================================
   NAV ITEMS
   ======================================== */
.nav-item[b-kx5zuvk5l6] {
    font-size: 0.9rem;
    padding-bottom: 0.25rem;
}

    .nav-item:first-of-type[b-kx5zuvk5l6] {
        padding-top: 0.75rem;
    }

    .nav-item:last-of-type[b-kx5zuvk5l6] {
        padding-bottom: 0.5rem;
    }

    .nav-item[b-kx5zuvk5l6]  .nav-link {
        color: var(--h3s-text-on-dark, #d7d7d7);
        background: none;
        border: none;
        border-radius: 4px;
        height: 2.75rem;
        display: flex;
        align-items: center;
        line-height: 2.75rem;
        width: 100%;
        transition: all 0.2s ease;
    }

    .nav-item[b-kx5zuvk5l6]  a.active {
        background-color: rgba(255,255,255,0.37);
        color: var(--h3s-accent, #f42b55);
    }

    .nav-item[b-kx5zuvk5l6]  .nav-link:hover {
        background-color: rgba(255,255,255,0.06);
        color: var(--h3s-accent, #f42b55);
    }

/* Nasconde le icone Open Iconic duplicate (ogni link ha SVG + span.oi) */
.nav-item[b-kx5zuvk5l6]  .nav-link .oi {
    display: none;
}

/* Icone SVG nel menu */
.nav-item[b-kx5zuvk5l6]  .nav-link svg {
    margin-right: 0.75rem;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

/* ========================================
   NAV SCROLLABLE - Nasconde scrollbar
   ======================================== */
.navbar-toggler:checked ~ .nav-scrollable[b-kx5zuvk5l6] {
    display: block;
}

/* ========================================
   SEZIONE BOTTOM (lingua + mappa)
   ======================================== */
[b-kx5zuvk5l6] .nav-bottom-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 0.75rem;
    flex-shrink: 0;
}

/* ========================================
   DESKTOP (>= 641px)
   ======================================== */
@media (min-width: 641px) {
    .navbar-toggler[b-kx5zuvk5l6] {
        display: none;
    }

    .nav-scrollable[b-kx5zuvk5l6] {
        display: flex;
        flex-direction: column;
        height: calc(100vh - 3.5rem);
        overflow-y: auto;

        /* Nasconde scrollbar ma permette scroll */
        scrollbar-width: none;           /* Firefox */
        -ms-overflow-style: none;        /* IE/Edge */
    }

    .nav-scrollable[b-kx5zuvk5l6]::-webkit-scrollbar {
        display: none;                   /* Chrome/Safari */
    }

    /* Nav principale prende lo spazio, lingua/mappa in basso */
    .nav-scrollable > nav[b-kx5zuvk5l6] {
        display: flex;
        flex-direction: column;
        flex: 1;
        min-height: 0;
    }
}

/* ========================================
   MOBILE (<= 640px)
   ======================================== */
@media (max-width: 640.98px) {
    .nav-scrollable[b-kx5zuvk5l6] {
        max-height: calc(100vh - 3.5rem);
        overflow-y: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .nav-scrollable[b-kx5zuvk5l6]::-webkit-scrollbar {
        display: none;
    }

    .nav-item[b-kx5zuvk5l6] {
        padding-bottom: 0.15rem;
    }

    .nav-item[b-kx5zuvk5l6]  .nav-link {
        height: 2.5rem;
        line-height: 2.5rem;
        font-size: 0.85rem;
    }

    .nav-item[b-kx5zuvk5l6]  .nav-link svg {
        width: 16px;
        height: 16px;
    }

    [b-kx5zuvk5l6] .nav-bottom-section {
        padding: 0.5rem;
    }
}
/* _content/HerescopeBackoffice/Components/Layout/PaginaUtenteComponent.razor.rz.scp.css */
/* Stili centralizzati in wwwroot/css/site.css - sezione 5. BUTTONS (.custom-button) */
/* _content/HerescopeBackoffice/Components/Layout/Shared/Component/Abitazioni/AbitazioniForm.razor.rz.scp.css */
/* Stili centralizzati in wwwroot/css/site.css - sezione 5. BUTTONS (.btn-selezionato) */
/* _content/HerescopeBackoffice/Components/Layout/Shared/Component/Abitazioni/AbitazioniPreferiteComponent.razor.rz.scp.css */
.abitazioni-container[b-7sbtuu3bw7] {
    max-width: 1200px;
    /*margin: 0 auto;*/
    /*padding: 1rem;*/
}

.table-container[b-7sbtuu3bw7] {
    background-color: white;
    border-radius: 8px;
    /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
    overflow: hidden;
}
@media (max-width: 768px) {
    .table-container[b-7sbtuu3bw7] {
        overflow: scroll;
    }
}


.table-header[b-7sbtuu3bw7] {
    background-color: #f3f4f6;
    color: #1f2937;
    font-size: 1.25rem;
    font-weight: 600;
    padding: 1rem;
    margin: 0;
    border-bottom: 1px solid #e5e7eb;
}

.abitazioni-table[b-7sbtuu3bw7] {
    width: 100%;
    border-collapse: collapse;
}

    .abitazioni-table th[b-7sbtuu3bw7],
    .abitazioni-table td[b-7sbtuu3bw7] {
        padding: 0.75rem 1rem;
        text-align: left;
    }

    .abitazioni-table th[b-7sbtuu3bw7] {
        background-color: #f3f4f6;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 0.75rem;
        color: #6b7280;
    }

    .abitazioni-table tr:hover[b-7sbtuu3bw7] {
        background-color: #f9fafb;
    }

    .abitazioni-table tr:not(:last-child)[b-7sbtuu3bw7] {
        border-bottom: 1px solid #e5e7eb;
    }

.stato-badge[b-7sbtuu3bw7] {
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.stato-disponibile[b-7sbtuu3bw7] {
    background-color: #10b981;
    color: white;
}

.stato-venduta[b-7sbtuu3bw7] {
    background-color: #ef4444;
    color: white;
}

.stato-prenotata[b-7sbtuu3bw7] {
    background-color: #f59e0b;
    color: white;
}

.stato-default[b-7sbtuu3bw7] {
    background-color: #6b7280;
    color: white;
}

.no-abitazioni[b-7sbtuu3bw7] {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.no-abitazioni p[b-7sbtuu3bw7] {
    text-align: center;
    padding: 2rem;
    color: #6b7280;
    font-size: 1.125rem;
    margin: 0;
}
/* _content/HerescopeBackoffice/Components/Layout/Shared/Component/Abitazioni/Planimetrie/PlanimetrieManager.razor.rz.scp.css */
/* Stili centralizzati in wwwroot/css/site.css - sezione 13. CAROUSEL (.carousel-prev/next) */
/* NOTA: i nomi classi sono stati rinominati da .prev/.next a .carousel-prev/.carousel-next
   per evitare conflitti. Aggiornare i class names nel componente se necessario. */

/* Manteniamo i nomi originali per compatibilita */
.prev[b-ii1hwrrkjp],
.next[b-ii1hwrrkjp] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    z-index: 1;
    background: none;
    border: none;
}

.prev-icon[b-ii1hwrrkjp],
.next-icon[b-ii1hwrrkjp] {
    filter: invert(1);
    width: 2rem;
    height: 2rem;
}
/* _content/HerescopeBackoffice/Components/Layout/Shared/Component/Altro/DocumentazioneComponent.razor.rz.scp.css */
/* DocumentazioneComponent - Note Personali */

/* Card container */
.note-card[b-41xfwzw4b8] {
    border: 1px solid var(--h3s-border, #dee2e6);
    border-left: 4px solid var(--h3s-accent, #f42b55);
    border-radius: var(--h3s-radius-lg, 12px);
    box-shadow: var(--h3s-shadow-sm, 0 1px 3px rgba(0,0,0,0.05));
    background: var(--h3s-white, #fff);
    transition: box-shadow 0.2s ease;
    overflow: hidden;
}

.note-card:hover[b-41xfwzw4b8] {
    box-shadow: var(--h3s-shadow-md, 0 4px 12px rgba(0,0,0,0.1));
}

/* Header */
.note-header[b-41xfwzw4b8] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.25rem 0.75rem;
    border-bottom: 1px solid var(--h3s-border-light, #e9ecef);
}

.note-header-icon[b-41xfwzw4b8] {
    color: var(--h3s-accent, #f42b55);
    font-size: 1.3rem;
}

.note-title[b-41xfwzw4b8] {
    font-size: 1rem;
    font-weight: 600;
    color: var(--h3s-text-heading, #212529);
    margin: 0;
}

/* Editor container */
.note-editor-wrapper[b-41xfwzw4b8] {
    padding: 1rem 1.25rem;
}

.editor-container[b-41xfwzw4b8] {
    display: flex;
    flex-direction: column;
    min-height: 250px;
    border-radius: var(--h3s-radius-md, 8px);
    overflow: hidden;
}

[b-41xfwzw4b8] .full-height {
    flex-grow: 1;
    min-height: 250px;
    width: 100%;
    border: 1px solid var(--h3s-border-light, #e9ecef);
    border-radius: var(--h3s-radius-md, 8px);
}

/* Radzen HTML Editor overrides */
[b-41xfwzw4b8] .rz-html-editor {
    border: 1px solid var(--h3s-border, #dee2e6);
    border-radius: var(--h3s-radius-md, 8px);
    overflow: hidden;
}

[b-41xfwzw4b8] .rz-html-editor-toolbar {
    background: var(--h3s-bg-section, #f8f9fa);
    border-bottom: 1px solid var(--h3s-border-light, #e9ecef);
    padding: 0.35rem 0.5rem;
    flex-wrap: wrap;
    gap: 0.15rem;
}

[b-41xfwzw4b8] .rz-html-editor-toolbar button {
    border-radius: 4px;
    padding: 0.25rem 0.35rem;
    transition: background 0.15s ease;
}

[b-41xfwzw4b8] .rz-html-editor-toolbar button:hover {
    background: var(--h3s-bg-hover, #e9ecef);
}

[b-41xfwzw4b8] .rz-html-editor-content {
    padding: 0.75rem 1rem;
    min-height: 200px;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Mobile */
@media (max-width: 768px) {
    .note-header[b-41xfwzw4b8] {
        padding: 0.75rem 1rem 0.5rem;
    }

    .note-title[b-41xfwzw4b8] {
        font-size: 0.9rem;
    }

    .note-editor-wrapper[b-41xfwzw4b8] {
        padding: 0.75rem;
    }

    .editor-container[b-41xfwzw4b8] {
        min-height: 180px;
    }

    [b-41xfwzw4b8] .full-height {
        min-height: 180px;
    }

    [b-41xfwzw4b8] .rz-html-editor-content {
        min-height: 150px;
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
    }

    [b-41xfwzw4b8] .rz-html-editor-toolbar {
        padding: 0.25rem;
    }

    [b-41xfwzw4b8] .rz-html-editor-toolbar button {
        padding: 0.2rem 0.25rem;
        font-size: 0.8rem;
    }
}
/* _content/HerescopeBackoffice/Components/Layout/Shared/Component/Altro/DownloadComponent.razor.rz.scp.css */
/* Stili centralizzati in wwwroot/css/site.css - sezione 5. BUTTONS (.custom-button) */
/* _content/HerescopeBackoffice/Components/Layout/Shared/Component/Altro/H3SWebLink.razor.rz.scp.css */
/* Stili centralizzati in wwwroot/css/site.css - sezione 5. BUTTONS (.custom-button) */
/* _content/HerescopeBackoffice/Components/Layout/Shared/Component/Appuntamenti/AppuntamentiPage.razor.rz.scp.css */
/* Stili centralizzati in wwwroot/css/site.css - sezione 12. APPUNTAMENTI (.pallina, .dialog-container) */
/* _content/HerescopeBackoffice/Components/Layout/Shared/Component/Capitolato/ModificaEAssegnaCapitolato.razor.rz.scp.css */
.cliente-row[b-swoexswmv9] {
    cursor: pointer;
    transition: all 0.2s ease;
    vertical-align: middle;
}

    .cliente-row:hover[b-swoexswmv9] {
        background-color: rgba(244, 43, 85, 0.05);
    }

    .cliente-row.selected[b-swoexswmv9] {
        background-color: rgba(244, 43, 85, 0.1);
    }

/* Modal tabs container */
.modal-tabs-container[b-swoexswmv9] {
    width: 100%;
}

.tab-content-container[b-swoexswmv9] {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid var(--h3s-border, #dee2e6);
    border-radius: 0.375rem;
    background-color: #ffffff;
}

/* Parametri form styles */
.parametri-form-container[b-swoexswmv9] {
    padding: 1rem;
}

.parametri-form-container .form-group[b-swoexswmv9] {
    margin-bottom: 1rem;
}

.parametri-form-container .form-label[b-swoexswmv9] {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Abitazioni assignment styles */
.abitazioni-assignment-container[b-swoexswmv9] {
    padding: 1rem;
}

.search-and-filter-section[b-swoexswmv9] {
    background-color: var(--h3s-bg-section, #f8f9fa);
    padding: 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
}

.abitazioni-grid[b-swoexswmv9] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    max-height: 400px;
    overflow-y: auto;
    padding: 0.5rem;
}

.abitazione-card[b-swoexswmv9] {
    transition: all 0.2s ease;
    border-radius: 0.375rem;
    overflow: hidden;
}

.abitazione-card.assegnata[b-swoexswmv9] {
    border-left: 4px solid var(--h3s-success, #28a745);
}

.abitazione-card.non-assegnata[b-swoexswmv9] {
    border-left: 4px solid var(--h3s-danger, #dc3545);
}

.abitazione-card:hover[b-swoexswmv9] {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.assignment-controls[b-swoexswmv9] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.abitazione-details[b-swoexswmv9] {
    margin-top: 0.5rem;
}

.assegnazione-details[b-swoexswmv9] {
    border-left: 3px solid var(--h3s-success, #28a745);
}

.loading-spinner[b-swoexswmv9] {
    padding: 2rem;
}

.empty-state[b-swoexswmv9] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    color: var(--h3s-text-muted, #6c757d);
}

.search-container[b-swoexswmv9] {
    width: 300px;
}

/* Custom styles for action buttons */
.btn-action[b-swoexswmv9] {
    border-radius: 0.375rem;
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
    transition: all 0.2s ease;
}

.btn-action:hover[b-swoexswmv9] {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Form improvements */
.form-control:focus[b-swoexswmv9],
.form-select:focus[b-swoexswmv9] {
    border-color: var(--h3s-accent, #f42b55);
    box-shadow: 0 0 0 0.25rem rgba(244, 43, 85, 0.25);
}

.form-control:disabled[b-swoexswmv9] {
    background-color: var(--h3s-bg-section, #f8f9fa);
    border-color: var(--h3s-border, #dee2e6);
    opacity: 0.65;
}

/* Switch and radio button improvements */
.form-check-input:checked[b-swoexswmv9] {
    background-color: var(--h3s-accent, #f42b55);
    border-color: var(--h3s-accent, #f42b55);
}

.form-switch .form-check-input[b-swoexswmv9] {
    width: 2em;
    margin-left: -2.5em;
}

/* Assignment details improvements */
.assegnazione-details[b-swoexswmv9] {
    border-left: 3px solid var(--h3s-success, #28a745);
    transition: all 0.2s ease;
}

.assegnazione-details:hover[b-swoexswmv9] {
    background-color: #f0f9ff !important;
    border-left-color: #0ea5e9;
}

/* Preview card styling */
.card.bg-light[b-swoexswmv9] {
    border: 1px solid #e3f2fd;
    background: linear-gradient(135deg, var(--h3s-bg-section, #f8f9fa) 0%, #e9ecef 100%);
}

.card.bg-light .card-body[b-swoexswmv9] {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 0.375rem;
}

/* Badge improvements */
.badge[b-swoexswmv9] {
    font-size: 0.7rem;
    padding: 0.25em 0.5em;
}

/* Radio button group styling */
.form-check[b-swoexswmv9] {
    padding: 0.5rem 0.75rem;
    margin: 0.25rem 0;
    border: 1px solid transparent;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.form-check:hover[b-swoexswmv9] {
    background-color: var(--h3s-bg-section, #f8f9fa);
    border-color: var(--h3s-border, #dee2e6);
}

.form-check input[type="radio"]:checked + .form-check-label[b-swoexswmv9] {
    font-weight: 500;
    color: var(--h3s-accent, #f42b55);
}

/* Modal backdrop for assignment modal */
.modal-backdrop[b-swoexswmv9] {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    opacity: 0.5;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .tab-content-container[b-swoexswmv9] {
        padding: 0.75rem;
    }
    
    .abitazioni-grid[b-swoexswmv9] {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 767.98px) {
    .search-container[b-swoexswmv9] {
        width: 100%;
    }
    
    .parametri-form-container[b-swoexswmv9] {
        padding: 0.5rem;
    }
    
    .abitazioni-assignment-container[b-swoexswmv9] {
        padding: 0.5rem;
    }
    
    .search-and-filter-section[b-swoexswmv9] {
        padding: 0.75rem;
    }
    
    .abitazioni-grid[b-swoexswmv9] {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        max-height: 300px;
    }
    
    .assignment-controls .d-none[b-swoexswmv9] {
        display: none !important;
    }
}

@media (max-width: 575.98px) {
    .table td[b-swoexswmv9], .table th[b-swoexswmv9] {
        padding: 0.5rem;
    }

    .avatar-circle[b-swoexswmv9] {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .modal-tabs-container[b-swoexswmv9] {
        margin: -0.5rem;
    }
    
    .tab-content-container[b-swoexswmv9] {
        margin: 0.5rem -0.5rem -0.5rem -0.5rem;
        border-radius: 0;
        border-left: none;
        border-right: none;
        border-bottom: none;
    }
    
    .parametri-form-container[b-swoexswmv9],
    .abitazioni-assignment-container[b-swoexswmv9] {
        padding: 0.25rem;
    }
    
    .abitazione-card .card-body[b-swoexswmv9] {
        padding: 0.75rem;
    }
    
    .abitazione-card .card-title[b-swoexswmv9] {
        font-size: 0.9rem;
    }
    
    .assignment-controls .btn[b-swoexswmv9] {
        padding: 0.25rem 0.5rem;
        font-size: 0.8rem;
    }
}
/* _content/HerescopeBackoffice/Components/Layout/Shared/Component/Cliente/ClientiListSelect.razor.rz.scp.css */
.cliente-row[b-26eykzk06b] {
    cursor: pointer;
    transition: all 0.2s ease;
    vertical-align: middle;
}

    .cliente-row:hover[b-26eykzk06b] {
        background-color: rgba(244, 43, 85, 0.05);
    }

    .cliente-row.selected[b-26eykzk06b] {
        background-color: rgba(244, 43, 85, 0.1);
    }

.avatar-circle[b-26eykzk06b] {
    width: 32px;
    height: 32px;
    background-color: var(--h3s-border, #dee2e6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    color: var(--h3s-text-body, #495057);
    text-transform: uppercase;
}

.email-cell[b-26eykzk06b] {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.empty-state[b-26eykzk06b] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    color: var(--h3s-text-muted, #6c757d);
}

.search-container[b-26eykzk06b] {
    width: 300px;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .email-cell[b-26eykzk06b] {
        max-width: 120px;
    }

    .search-container[b-26eykzk06b] {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .table td[b-26eykzk06b], .table th[b-26eykzk06b] {
        padding: 0.5rem;
    }

    .avatar-circle[b-26eykzk06b] {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
}
/* _content/HerescopeBackoffice/Components/Layout/Shared/Component/Cliente/ClineteRiassuntoDownload.razor.rz.scp.css */
.body[b-fagticn5xa] {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    background-color: var(--h3s-white, #ffffff);
    color: var(--h3s-black, #000000);
    max-width: 1000px;
    margin: 0 auto;
}

.header[b-fagticn5xa] {
    text-align: center;
    margin-bottom: 30px;
}

h1[b-fagticn5xa] {
    font-size: 24px;
    font-weight: 700;
    color: var(--h3s-black, #000000);
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--h3s-black, #000);
    display: inline-block;
}

h2[b-fagticn5xa] {
    font-size: 20px;
    font-weight: 600;
    color: var(--h3s-black, #000000);
    margin-top: 30px;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--h3s-black, #000);
}

.client-info[b-fagticn5xa] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.info-row[b-fagticn5xa] {
    display: flex;
    /*justify-content: space-between;*/
    padding: 10px;
    background-color: var(--h3s-bg-section, #f9f9f9);
    border: 1px solid var(--h3s-border, #ddd);
}

.info-row-note[b-fagticn5xa] {
    padding: 10px;
    background-color: var(--h3s-bg-section, #f9f9f9);
    border: 1px solid var(--h3s-border, #ddd);
}

.label[b-fagticn5xa] {
    font-weight: 600;
    color: var(--h3s-black-hover, #333);
}

.value[b-fagticn5xa] {
    font-weight: 400;
    color: var(--h3s-black, #000);
}

.section-divider[b-fagticn5xa] {
    border-top: 2px solid var(--h3s-black, #000);
    margin: 30px 0;
}

.table-container[b-fagticn5xa] {
    overflow-x: auto;
    margin-top: 20px;
}

table[b-fagticn5xa] {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--h3s-black, #000);
    margin-bottom: 30px;
}

th[b-fagticn5xa], td[b-fagticn5xa] {
    padding: 12px;
    text-align: left;
    border: 1px solid var(--h3s-black, #000);
}

th[b-fagticn5xa] {
    background-color: var(--h3s-black-hover, #333);
    color: var(--h3s-white, #ffffff);
    font-weight: 700;
}

tr:nth-child(even)[b-fagticn5xa] {
    background-color: var(--h3s-bg-section, #f5f5f5);
}

/* _content/HerescopeBackoffice/Components/Layout/Shared/Component/Dipendenti/DipendenteCard.razor.rz.scp.css */
/* Stili centralizzati in wwwroot/css/site.css - sezioni 6. CARDS e 5. BUTTONS
   (.modern-card, .card-header, .user-avatar, .detail-item, .circle-button, etc.)

   Stili specifici di questo componente rimasti qui: */

.modern-card[b-2hma1j0gzs] {
    width: 100% !important;
    height: 100% !important;
    min-height: 350px;
    max-height: 350px;
}
/* _content/HerescopeBackoffice/Components/Layout/Shared/Component/Dipendenti/DipendenteForm.razor.rz.scp.css */
/* Container principale del form */
.dipendente-form-container[b-i08r3fqke5] {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
}

/* Fieldset styling */
.form-fieldset[b-i08r3fqke5] {
    border: 1px solid var(--h3s-border, #dee2e6);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 0;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.form-fieldset legend[b-i08r3fqke5] {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--h3s-text-body, #495057);
    padding: 0 0.75rem;
    margin-bottom: 0;
}

/* Layout a due colonne */
.form-row[b-i08r3fqke5] {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.form-column[b-i08r3fqke5] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.left-column[b-i08r3fqke5] {
    /* Colonna sinistra: Nome, Email, Ruoli */
}

.right-column[b-i08r3fqke5] {
    /* Colonna destra: Cognome, Telefono, Password */
}

/* Form fields */
.form-field[b-i08r3fqke5] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label[b-i08r3fqke5] {
    font-weight: 500;
    color: var(--h3s-text-body, #495057);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

/* Input styling */
.form-input[b-i08r3fqke5] {
    width: 100% !important;
    border: 2px solid var(--h3s-border, #dee2e6) !important;
    border-radius: 8px !important;
    padding: 0.75rem !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
    background-color: #fff !important;
}

.form-input:focus[b-i08r3fqke5] {
    border-color: var(--h3s-accent, #f42b55) !important; /* Colore modificato per coerenza - precedente: #007bff */
    box-shadow: 0 0 0 0.2rem rgba(244,43,85,.25) !important; /* Colore modificato per coerenza - precedente: rgba(0,123,255,.25) */
    outline: none !important;
}

/* Dropdown styling */
.form-dropdown[b-i08r3fqke5] {
    width: 100% !important;
    border: 2px solid var(--h3s-border, #dee2e6) !important;
    border-radius: 8px !important;
    min-height: 2.75rem !important;
    transition: all 0.3s ease !important;
}

.form-dropdown:focus-within[b-i08r3fqke5] {
    border-color: var(--h3s-accent, #f42b55) !important; /* Colore modificato per coerenza - precedente: #007bff */
    box-shadow: 0 0 0 0.2rem rgba(244,43,85,.25) !important; /* Colore modificato per coerenza - precedente: rgba(0,123,255,.25) */
}

/* Password toggle section */
.password-toggle-section[b-i08r3fqke5] {
    margin-bottom: 0.5rem;
}

.password-toggle-btn[b-i08r3fqke5] {
    width: 100% !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

.password-toggle-btn:hover[b-i08r3fqke5] {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Password input container */
.password-input-container[b-i08r3fqke5] {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input[b-i08r3fqke5] {
    flex: 1;
    padding-right: 3rem !important;
}

.password-toggle-icon[b-i08r3fqke5] {
    position: absolute !important;
    right: 0.5rem;
    z-index: 10;
    background: transparent !important;
    border: none !important;
    padding: 0.25rem !important;
}

/* Form actions */
.form-actions[b-i08r3fqke5] {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--h3s-border, #dee2e6);
}

/* Error message panel */
#messagePanel[b-i08r3fqke5] {
    border-radius: 6px;
    padding: 0.75rem;
    margin-top: 0.5rem;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    /* Error colors kept intentional */
}

/* Validator popup styling */
.rz-messages[b-i08r3fqke5] {
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
}

/* Layout responsive */
@media (max-width: 768px) {
    .form-row[b-i08r3fqke5] {
        flex-direction: column;
        gap: 1rem;
    }
    
    .dipendente-form-container[b-i08r3fqke5] {
        padding: 0 1rem;
    }
    
    .form-fieldset[b-i08r3fqke5] {
        padding: 1rem;
    }
    
    .password-toggle-btn[b-i08r3fqke5] {
        font-size: 0.8rem !important;
        padding: 0.5rem 1rem !important;
    }
}

@media (max-width: 576px) {
    .form-fieldset[b-i08r3fqke5] {
        padding: 0.75rem;
    }

    .form-actions[b-i08r3fqke5] {
        flex-direction: column;
        align-items: stretch;
    }

    .form-actions button[b-i08r3fqke5],
    .form-actions .rz-button[b-i08r3fqke5] {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Override stile bottoni Radzen per uniformarli a H3SButton Magenta */
/* ButtonType.Submit - stile base */
[b-i08r3fqke5] .rz-button.rz-button-md.rz-variant-filled.rz-primary.rz-shade-default[type="submit"],
[b-i08r3fqke5] .rz-button.rz-button-md.rz-variant-outlined.rz-success.rz-shade-default[type="submit"],
[b-i08r3fqke5] .rz-button.rz-button-md.rz-variant-outlined.rz-danger.rz-shade-default[type="submit"] {
    background-color: var(--h3s-accent, #f42b55) !important;
    color: white !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
}

/* Hover */
[b-i08r3fqke5] .rz-button.rz-button-md.rz-variant-filled.rz-primary.rz-shade-default[type="submit"]:hover,
[b-i08r3fqke5] .rz-button.rz-button-md.rz-variant-outlined.rz-success.rz-shade-default[type="submit"]:hover,
[b-i08r3fqke5] .rz-button.rz-button-md.rz-variant-outlined.rz-danger.rz-shade-default[type="submit"]:hover {
    background-color: #d91e45 !important;
    color: white !important;
    border: none !important;
}

/* Focus e Active */
[b-i08r3fqke5] .rz-button.rz-button-md.rz-variant-filled.rz-primary.rz-shade-default[type="submit"]:focus,
[b-i08r3fqke5] .rz-button.rz-button-md.rz-variant-filled.rz-primary.rz-shade-default[type="submit"]:active,
[b-i08r3fqke5] .rz-button.rz-button-md.rz-variant-outlined.rz-success.rz-shade-default[type="submit"]:focus,
[b-i08r3fqke5] .rz-button.rz-button-md.rz-variant-outlined.rz-success.rz-shade-default[type="submit"]:active,
[b-i08r3fqke5] .rz-button.rz-button-md.rz-variant-outlined.rz-danger.rz-shade-default[type="submit"]:focus,
[b-i08r3fqke5] .rz-button.rz-button-md.rz-variant-outlined.rz-danger.rz-shade-default[type="submit"]:active {
    background-color: #c41939 !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 0 0 0.25rem rgba(244, 43, 85, 0.25) !important;
    /* Accent focus ring */
}


/* _content/HerescopeBackoffice/Components/Layout/Shared/Component/H3SButton.razor.rz.scp.css */
/* Stili centralizzati in wwwroot/css/site.css - sezione 5. BUTTONS (.h3s-btn) */
/* _content/HerescopeBackoffice/Components/Layout/Shared/Component/Modal.razor.rz.scp.css */
/* Stili centralizzati in wwwroot/css/site.css - sezione 8. MODALS */
/* _content/HerescopeBackoffice/Components/Layout/Shared/Component/ModificaSlotAbitazione.razor.rz.scp.css */
/* Stili centralizzati in wwwroot/css/site.css - sezione 10. LOADING (.loading-overlay, .loading-spinner) */
/* _content/HerescopeBackoffice/Components/Layout/Shared/Component/PreventivoVenditaCard.razor.rz.scp.css */
.preventivo-card-minimal[b-qb0003qhpf] {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin-bottom: 12px;
}

.preventivo-card-minimal:hover[b-qb0003qhpf] {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border-color: var(--h3s-accent, #f42b55);
}

/* Status Indicator */
.status-indicator[b-qb0003qhpf] {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: 12px 0 0 12px;
}

.status-active[b-qb0003qhpf] {
    background: linear-gradient(135deg, var(--h3s-accent, #f42b55), #c41939);
}

.status-expired[b-qb0003qhpf] {
    background: var(--h3s-danger, #dc3545);/*linear-gradient(135deg, #dc3545, #c82333)*/
}

.status-optioned[b-qb0003qhpf] {
    background: linear-gradient(135deg, var(--h3s-warning, #ffc107), #e0a800);
}

.status-option-expired[b-qb0003qhpf] {
    background: linear-gradient(135deg, #fd7e14, #e8590c);
}

.status-confirmed[b-qb0003qhpf] {
    background: linear-gradient(135deg, var(--h3s-success, #28a745), #1e7e34);
}

/* Nota spese extra */
.spese-extra-note[b-qb0003qhpf] {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--h3s-bg-section, #f8f9fa);
    border: 1px solid var(--h3s-border, #dee2e6);
    border-radius: 4px;
    padding: 8px 12px;
    margin-top: 12px;
    font-size: 12px;
    color: var(--h3s-text-muted, #6c757d);
}

.spese-extra-note .info-icon[b-qb0003qhpf] {
    font-size: 16px;
    color: var(--h3s-text-muted, #6c757d);
}

.spese-extra-note .note-text[b-qb0003qhpf] {
    flex: 1;
    font-weight: 500;
}

/* Card Content */
.card-content[b-qb0003qhpf] {
    margin-left: 12px;
}

.card-header-minimal[b-qb0003qhpf] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.cliente-info h6[b-qb0003qhpf] {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--h3s-black, #212529);
}

.cliente-email[b-qb0003qhpf] {
    font-size: 14px;
    color: var(--h3s-text-muted, #6c757d);
    margin-top: 2px;
    display: block;
}

.status-badge[b-qb0003qhpf] {
    text-align: right;
}

.status-text[b-qb0003qhpf] {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 8px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.05);
}

/* Info Grid */
.info-grid[b-qb0003qhpf] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}

.info-item[b-qb0003qhpf] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-label[b-qb0003qhpf] {
    font-size: 12px;
    color: var(--h3s-text-muted, #6c757d);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value[b-qb0003qhpf] {
    font-size: 14px;
    font-weight: 600;
    color: var(--h3s-black, #212529);
}

.info-item.total-price .info-value[b-qb0003qhpf] {
    font-size: 16px;
    color: var(--h3s-accent, #f42b55);
}

.info-value.price[b-qb0003qhpf] {
    font-family: 'Courier New', monospace;
}

/* Expanded Content */
.expanded-content[b-qb0003qhpf] {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--h3s-border, #dee2e6);
}

/* Actions Grid */
.actions-grid[b-qb0003qhpf] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 6px;
    margin-bottom: 12px;
}

.action-btn[b-qb0003qhpf] {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 500;
    color: var(--h3s-text-body, #495057);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    text-transform: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.action-btn.option:hover[b-qb0003qhpf] {
    background: var(--h3s-warning, #ffc107);
    color: #000;
    border-color: var(--h3s-warning, #ffc107);
}

.action-btn.cancel-option:hover[b-qb0003qhpf] {
    background: #fd7e14;
    color: white;
    border-color: #fd7e14;
}

.action-btn.confirm:hover:not(.disabled)[b-qb0003qhpf] {
    background: var(--h3s-success, #28a745);
    color: white;
    border-color: var(--h3s-success, #28a745);
}

.action-btn.confirm.disabled[b-qb0003qhpf] {
    opacity: 0.6;
    cursor: not-allowed;
}

.action-btn.confirm.disabled:hover[b-qb0003qhpf] {
    background: #ffffff;
    color: var(--h3s-text-body, #495057);
    border-color: #e0e0e0;
}

.action-btn.postpone:hover[b-qb0003qhpf] {
    background: #17a2b8;
    color: white;
    border-color: #17a2b8;
}

.action-btn.cancel:hover[b-qb0003qhpf] {
    background: var(--h3s-danger, #dc3545);
    color: white;
    border-color: var(--h3s-danger, #dc3545);
}

.action-btn.cancel-sale[b-qb0003qhpf] {
    border: 1px solid #FF4500;
    font-weight: 600;
}

.action-btn.cancel-sale:hover[b-qb0003qhpf] {
    background: #8B0000;
    color: white;
    border-color: #FF4500;
}

.action-btn.neutral:hover[b-qb0003qhpf] {
    background: var(--h3s-bg-section, #f8f9fa);
    border-color: #adb5bd;
}

/* Simple Mode Actions */
.actions-grid-simple[b-qb0003qhpf] {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.action-btn-simple[b-qb0003qhpf] {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    color: var(--h3s-text-body, #495057);
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    min-width: 150px;
}

.action-btn-simple:hover[b-qb0003qhpf] {
    background: var(--h3s-accent, #f42b55);
    color: white;
    border-color: var(--h3s-accent, #f42b55);
    box-shadow: 0 2px 6px rgba(244, 43, 85, 0.2);
    transform: translateY(-1px);
}

.action-btn-simple:active[b-qb0003qhpf] {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* History Section - Compact & Collapsible */
.history-section-compact[b-qb0003qhpf] {
    background: var(--h3s-bg-section, #f8f9fa);
    border-radius: 6px;
    padding: 8px 12px;
    margin-top: 12px;
}

.history-header[b-qb0003qhpf] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 4px 0;
    transition: all 0.2s ease;
}

.history-header:hover[b-qb0003qhpf] {
    background: rgba(0, 0, 0, 0.02);
    border-radius: 4px;
    margin: -4px;
    padding: 8px;
}

.history-title-compact[b-qb0003qhpf] {
    color: var(--h3s-text-body, #495057);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.history-toggle-icon[b-qb0003qhpf] {
    font-size: 16px;
    color: var(--h3s-text-muted, #6c757d);
    transition: transform 0.2s ease;
}

.history-toggle-icon.expanded[b-qb0003qhpf] {
    transform: rotate(180deg);
}

.history-list-compact[b-qb0003qhpf] {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--h3s-border, #dee2e6);
}

.history-item-compact[b-qb0003qhpf] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    font-size: 11px;
}

.history-text[b-qb0003qhpf] {
    color: var(--h3s-text-body, #495057);
    flex: 1;
    margin-right: 8px;
    line-height: 1.3;
}

.history-date-compact[b-qb0003qhpf] {
    color: var(--h3s-text-muted, #6c757d);
    font-weight: 500;
    white-space: nowrap;
    font-size: 10px;
}

.history-more[b-qb0003qhpf] {
    color: var(--h3s-accent, #f42b55);
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    padding: 4px 0;
    text-align: center;
    border-top: 1px dashed var(--h3s-border, #dee2e6);
    margin-top: 4px;
    padding-top: 8px;
}

.history-more:hover[b-qb0003qhpf] {
    color: #c41939;
    text-decoration: underline;
}

/* Grid Layout per lista preventivi */
.preventivi-grid[b-qb0003qhpf] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 20px;
    padding: 20px 0;
}


/* Responsive Design */
@media (max-width: 768px) {
    .preventivi-grid[b-qb0003qhpf] {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .actions-grid[b-qb0003qhpf] {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
    }
    
    .actions-grid-simple[b-qb0003qhpf] {
        margin-bottom: 8px;
    }
    
    .action-btn-simple[b-qb0003qhpf] {
        padding: 8px 16px;
        font-size: 12px;
        min-width: 120px;
    }
    
    .info-grid[b-qb0003qhpf] {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .card-header-minimal[b-qb0003qhpf] {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
}

/* Styles for calculated payments modal */
.pagamenti-calcolati-container[b-qb0003qhpf] {
    max-height: 70vh;
    overflow-y: auto;
}

.pagamenti-calcolati-container .alert[b-qb0003qhpf] {
    border-radius: 8px;
    border: none;
    font-size: 0.9rem;
}

.pagamenti-calcolati-container .table[b-qb0003qhpf] {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.pagamenti-calcolati-container .table th[b-qb0003qhpf] {
    border-top: none;
    font-weight: 600;
    padding: 12px 8px;
    background-color: var(--h3s-bg-section, #f8f9fa);
    color: var(--h3s-text-body, #495057);
}

.pagamenti-calcolati-container .table td[b-qb0003qhpf] {
    padding: 12px 8px;
    vertical-align: middle;
    border-bottom: 1px solid #e9ecef;
}

.pagamenti-calcolati-container .table tbody tr:hover[b-qb0003qhpf] {
    background-color: var(--h3s-bg-section, #f8f9fa);
}

.pagamenti-calcolati-container .badge[b-qb0003qhpf] {
    font-size: 0.75rem;
    padding: 0.35em 0.5em;
}

.pagamenti-calcolati-container tfoot th[b-qb0003qhpf] {
    border-top: 2px solid var(--h3s-border, #dee2e6);
    background-color: var(--h3s-bg-section, #f8f9fa);
    font-weight: 700;
    padding: 15px 8px;
}

.pagamenti-calcolati-container .text-success[b-qb0003qhpf] {
    color: #198754 !important;
}

.pagamenti-calcolati-container .text-primary[b-qb0003qhpf] {
    color: #0d6efd !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pagamenti-calcolati-container[b-qb0003qhpf] {
        max-height: 60vh;
    }
    
    .pagamenti-calcolati-container .table[b-qb0003qhpf] {
        font-size: 0.8rem;
    }
    
    .pagamenti-calcolati-container .table th[b-qb0003qhpf],
    .pagamenti-calcolati-container .table td[b-qb0003qhpf] {
        padding: 8px 6px;
    }
}
/* _content/HerescopeBackoffice/Components/Layout/Shared/Component/SpeseExtraManager.razor.rz.scp.css */
/* Stili centralizzati in wwwroot/css/site.css - sezioni 9. TABLES e 10. LOADING/EMPTY
   (.modern-table, .type-badge, .empty-state, .loading-state, etc.) */
/* _content/HerescopeBackoffice/Components/Layout/Shared/Component/StatCardGenerica.razor.rz.scp.css */
/* Contenitore principale, mantiene la disposizione in colonna */
/*.data-display {
    border: 0px solid #ccc;
    padding: 10px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}*/

/* Stile per le icone, mantieni la larghezza e l'altezza fisse */
/*.icon {
    margin-right: 15px;
    width: 50px;
    height: 50px;
}*/

/* Stile per i titoli principali */
/*.title {
    font-weight: bold;
    font-size: 25px;
}*/

/* Stile per i titoli secondari */
/*.title-left {
    font-weight: normal;
    font-size: 20px;
    color: black;
    vertical-align: bottom;
}*/

/* Stile per il sottotitolo */
/*.subtitle {
    font-weight: bold;
    color: gray;
    margin-top: 5px;*/ /* Spazio tra il titolo e il sottotitolo */
/*}*/

/* Allineamento orizzontale dei set di icone e titoli */
/*.d-flex {
    display: flex;
    align-items: flex-start;*/ /* Allinea tutti gli elementi a sinistra */
    /*flex-direction: row;*/ /* Disposizione orizzontale */
    /*gap: 10px;*/ /* Distanza tra gli elementi */
    /*width: 100%;*/ /* Assicurati che occupi tutto lo spazio disponibile */
/*}*/

/* Altri margini */
/*.ml-2 {
    margin-left: 0.5rem;
}

.mr-2 {
    margin-right: 0.5rem;
}*/


.data-display[b-qc68ueerq8] {
    border: 0px solid #ccc;
    padding: 10px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.icon[b-qc68ueerq8] {
    margin-right: 15px;
    width: 50px;
    height: 50px;
}

.title[b-qc68ueerq8] {
    font-weight: bold;
    font-size: 25px;
}

.title-left[b-qc68ueerq8] {
    font-weight: normal;
    font-size: 20px;
    color: black;
    vertical-align: bottom;
}

.sub-title[b-qc68ueerq8] {
    color: gray;
}

.subtitle[b-qc68ueerq8] {
    font-weight: bold;
    color: gray;
}

.ml-2[b-qc68ueerq8] {
    margin-left: 0.5rem;
}

.mr-2[b-qc68ueerq8] {
    margin-right: 0.5rem;
}


/* _content/HerescopeBackoffice/Components/Layout/Shared/Component/StatGraficoAbitazioni.razor.rz.scp.css */
.chart-container[b-oslgesv24b] {
    padding-top: 20px; /* Aggiunge spazio sopra il grafico */
}
/* _content/HerescopeBackoffice/Components/Layout/Shared/Component/TimelineModificheStato.razor.rz.scp.css */
/* Container scrollabile con effetto fade e scrollbar personalizzata */
.timeline-scroll-container[b-5ijc8ec128] {
    max-height: 600px;
    overflow-y: auto;
    padding: 20px;
    position: relative;
}

    /* Stile moderno per la scrollbar */
    .timeline-scroll-container[b-5ijc8ec128]::-webkit-scrollbar {
        width: 6px;
    }

    .timeline-scroll-container[b-5ijc8ec128]::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }

    .timeline-scroll-container[b-5ijc8ec128]::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 4px;
    }

        .timeline-scroll-container[b-5ijc8ec128]::-webkit-scrollbar-thumb:hover {
            background: #555;
        }

/* Contenitore principale della timeline */
.timeline-container[b-5ijc8ec128] {
    position: relative;
    margin: 20px 0;
    padding: 20px 0;
}

    /* Linea di collegamento - Moderna con gradiente */
    .timeline-container[b-5ijc8ec128]::before {
        content: "";
        position: absolute;
        background: linear-gradient(180deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
        z-index: 0;
    }

/* Mobile (verticale) */
@media (max-width: 767px) {
    .timeline-container[b-5ijc8ec128]::before {
        left: 28px;
        top: 0;
        bottom: 0;
        width: 2px;
    }
}

/* Desktop (orizzontale) */
@media (min-width: 768px) {
    .timeline-container[b-5ijc8ec128]::before {
        top: 40px;
        left: 0;
        right: 0;
        height: 2px;
    }
}

/* Elementi della timeline con effetto hover */
.timeline-item[b-5ijc8ec128] {
    position: relative;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

    .timeline-item:hover[b-5ijc8ec128] {
        transform: translateY(-3px);
    }

/* Icona con effetto neon e animazione */
.timeline-icon[b-5ijc8ec128] {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 15px;
    z-index: 2;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

    .timeline-icon[b-5ijc8ec128]::after {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 12px;
        opacity: 0.2;
        background: currentColor;
        filter: blur(8px);
        z-index: -1;
    }

.timeline-item:hover .timeline-icon[b-5ijc8ec128] {
    transform: scale(1.05) rotate(10deg);
}

/* Contenuto moderno con bordo sottile */
.timeline-content[b-5ijc8ec128] {
    background: #ffffff;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    width: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.timeline-item:hover .timeline-content[b-5ijc8ec128] {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Header con separatore elegante */
.timeline-header[b-5ijc8ec128] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* Tipografia migliorata */
.timeline-label[b-5ijc8ec128] {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1f2937;
    letter-spacing: -0.25px;
    margin: 0;
}

.timeline-date[b-5ijc8ec128] {
    font-size: 0.75rem;
    font-weight: 500;
    color: #6b7280;
    letter-spacing: 0.25px;
}

.timeline-text[b-5ijc8ec128] {
    font-size: 0.85rem;
    color: #374151;
    line-height: 1.5;
    margin: 4px 0;
}

/* Layout Responsive migliorato */
@media (max-width: 767px) {
    /* Riduci il padding generale del contenitore scrollabile */
    .timeline-scroll-container[b-5ijc8ec128] {
        padding: 10px;
    }

    /* Posiziona meglio la linea verticale in base alle nuove dimensioni */
    .timeline-container[b-5ijc8ec128]::before {
        left: 20px;
        width: 2px;
    }

    /* Riduci il margine sinistro degli elementi della timeline */
    .timeline-item[b-5ijc8ec128] {
        margin-left: 30px;
    }

    /* Riduci la dimensione dell'icona */
    .timeline-icon[b-5ijc8ec128] {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    /* Adatta il contenuto della timeline */
    .timeline-content[b-5ijc8ec128] {
        padding: 12px;
        border-radius: 10px;
        width: auto; /* Occupa lo spazio disponibile senza forzare una larghezza fissa */
    }

    /* Riduci leggermente le dimensioni dei testi */
    .timeline-label[b-5ijc8ec128] {
        font-size: 0.85rem;
    }

    .timeline-date[b-5ijc8ec128] {
        font-size: 0.7rem;
    }

    .timeline-text[b-5ijc8ec128] {
        font-size: 0.8rem;
    }
}

@media (min-width: 768px) {
    .timeline-item[b-5ijc8ec128] {
        flex-direction: column;
        align-items: center;
        text-align: left;
        flex: 1;
        padding: 0 15px;
    }

    .timeline-content[b-5ijc8ec128] {
        /*width: 220px;*/
        margin-top: 15px;
    }

    .timeline-icon[b-5ijc8ec128] {
        margin-bottom: 10px;
    }

    .timeline-container[b-5ijc8ec128] {
        display: flex;
        justify-content: space-between; /* distribuisce gli elementi lungo l'asse orizzontale */
        align-items: flex-start;
    }
}

/* Animazione all'apparizione */
@keyframes timelineItemAppear-b-5ijc8ec128 {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-item[b-5ijc8ec128] {
    animation: timelineItemAppear-b-5ijc8ec128 0.6s ease forwards;
}
/* _content/HerescopeBackoffice/Components/Pages/AbitazionisPage.razor.rz.scp.css */
/* ========================================
   ABITAZIONI PAGE - Stili specifici
   ======================================== */

/* Sticky header per la DataGrid */
.my-sticky-grid .rz-datagrid-header[b-aqlq8piajw] {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--h3s-white, #fff);
}

/* Dropdown panel fit-content */
[b-aqlq8piajw] .rz-dropdown-panel .rz-popup {
    width: fit-content !important;
}

[b-aqlq8piajw] .rz-dropdown-items .rz-dropdown-list {
    width: fit-content !important;
}

[b-aqlq8piajw] .rz-dropdown-panel {
    width: fit-content !important;
    min-width: unset !important;
}

/* ========================================
   STATUS DOTS
   ======================================== */
.dot[b-aqlq8piajw] {
    height: 10px;
    width: 10px;
    background-color: #bbb;
    border-radius: var(--h3s-radius-circle, 50%);
    display: inline-block;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.dot.Venduto[b-aqlq8piajw] {
    background-color: var(--h3s-accent, #f42b55);
}

.dot.Disponibile[b-aqlq8piajw] {
    background-color: var(--h3s-success, #28a745);
}

.dot.Opzionato[b-aqlq8piajw] {
    background-color: var(--h3s-warning, #ffc107);
}

.dot.NonDisponibile[b-aqlq8piajw] {
    background-color: var(--h3s-text-muted, #6c757d);
}

.stato-container[b-aqlq8piajw] {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ========================================
   CUSTOM TABS
   ======================================== */
.custom-tabs-container[b-aqlq8piajw] {
    margin-bottom: 1rem;
    overflow: visible;
    padding: 0 0.5rem;
}

.custom-tabs-nav[b-aqlq8piajw] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    border-bottom: 2px solid var(--h3s-border, #dee2e6);
    padding-bottom: 6px;
}

.custom-tab[b-aqlq8piajw] {
    padding: 0.625rem 1.25rem;
    border: 1px solid var(--h3s-border, #dee2e6);
    border-bottom: none;
    background-color: var(--h3s-bg-section, #f8f9fa);
    color: var(--h3s-text-body, #495057);
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 6px 6px 0 0;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    outline: none;
    flex: 0 0 auto;
}

.custom-tab:hover[b-aqlq8piajw] {
    background-color: var(--h3s-bg-hover, #e9ecef);
    color: var(--h3s-text-heading, #212529);
}

.custom-tab.active[b-aqlq8piajw] {
    background-color: var(--h3s-accent, #f42b55) !important;
    color: white !important;
    border-color: var(--h3s-accent, #f42b55) !important;
    font-weight: 600;
}

.custom-tab.active:hover[b-aqlq8piajw] {
    background-color: var(--h3s-accent-hover, #d91e45) !important;
}

/* Success button override */
[b-aqlq8piajw] .rz-button.rz-success.rz-shade-default,
[b-aqlq8piajw] .rz-button.rz-success {
    background-color: var(--h3s-accent, #f42b55) !important;
}

/* ========================================
   RADZEN DATAGRID OVERRIDES
   ======================================== */
[b-aqlq8piajw] .rz-datatable {
    font-size: 0.9rem;
}

[b-aqlq8piajw] .rz-datatable .rz-datatable-thead th {
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

/* ========================================
   MOBILE (max-width: 768px)
   ======================================== */
@media (max-width: 768px) {
    .custom-tabs-container[b-aqlq8piajw] {
        padding: 0;
        margin-bottom: 0.5rem;
    }

    .custom-tabs-nav[b-aqlq8piajw] {
        gap: 3px;
        padding-bottom: 4px;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .custom-tabs-nav[b-aqlq8piajw]::-webkit-scrollbar {
        display: none;
    }

    .custom-tab[b-aqlq8piajw] {
        font-size: 0.75rem;
        padding: 0.4rem 0.7rem;
        flex: 0 0 auto;
        border-radius: 4px 4px 0 0;
    }

    .stato-container[b-aqlq8piajw] {
        justify-content: center;
        height: 100%;
    }

    /* DataGrid mobile */
    [b-aqlq8piajw] .rz-datatable {
        font-size: 0.78rem;
    }

    [b-aqlq8piajw] .rz-datatable .rz-datatable-thead th {
        font-size: 0.7rem;
        padding: 0.4rem 0.25rem;
    }

    [b-aqlq8piajw] .rz-datatable .rz-datatable-data td {
        padding: 0.35rem 0.25rem;
        font-size: 0.78rem;
    }

    /* Pager compatto su mobile */
    [b-aqlq8piajw] .rz-pager {
        flex-wrap: wrap;
        gap: 0.25rem;
        padding: 0.5rem;
        justify-content: center;
    }

    [b-aqlq8piajw] .rz-pager .rz-paginator-page {
        min-width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    [b-aqlq8piajw] .rz-pager .rz-paginator-element {
        min-width: 28px;
        height: 28px;
    }

    /* Bottoni azione compatti */
    [b-aqlq8piajw] .rz-button.rz-button-sm {
        padding: 0.2rem 0.3rem;
    }

    /* Filtri compatti */
    [b-aqlq8piajw] .rz-cell-filter {
        padding: 0.2rem;
    }

    [b-aqlq8piajw] .rz-cell-filter input {
        font-size: 0.75rem;
        padding: 0.25rem 0.4rem;
    }
}

/* ========================================
   VERY SMALL MOBILE (max-width: 480px)
   ======================================== */
@media (max-width: 480px) {
    .custom-tab[b-aqlq8piajw] {
        font-size: 0.7rem;
        padding: 0.35rem 0.5rem;
    }

    [b-aqlq8piajw] .rz-datatable {
        font-size: 0.72rem;
    }

    [b-aqlq8piajw] .rz-datatable .rz-datatable-thead th {
        font-size: 0.65rem;
        padding: 0.3rem 0.15rem;
    }

    [b-aqlq8piajw] .rz-datatable .rz-datatable-data td {
        padding: 0.25rem 0.15rem;
        font-size: 0.72rem;
    }

    /* Nascondi il testo nei pager, mostra solo frecce */
    [b-aqlq8piajw] .rz-pager .rz-paginator-info {
        display: none;
    }
}
/* _content/HerescopeBackoffice/Components/Pages/AddOnPage.razor.rz.scp.css */
/* Stili centralizzati in wwwroot/css/site.css - sezione 9. TABLES (.table-custom, .badge-custom) */

/* Mobile responsiveness for AddOn table */
@media (max-width: 576px) {
    [b-8ys8z3gxrh] .table-responsive {
        -webkit-overflow-scrolling: touch;
    }

    [b-8ys8z3gxrh] .table-responsive table {
        font-size: 0.8rem;
    }

    [b-8ys8z3gxrh] .table-responsive table th,
    [b-8ys8z3gxrh] .table-responsive table td {
        padding: 0.4rem 0.5rem;
        font-size: 0.78rem;
        white-space: nowrap;
    }

    [b-8ys8z3gxrh] .table-responsive table td:nth-child(2) {
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    [b-8ys8z3gxrh] .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}
/* _content/HerescopeBackoffice/Components/Pages/CapitolatiPage.razor.rz.scp.css */
.capitolati-component[b-xhohdf7cy0] {
    --primary-color: var(--h3s-accent, #f42b55);
    --secondary-color: var(--h3s-text-muted, #6c757d);
    --accent-color: var(--h3s-accent-hover, #d91e45);
    --danger-color: var(--h3s-danger, #dc3545);
    --danger-hover-color: var(--h3s-accent-active, #c82333);
    --page-bg: var(--h3s-bg-section, #f4f7f9);
    --card-bg: var(--h3s-white, #ffffff);
    --card-border-color: var(--h3s-border, #dee2e6);
    --card-shadow: var(--h3s-shadow-sm, 0 2px 5px rgba(0, 0, 0, 0.08));
    --card-hover-shadow: var(--h3s-shadow-hover, 0 5px 15px rgba(0, 0, 0, 0.12));
    --light-gray: var(--h3s-bg-section, #f8f9fa);
    --medium-gray: var(--h3s-bg-hover, #e9ecef);
    --dark-gray: var(--h3s-text-muted, #6c757d);
    --text-color: var(--h3s-text-heading, #212529);
    --text-muted: var(--h3s-text-muted, #6c757d);
    --border-radius: var(--h3s-radius-md, 0.375rem);
    --spacing-unit: 1rem;
}

.page-container[b-xhohdf7cy0] {
    padding: calc(var(--spacing-unit) * 1.5);
    border-radius: var(--border-radius);
}

.page-title[b-xhohdf7cy0] {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 0;
}

.loading-indicator[b-xhohdf7cy0],
.empty-state[b-xhohdf7cy0] {
    text-align: center;
    padding: calc(var(--spacing-unit) * 2);
    color: var(--text-muted);
    background-color: var(--card-bg);
    border: 1px solid var(--card-border-color);
    border-radius: var(--border-radius);
    margin-top: var(--spacing-unit);
}

    .empty-state .empty-icon[b-xhohdf7cy0] {
        font-size: 3rem;
        margin-bottom: var(--spacing-unit);
        display: block;
        color: var(--medium-gray);
    }

.page-header-actions[b-xhohdf7cy0] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-unit);
    margin-bottom: calc(var(--spacing-unit) * 1.5);
}

.btn-add-item[b-xhohdf7cy0] {
    background-color: var(--text-color);
    color: var(--card-bg);
    border: 1px solid var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

    .btn-add-item:hover[b-xhohdf7cy0],
    .btn-add-item:focus[b-xhohdf7cy0] {
        background-color: var(--h3s-black-hover, #333);
        border-color: var(--h3s-black-hover, #333);
        color: var(--card-bg);
        outline: none;
        box-shadow: 0 0 0 0.2rem rgba(66, 70, 73, 0.3);
    }

    .btn-add-item .icon-add[b-xhohdf7cy0] {
        font-size: 1.1rem;
    }

.item-list-container[b-xhohdf7cy0] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: var(--spacing-unit);
}

.item-card[b-xhohdf7cy0] {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

    .item-card:hover[b-xhohdf7cy0] {
        transform: translateY(-3px);
        box-shadow: var(--card-hover-shadow);
    }

.card-content[b-xhohdf7cy0] {
    padding: var(--spacing-unit);
    flex-grow: 1;
}

.detail-item[b-xhohdf7cy0] {
    display: flex;
    align-items: flex-start;
    margin-bottom: calc(var(--spacing-unit) * 0.6);
    color: var(--text-color);
    font-size: 0.9rem;
    gap: 0.6rem;
}

    .detail-item:last-child[b-xhohdf7cy0] {
        margin-bottom: 0;
    }

.detail-icon[b-xhohdf7cy0] {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-top: 0.1em;
    flex-shrink: 0;
}

.detail-label[b-xhohdf7cy0] {
    font-weight: 500;
    color: var(--text-color);
    flex-shrink: 0;
}

.detail-value[b-xhohdf7cy0] {
    color: var(--text-muted);
    flex-grow: 1;
    word-break: break-word;
}

    .detail-value.description[b-xhohdf7cy0] {
        color: var(--text-color);
        line-height: 1.4;
    }

.card-actions[b-xhohdf7cy0] {
    display: flex;
    justify-content: flex-end;
    gap: calc(var(--spacing-unit) * 0.5);
    padding: calc(var(--spacing-unit) * 0.75);
    background-color: var(--light-gray);
    border-top: 1px solid var(--card-border-color);
}

.btn-action[b-xhohdf7cy0] {
    background-color: transparent;
    border: none;
    color: var(--secondary-color);
    padding: 0.3rem 0.6rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
}

    .btn-action i[b-xhohdf7cy0] {
        font-size: 1rem;
    }

    .btn-action:hover[b-xhohdf7cy0] {
        background-color: var(--medium-gray);
        color: var(--text-color);
    }

.btn-edit:hover[b-xhohdf7cy0] {
    color: var(--primary-color);
}

.btn-delete:hover[b-xhohdf7cy0] {
    color: var(--danger-color);
}

.action-text[b-xhohdf7cy0] {
    display: none;
}

[b-xhohdf7cy0] .modal-dialog {
    max-width: 500px;
    margin: 1.75rem auto;
}

[b-xhohdf7cy0] .modal-content {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 576px) {
    [b-xhohdf7cy0] .modal-dialog {
        max-width: 95vw;
        margin: 0.5rem auto;
    }

    .item-list-container[b-xhohdf7cy0] {
        grid-template-columns: 1fr;
    }

    .page-header-actions[b-xhohdf7cy0] {
        flex-direction: column;
        align-items: stretch;
    }
}
/* _content/HerescopeBackoffice/Components/Pages/ClienteDetailsPage.razor.rz.scp.css */
/* Stili centralizzati in wwwroot/css/site.css - sezioni 6. CARDS e 5. BUTTONS
   (.modern-card, .card-header, .btnprova, etc.) */

/* === Extracted from first <style> block === */

.PagatoInTempo[b-esq8l0yb2b] {
    background-color: var(--h3s-success, #28a745); /* verde acceso */
}

.PagatoInRitardo[b-esq8l0yb2b] {
    background-color: var(--h3s-warning, #ffc107); /* arancione/giallo acceso */
}

.Scaduto[b-esq8l0yb2b] {
    background-color: var(--h3s-danger, #dc3545); /* rosso acceso */
}

.InAttesa[b-esq8l0yb2b] {
    background-color: var(--h3s-warning, #ffc107); /* giallo acceso */
}

.card[b-esq8l0yb2b] {
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
}

h5[b-esq8l0yb2b] {
    font-weight: 600;
}

@media (max-width: 576px) {
    .material-icons[b-esq8l0yb2b] {
        font-size: 20px;
    }

    h5[b-esq8l0yb2b] {
        font-size: 1.1rem;
    }
}

.btnprova[b-esq8l0yb2b] {
    background-color: red !important;
}

@media (max-width: 768px) {
    .table-responsive[b-esq8l0yb2b] {
        -webkit-overflow-scrolling: touch;
    }

    .card[b-esq8l0yb2b] {
        border-radius: 0.5rem;
    }

    .table-hover tr[b-esq8l0yb2b] {
        border-bottom: 1px solid var(--h3s-border, #dee2e6);
    }
}

/* Info cliente */
.table-container[b-esq8l0yb2b] {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
}

/* Fix testo che sborda nelle tabelle dati cliente */
.table-container table[b-esq8l0yb2b] {
    table-layout: fixed;
    width: 100%;
}

.table-container table th[b-esq8l0yb2b] {
    width: 40%;
    white-space: nowrap;
    font-size: 0.85rem;
    color: var(--h3s-text-muted, #6c757d);
    font-weight: 500;
    padding: 0.35rem 0.5rem;
    vertical-align: top;
}

.table-container table td[b-esq8l0yb2b] {
    width: 60%;
    word-break: break-word;
    overflow-wrap: anywhere;
    font-size: 0.85rem;
    padding: 0.35rem 0.5rem;
}

/* Carrello table fix overflow */
.table-responsive table[b-esq8l0yb2b] {
    font-size: 0.8rem;
}

.table-responsive table th[b-esq8l0yb2b] {
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.table-responsive table td[b-esq8l0yb2b] {
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

/* Card sections - prevent overflow */
.card[b-esq8l0yb2b] {
    overflow: hidden;
}

.card h5[b-esq8l0yb2b] {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

/* Sezioni Preventivi/Opzionate/Vendute - hide scrollbar */
.container-fluid .card .table-responsive[b-esq8l0yb2b] {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.container-fluid .card .table-responsive[b-esq8l0yb2b]::-webkit-scrollbar {
    display: none;
}

@media (max-width: 768px) {
    .table-container[b-esq8l0yb2b] {
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .table-container[b-esq8l0yb2b]::-webkit-scrollbar {
        display: none;
    }

    .table-container table th[b-esq8l0yb2b] {
        font-size: 0.78rem;
        width: 35%;
    }

    .table-container table td[b-esq8l0yb2b] {
        font-size: 0.78rem;
    }
}

@media (max-width: 576px) {
    .table-container table th[b-esq8l0yb2b] {
        font-size: 0.72rem;
        padding: 0.25rem 0.35rem;
    }

    .table-container table td[b-esq8l0yb2b] {
        font-size: 0.72rem;
        padding: 0.25rem 0.35rem;
    }

    .card h5[b-esq8l0yb2b] {
        font-size: 0.85rem;
    }
}

.edit-button[b-esq8l0yb2b] {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

/* Status dots for carrello */
.stato-disponibile.dot[b-esq8l0yb2b] {
    background-color: var(--h3s-success, #28a745) !important;
}

.stato-venduta.dot[b-esq8l0yb2b] {
    background-color: var(--h3s-danger, #dc3545) !important;
}

.stato-prenotata.dot[b-esq8l0yb2b] {
    background-color: var(--h3s-warning, #ffc107) !important;
}

.stato-sconosciuto.dot[b-esq8l0yb2b] {
    background-color: var(--h3s-text-muted, #6c757d) !important;
}

.dot[b-esq8l0yb2b] {
    height: 12px;
    width: 12px;
    border-radius: 50%;
    display: inline-block;
}

.colonna-dot[b-esq8l0yb2b] {
    width: 3%;
    white-space: nowrap;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
}

/* === Extracted from second <style> block === */

/* Opzione Cards - Bordo Giallo */
.opzione-cards-container[b-esq8l0yb2b] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 12px;
    margin-top: 12px;
}

.opzione-card[b-esq8l0yb2b] {
    background: white;
    border: 1px solid #e0e0e0;
    border-left: 4px solid var(--h3s-warning, #ffc107);
    border-radius: 8px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

    .opzione-card:hover[b-esq8l0yb2b] {
        box-shadow: 0 4px 12px rgba(255, 193, 7, 0.2);
        transform: translateY(-2px);
        border-left-color: #e0a800;
    }

.opzione-header[b-esq8l0yb2b] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.opzione-title[b-esq8l0yb2b] {
    font-size: 14px;
    font-weight: 600;
    color: var(--h3s-black, #212529);
    margin: 0;
    flex: 1;
    margin-right: 8px;
}

.opzione-date[b-esq8l0yb2b] {
    font-size: 12px;
    color: var(--h3s-text-muted, #6c757d);
    font-weight: 500;
    white-space: nowrap;
}

.opzione-details[b-esq8l0yb2b] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.opzione-info[b-esq8l0yb2b] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Vendita Cards - Bordo Verde */
.vendita-cards-container[b-esq8l0yb2b] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 12px;
    margin-top: 12px;
}

.vendita-card[b-esq8l0yb2b] {
    background: white;
    border: 1px solid #e0e0e0;
    border-left: 4px solid var(--h3s-success, #28a745);
    border-radius: 8px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

    .vendita-card:hover[b-esq8l0yb2b] {
        box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
        transform: translateY(-2px);
        border-left-color: #1e7e34;
    }

.vendita-header[b-esq8l0yb2b] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.vendita-title[b-esq8l0yb2b] {
    font-size: 14px;
    font-weight: 600;
    color: var(--h3s-black, #212529);
    margin: 0;
    flex: 1;
    margin-right: 8px;
}

.vendita-date[b-esq8l0yb2b] {
    font-size: 12px;
    color: var(--h3s-text-muted, #6c757d);
    font-weight: 500;
    white-space: nowrap;
}

.vendita-details[b-esq8l0yb2b] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

.vendita-info[b-esq8l0yb2b] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vendita-progress[b-esq8l0yb2b] {
    margin-top: 8px;
}

.progress-info[b-esq8l0yb2b] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.progress-label[b-esq8l0yb2b] {
    font-size: 11px;
    color: var(--h3s-text-muted, #6c757d);
    font-weight: 500;
    text-transform: uppercase;
}

.progress-value[b-esq8l0yb2b] {
    font-size: 11px;
    color: var(--h3s-success, #28a745);
    font-weight: 600;
}

/* Shared Styles */
.info-label[b-esq8l0yb2b] {
    font-size: 12px;
    color: var(--h3s-text-muted, #6c757d);
    font-weight: 500;
}

.info-value[b-esq8l0yb2b] {
    font-size: 12px;
    color: var(--h3s-black, #212529);
    font-weight: 600;
}

    .info-value.price[b-esq8l0yb2b] {
        color: var(--h3s-accent, #f42b55);
        font-family: 'Courier New', monospace;
    }

/* No Data State */
.no-data[b-esq8l0yb2b] {
    text-align: center;
    padding: 40px 20px;
    color: var(--h3s-text-muted, #6c757d);
}

    .no-data .material-icons-outlined[b-esq8l0yb2b] {
        font-size: 3rem;
        opacity: 0.5;
        display: block;
        margin-bottom: 12px;
    }

    .no-data p[b-esq8l0yb2b] {
        margin: 0;
        font-size: 14px;
    }

/* Mobile Responsive */
@media (max-width: 768px) {
    .opzione-cards-container[b-esq8l0yb2b],
    .vendita-cards-container[b-esq8l0yb2b] {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .opzione-card[b-esq8l0yb2b],
    .vendita-card[b-esq8l0yb2b] {
        padding: 10px 12px;
    }

    .opzione-header[b-esq8l0yb2b],
    .vendita-header[b-esq8l0yb2b] {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }

    .opzione-title[b-esq8l0yb2b],
    .vendita-title[b-esq8l0yb2b] {
        margin-right: 0;
    }

    .opzione-date[b-esq8l0yb2b],
    .vendita-date[b-esq8l0yb2b] {
        align-self: flex-end;
        margin-top: -4px;
    }

    .no-data[b-esq8l0yb2b] {
        padding: 20px 10px;
    }

        .no-data .material-icons-outlined[b-esq8l0yb2b] {
            font-size: 2rem;
        }
}

/* Stili per i modal migliorati */
.modal-content-abitazione[b-esq8l0yb2b],
.modal-content-capitolato[b-esq8l0yb2b] {
    background: #fff;
    border-radius: 12px;
    padding: 0;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    min-width: 600px;
    max-width: 900px;
}

.modal-header-custom[b-esq8l0yb2b] {
    display: flex;
    align-items: center;
    padding: 24px 24px 20px;
    border-bottom: 2px solid var(--h3s-bg-section, #f8f9fa);
    margin-bottom: 20px;
}

.header-icon[b-esq8l0yb2b] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--h3s-accent, #f42b55), #c41939);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    box-shadow: 0 4px 12px rgba(244, 43, 85, 0.3);
}

.header-icon i[b-esq8l0yb2b] {
    color: white;
    font-size: 24px;
}

.header-content h4[b-esq8l0yb2b] {
    margin: 0 0 4px 0;
    color: var(--h3s-black, #212529);
    font-weight: 600;
    font-size: 1.25rem;
}

.filter-section[b-esq8l0yb2b] {
    padding: 0 24px;
}

.filter-section .input-group-text[b-esq8l0yb2b] {
    background: var(--h3s-bg-section, #f8f9fa);
    border: 1px solid var(--h3s-border, #dee2e6);
    color: var(--h3s-text-muted, #6c757d);
}

.modern-data-grid[b-esq8l0yb2b] {
    border: none !important;
    box-shadow: none !important;
}

.modern-data-grid .rz-datatable-data td[b-esq8l0yb2b] {
    padding: 12px 8px;
    border-bottom: 1px solid #f1f3f4;
    vertical-align: middle;
}

.modern-data-grid .rz-datatable-data tr:hover[b-esq8l0yb2b] {
    background-color: #f8f9ff;
    transition: background-color 0.2s ease;
}

.modern-data-grid .rz-state-active[b-esq8l0yb2b] {
    background-color: #e3f2fd !important;
    border-left: 3px solid #2196f3;
}

.status-indicator[b-esq8l0yb2b] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.price-badge[b-esq8l0yb2b] {
    background: linear-gradient(135deg, var(--h3s-success, #28a745), #20c997);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    font-family: 'Courier New', monospace;
}

.price-badge.positive[b-esq8l0yb2b] {
    background: linear-gradient(135deg, #fd7e14, #e67e22);
}

.price-badge.neutral[b-esq8l0yb2b] {
    background: linear-gradient(135deg, var(--h3s-text-muted, #6c757d), #5a6268);
}

.feature-badge[b-esq8l0yb2b] {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--h3s-text-body, #495057);
    font-size: 0.875rem;
}

.feature-badge i[b-esq8l0yb2b] {
    font-size: 16px;
    color: var(--h3s-text-muted, #6c757d);
}

.capitolato-name[b-esq8l0yb2b] {
    display: flex;
    align-items: center;
    color: var(--h3s-black, #212529);
}

.description-text[b-esq8l0yb2b] {
    color: var(--h3s-text-muted, #6c757d);
    font-size: 0.875rem;
    line-height: 1.4;
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.selection-summary[b-esq8l0yb2b] {
    padding: 20px 24px 24px;
    border-top: 2px solid var(--h3s-bg-section, #f8f9fa);
    margin-top: 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.selection-card[b-esq8l0yb2b] {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e3f2fd;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.selection-card.capitolato[b-esq8l0yb2b] {
    border-color: #e8f5e8;
}

.selection-icon[b-esq8l0yb2b] {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--h3s-accent, #f42b55), #c41939);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}

.selection-card.capitolato .selection-icon[b-esq8l0yb2b] {
    background: linear-gradient(135deg, #4caf50, #388e3c);
}

.selection-icon i[b-esq8l0yb2b] {
    color: white;
    font-size: 20px;
}

.selection-details[b-esq8l0yb2b] {
    flex: 1;
    margin-right: 16px;
}

.selection-details h6[b-esq8l0yb2b] {
    margin: 0 0 8px 0;
    color: var(--h3s-black, #212529);
    font-weight: 600;
    font-size: 1rem;
}

.selection-info[b-esq8l0yb2b] {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.info-item[b-esq8l0yb2b] {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--h3s-text-muted, #6c757d);
    font-size: 0.875rem;
}

.info-item.total-price[b-esq8l0yb2b] {
    color: var(--h3s-success, #28a745);
    font-weight: 600;
}

.info-item i[b-esq8l0yb2b] {
    font-size: 16px;
    opacity: 0.8;
}

.confirm-btn[b-esq8l0yb2b] {
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 0.875rem;
    border: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(244, 43, 85, 0.3);
}

.confirm-btn:hover[b-esq8l0yb2b] {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(244, 43, 85, 0.4);
}

.selection-card.capitolato .confirm-btn[b-esq8l0yb2b] {
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.selection-card.capitolato .confirm-btn:hover[b-esq8l0yb2b] {
    box-shadow: 0 4px 16px rgba(40, 167, 69, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .modal-content-abitazione[b-esq8l0yb2b],
    .modal-content-capitolato[b-esq8l0yb2b] {
        min-width: unset;
        max-width: 95vw;
    }

    .selection-card[b-esq8l0yb2b] {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .selection-details[b-esq8l0yb2b] {
        margin-right: 0;
    }

    .selection-info[b-esq8l0yb2b] {
        justify-content: center;
    }

    .confirm-btn[b-esq8l0yb2b] {
        align-self: stretch;
    }
}

/* Minimal Modal Styles */
.modal-content-minimal[b-esq8l0yb2b] {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    min-width: 600px;
    max-width: 900px;
}

.minimal-header[b-esq8l0yb2b] {
    margin-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 15px;
}

.minimal-header h5[b-esq8l0yb2b] {
    margin: 0 0 5px 0;
    color: var(--h3s-black, #212529);
    font-weight: 500;
    font-size: 1.1rem;
}

.minimal-header p[b-esq8l0yb2b] {
    margin: 0;
    font-size: 0.9rem;
}

.minimal-data-grid .rz-datatable-data td[b-esq8l0yb2b] {
    padding: 12px 8px;
    border-bottom: 1px solid #f1f3f4;
    vertical-align: middle;
}

.minimal-data-grid .rz-datatable-data tr:hover[b-esq8l0yb2b] {
    background-color: var(--h3s-bg-section, #f8f9fa);
}

.minimal-data-grid .rz-state-active[b-esq8l0yb2b] {
    background-color: #e3f2fd !important;
}

.status-dot[b-esq8l0yb2b] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
}

.discount-text[b-esq8l0yb2b] {
    background-color: #d4edda;
    color: #155724;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
}

.selection-summary-minimal[b-esq8l0yb2b] {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

/* Responsive for minimal modal */
@media (max-width: 768px) {
    .modal-content-minimal[b-esq8l0yb2b] {
        min-width: unset;
        max-width: 95vw;
        padding: 15px;
    }

    .selection-summary-minimal .d-flex[b-esq8l0yb2b] {
        flex-direction: column;
        gap: 10px;
    }

    .selection-summary-minimal button[b-esq8l0yb2b] {
        align-self: stretch;
    }
}

/* Payment Cards Styles */
.pagamenti-cards-container[b-esq8l0yb2b] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: 16px;
    margin-top: 16px;
}

.pagamento-card[b-esq8l0yb2b] {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.pagamento-card:hover[b-esq8l0yb2b] {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.pagamento-card.completed[b-esq8l0yb2b] {
    border-left: 4px solid var(--h3s-success, #28a745);
    background: linear-gradient(135deg, #ffffff, #f8fff9);
}

.pagamento-card.pending[b-esq8l0yb2b] {
    border-left: 4px solid var(--h3s-warning, #ffc107);
    background: linear-gradient(135deg, #ffffff, #fffef8);
}

.pagamento-card.overdue[b-esq8l0yb2b] {
    border-left: 4px solid var(--h3s-danger, #dc3545);
    background: linear-gradient(135deg, #ffffff, #fff8f8);
}

.pagamento-card.due-soon[b-esq8l0yb2b] {
    border-left: 4px solid #fd7e14;
    background: linear-gradient(135deg, #ffffff, #fef9f6);
}

.pagamento-card.cancelled[b-esq8l0yb2b] {
    border-left: 4px solid var(--h3s-text-muted, #6c757d);
    background: linear-gradient(135deg, #ffffff, var(--h3s-bg-section, #f8f9fa));
    opacity: 0.9;
}

.pagamento-header[b-esq8l0yb2b] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.pagamento-info h6[b-esq8l0yb2b] {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--h3s-black, #212529);
}

.pagamento-preventivo[b-esq8l0yb2b] {
    font-size: 12px;
    color: var(--h3s-text-muted, #6c757d);
    font-weight: 500;
}

.pagamento-status .status-badge[b-esq8l0yb2b] {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.completed[b-esq8l0yb2b] {
    background-color: #d4edda;
    color: #155724;
}

.status-badge.pending[b-esq8l0yb2b] {
    background-color: #fff3cd;
    color: #856404;
}

.status-badge.overdue[b-esq8l0yb2b] {
    background-color: #f8d7da;
    color: #721c24;
}

.status-badge.due-soon[b-esq8l0yb2b] {
    background-color: #ffeaa7;
    color: #b8860b;
}

.status-badge.cancelled[b-esq8l0yb2b] {
    background-color: #e2e3e5;
    color: var(--h3s-text-body, #495057);
}

.pagamento-details[b-esq8l0yb2b] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.pagamento-amount[b-esq8l0yb2b] {
    font-size: 20px;
    font-weight: 700;
    color: var(--h3s-accent, #f42b55);
    font-family: 'Courier New', monospace;
}

.pagamento-dates[b-esq8l0yb2b] {
    text-align: right;
    flex-shrink: 0;
}

.pagamento-actions[b-esq8l0yb2b] {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f1f3f4;
}

.pagamento-actions .btn[b-esq8l0yb2b] {
    border-radius: 6px;
    padding: 4px 8px;
    min-width: 32px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile responsive for payment cards */
@media (max-width: 768px) {
    .pagamenti-cards-container[b-esq8l0yb2b] {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .pagamento-card[b-esq8l0yb2b] {
        padding: 12px;
    }

    .pagamento-header[b-esq8l0yb2b] {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .pagamento-details[b-esq8l0yb2b] {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .pagamento-dates[b-esq8l0yb2b] {
        text-align: left;
    }
}
/* _content/HerescopeBackoffice/Components/Pages/ClientiList.razor.rz.scp.css */
/* ==========================================================================
   CLIENTS LIST COMPONENT STYLES
   ========================================================================== */

/* Layout container - Responsive Grid */
.modern-datalist[b-bis0j24x94] {
    display: grid !important;
    gap: 1rem;
    grid-template-columns: 1fr; /* Default: 1 column for mobile */
    width: 100%;
}

/* Override Radzen DataList default styles */
.modern-datalist .rz-datalist-content[b-bis0j24x94] {
    display: contents !important;
}

.modern-datalist .rz-datalist-item[b-bis0j24x94] {
    display: contents !important;
}

/* Medium screens: 2 columns */
@media (min-width: 768px) {
    .modern-datalist[b-bis0j24x94] {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large screens: 3 columns */
@media (min-width: 1200px) {
    .modern-datalist[b-bis0j24x94] {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card-container[b-bis0j24x94] {
    margin-bottom: 0;
    padding: 0;
    width: 100%;
    border: none !important;
}

/* ==========================================================================
   CLIENT CARD STYLES
   ========================================================================== */

.modern-card[b-bis0j24x94] {
    border-radius: var(--h3s-radius-lg, 12px) !important;
    border: none !important;
    box-shadow: var(--h3s-shadow-sm, 0 3px 10px rgba(0, 0, 0, 0.05));
    transition: all var(--h3s-transition, 0.3s ease);
    overflow: hidden;
    width: 100%;
    height: fit-content;
}

.modern-card:hover[b-bis0j24x94] {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px var(--h3s-accent-glow, rgba(244, 43, 85, 0.1));
}

.mobile-card-layout[b-bis0j24x94] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ==========================================================================
   CLIENT HEADER STYLES
   ========================================================================== */

.card-header[b-bis0j24x94] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar[b-bis0j24x94] {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--h3s-text-heading, #212121);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--h3s-white, white);
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 2px 6px var(--h3s-accent-glow, rgba(244, 43, 85, 0.2));
    flex-shrink: 0;
}

.user-info[b-bis0j24x94] {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex: 1;
}

.user-name[b-bis0j24x94] {
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--h3s-text-heading, #333);
}

.user-email[b-bis0j24x94] {
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--h3s-text-muted, #666);
    margin-bottom: 4px;
}

/* ==========================================================================
   CLIENT DETAILS STYLES
   ========================================================================== */

.compact-details[b-bis0j24x94] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    background-color: var(--h3s-bg-section, #f8f9fc);
    border-radius: var(--h3s-radius-md, 8px);
    padding: 8px;
}

.detail-item[b-bis0j24x94] {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    min-width: 0;
}

.detail-icon[b-bis0j24x94] {
    color: var(--h3s-accent, #f42b55);
    font-size: 16px;
    opacity: 0.8;
    flex-shrink: 0;
}

.detail-value[b-bis0j24x94] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.85rem;
    color: var(--h3s-text-body, #444);
    min-width: 0;
}

/* ==========================================================================
   CLIENT ACTIONS STYLES
   ========================================================================== */

.horizontal-button-bar[b-bis0j24x94] {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    padding: 6px 0;
}

.circle-button[b-bis0j24x94] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--h3s-radius-circle, 50%);
    border: none;
    background-color: var(--h3s-white, white);
    box-shadow: var(--h3s-shadow-sm, 0 2px 4px rgba(0, 0, 0, 0.1));
    cursor: pointer;
    transition: all var(--h3s-transition-fast, 0.2s ease);
    position: relative;
    overflow: hidden;
}

.circle-button:hover[b-bis0j24x94] {
    transform: translateY(-2px);
    box-shadow: var(--h3s-shadow-md, 0 4px 8px rgba(0, 0, 0, 0.12));
}

.circle-button:active[b-bis0j24x94] {
    transform: translateY(0);
}

.button-icon[b-bis0j24x94] {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Action button variants */
.circle-button.primary-action[b-bis0j24x94] {
    background-color: var(--h3s-bg-section, #eef2ff);
    color: var(--h3s-accent, #f42b55);
}

.circle-button.primary-action:hover[b-bis0j24x94] {
    background-color: var(--h3s-bg-hover, #dce4ff);
}

.circle-button.secondary-action[b-bis0j24x94] {
    background-color: var(--h3s-bg-section, #f5f8fa);
    color: var(--h3s-text-muted, #546e7a);
}

.circle-button.secondary-action:hover[b-bis0j24x94] {
    background-color: var(--h3s-bg-hover, #e8eef1);
}

.circle-button.accent-action[b-bis0j24x94] {
    background-color: var(--h3s-bg-section, #fef5f8);
    color: var(--h3s-accent, #f42b55);
}

.circle-button.accent-action:hover[b-bis0j24x94] {
    background-color: var(--h3s-bg-hover, #fde6ee);
}

.circle-button.documented[b-bis0j24x94] {
    background-color: var(--h3s-bg-section, #f4f9f4);
    color: var(--h3s-accent, #f42b55);
}

.circle-button.documented:hover[b-bis0j24x94] {
    background-color: var(--h3s-bg-hover, #e7f3e7);
}

.circle-button.undocumented[b-bis0j24x94] {
    background-color: var(--h3s-bg-section, #f7f7f7);
    color: var(--h3s-text-heading, #212121);
}

.circle-button.undocumented:hover[b-bis0j24x94] {
    background-color: var(--h3s-bg-hover, #eeeeee);
}

/* ==========================================================================
   FILTER CARD STYLES
   ========================================================================== */

.filter-card[b-bis0j24x94] {
    border-radius: var(--h3s-radius-lg, 12px) !important;
    border: none !important;
    box-shadow: var(--h3s-shadow-sm, 0 3px 10px rgba(0, 0, 0, 0.05));
    background-color: var(--h3s-white, white);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 576px) {
    .modern-card[b-bis0j24x94] {
        padding: 12px !important;
    }

    .compact-details[b-bis0j24x94] {
        grid-template-columns: 1fr;
    }

    .horizontal-button-bar[b-bis0j24x94] {
        justify-content: space-around;
        gap: 4px;
    }

    .circle-button[b-bis0j24x94] {
        width: 36px;
        height: 36px;
    }

    .user-name[b-bis0j24x94] {
        font-size: 0.9rem;
    }

    .user-email[b-bis0j24x94] {
        font-size: 0.8rem;
    }
}

/* Extra small screens adjustments */
@media (max-width: 480px) {
    .modern-datalist[b-bis0j24x94] {
        gap: 0.5rem;
    }

    .horizontal-button-bar[b-bis0j24x94] {
        gap: 2px;
    }

    .circle-button[b-bis0j24x94] {
        width: 34px;
        height: 34px;
    }
}

/* ==========================================================================
   BADGE STYLES
   ========================================================================== */

.rz-badge .rz-badge-primary .rz-variant-filled .rz-shade-default .badge-modern[b-bis0j24x94] {
    background-color: var(--h3s-text-heading, #212121) !important;
    color: var(--rz-on-primary);
}

.badge-modern[b-bis0j24x94] {
    background-color: var(--h3s-text-heading, #212121) !important;
    color: var(--h3s-accent, #f42b55) !important;
    border-radius: var(--h3s-radius-sm, 6px);
    padding: 3px 8px;
    font-weight: 500;
    font-size: 0.75rem;
    display: inline-block;
    align-self: flex-start;
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.btnprova[b-bis0j24x94] {
    background-color: var(--h3s-accent, red) !important;
}
/* _content/HerescopeBackoffice/Components/Pages/Dipendenti.razor.rz.scp.css */
/* Stili centralizzati in wwwroot/css/site.css - sezioni CARDS e BUTTONS (.modern-card, .btnprova) */
/* _content/HerescopeBackoffice/Components/Pages/Index.razor.rz.scp.css */
/* Dashboard statistiche - stili specifici della pagina Index */

/* ==============================================
   HERESCOPE BACKOFFICE - STATISTICS PAGE
   MOBILE-OPTIMIZED CSS - VERSIONE CORRETTA
   ============================================== */

/* ==============================================
   1. DASHBOARD HEADER & MAIN TABS
   ============================================== */
.dashboard-header[b-95qdreatw7] {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #000;
    margin-bottom: 1rem;
}

.economic-tab-header[b-95qdreatw7] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 0 1rem 0;
    margin-bottom: 1rem;
}

.year-selector-container[b-95qdreatw7] {
    flex-shrink: 0;
}

.main-tabs[b-95qdreatw7] {
    display: flex;
    gap: 0.5rem;
}

.main-tab[b-95qdreatw7] {
    padding: 0.8rem 1.5rem;
    background: var(--h3s-white);
    border: 1px solid #000;
    color: #000;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.main-tab:hover[b-95qdreatw7] {
    background: #000;
    color: var(--h3s-white);
}

.main-tab.active[b-95qdreatw7] {
    background: #000;
    color: var(--h3s-white);
}

.main-tab-content[b-95qdreatw7] {
    display: none;
}

.main-tab-content.active[b-95qdreatw7] {
    display: block;
}

/* ==============================================
   2. DASHBOARD BASE LAYOUT
   ============================================== */
.stats[b-95qdreatw7] {
    min-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.8rem;
    background-color: var(--h3s-white);
}

.dashboard[b-95qdreatw7] {
    background-color: var(--h3s-white);
    min-height: 100vh;
    padding: 0;
}

.dashboard-grid[b-95qdreatw7],
.sales-dashboard-grid[b-95qdreatw7] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 0.7rem;
    margin-top: 0.5rem;
    padding: 0.5rem;
}

.dashboard-section[b-95qdreatw7] {
    background: var(--h3s-white);
    border: 1px solid #000;
    padding: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    min-height: 450px;
    height: auto;
}

.section-title[b-95qdreatw7] {
    font-weight: 600;
    color: #000;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    display: block;
    border-bottom: 2px solid #000;
    padding-bottom: 0.5rem;
}

/* ==============================================
   3. PERFORMANCE CARDS (Desktop)
   ============================================== */
.performance-compact-grid[b-95qdreatw7] {
    display: flex;
    gap: 0.2rem;
    width: 100%;
    padding-bottom: 0.4rem;
    padding-top: 0.4rem;
    flex-wrap: wrap;
}

.perf-card[b-95qdreatw7] {
    flex: 1 1 45%;
    background-color: var(--h3s-white);
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.35rem 0.35rem 0.9rem 0.35rem;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.perf-card-content[b-95qdreatw7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    width: 100%;
}

.perf-card-title[b-95qdreatw7] {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--h3s-text-muted, #555);
    text-transform: uppercase;
    white-space: nowrap;
}

.perf-main-value[b-95qdreatw7] {
    font-size: 1rem;
    font-weight: 700;
    color: var(--h3s-text-heading, #222);
}

.perf-percentage[b-95qdreatw7] {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--h3s-text-muted, #888);
    margin-left: 0.2rem;
}

.perf-listino[b-95qdreatw7] {
    border-left: 2px solid #000;
}

.perf-promo[b-95qdreatw7] {
    border-left: 2px solid #000;
}

/* ==============================================
   4. RADZEN COMPONENTS - DESKTOP (CORRETTI)
   ============================================== */
[b-95qdreatw7] .rz-card {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    backdrop-filter: blur(10px);
}

[b-95qdreatw7] .rz-datagrid {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

/* Chart container - DIMENSIONI AUMENTATE PER DESKTOP */
[b-95qdreatw7] .rz-chart {
    width: 100%;
    min-height: 350px;
    max-height: 450px;
    border-radius: 15px;
    touch-action: pan-x pan-y;
    overflow: visible !important;
}

[b-95qdreatw7] .rz-chart svg {
    width: 100%;
    height: 100%;
    overflow: visible !important;
}

/* Legenda - dimensioni leggibili */
[b-95qdreatw7] .rz-chart .rz-chart-legend {
    font-size: 0.85rem;
    padding: 0.5rem 0.3rem;
    margin-bottom: 0.5rem;
}

[b-95qdreatw7] .rz-chart .rz-chart-legend-item {
    margin: 0.3rem 0.5rem;
    font-weight: 600;
}

/* Axis titles - PIÙ GRANDI E LEGGIBILI */
[b-95qdreatw7] .rz-chart .rz-axis-title {
    font-size: 0.9rem !important;
    font-weight: 600;
}

/* Axis tick labels - DIMENSIONI CORRETTE */
[b-95qdreatw7] .rz-chart .rz-axis-tick-text {
    font-size: 0.8rem !important;
}

/* Data labels  */
[b-95qdreatw7] .rz-series-data-label {
    font-size: 0.75rem;
    font-weight: 700;
}

[b-95qdreatw7] .rz-chart .rz-chart-canvas {
    padding: 0.8rem;
}

/* ==============================================
   5. TAB CONTAINERS (CORRETTI PER DESKTOP)
   ============================================== */
.tab-chart-container[b-95qdreatw7] {
    width: 100%;
    min-height: 400px;
    max-height: 500px;
    background: linear-gradient(145deg, var(--h3s-white) 0%, var(--h3s-bg-section, #f8fafb) 100%);
    border-radius: var(--h3s-radius-lg, 12px);
    padding: 1.2rem;
    box-shadow: var(--h3s-shadow-md, 0 4px 16px rgba(99, 102, 241, 0.1));
    border: 2px solid var(--h3s-border-light, rgba(99, 102, 241, 0.08));
    display: flex;
    flex-direction: column;
}

.tab-economic-container[b-95qdreatw7] {
    background: var(--h3s-bg-section);
    border-radius: 12px;
    border: 1px solid var(--h3s-border-light);
    box-shadow: none;
}

/* ==============================================
   6. ECONOMIC TABLES - DESKTOP
   ============================================== */
.economic-table[b-95qdreatw7] {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--h3s-white);
    border-radius: 12px;
    overflow: hidden;
    border: none;
    font-size: 0.75rem;
    table-layout: fixed;
    flex: 1;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.economic-table th:nth-child(1)[b-95qdreatw7],
.economic-table td:nth-child(1)[b-95qdreatw7] {
    width: 35%;
    text-align: left;
}

.economic-table th:nth-child(2)[b-95qdreatw7],
.economic-table td:nth-child(2)[b-95qdreatw7] {
    width: 20%;
    text-align: center;
}

.economic-table th:nth-child(3)[b-95qdreatw7],
.economic-table td:nth-child(3)[b-95qdreatw7] {
    width: 20%;
    text-align: center;
}

.economic-table th:nth-child(4)[b-95qdreatw7],
.economic-table td:nth-child(4)[b-95qdreatw7] {
    width: 25%;
    text-align: center;
}

.economic-table thead[b-95qdreatw7] {
    background: #000;
    color: var(--h3s-white);
    position: relative;
}

.economic-table th[b-95qdreatw7] {
    padding: 0.5rem 0.3rem;
    font-weight: 800;
    font-size: 0.6rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.economic-table tbody tr[b-95qdreatw7] {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid #000;
}

.economic-table tbody tr:last-child[b-95qdreatw7] {
    border-bottom: none;
}

.economic-table tbody tr:nth-child(odd)[b-95qdreatw7] {
    background: var(--h3s-bg-section, #f5f5f5);
}

.economic-table td[b-95qdreatw7] {
    padding: 0.4rem 0.3rem;
    text-align: center;
    border: none;
    font-size: 0.62rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.name-cell[b-95qdreatw7] {
    color: #000;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-align: left;
    padding-left: 0.5rem;
    font-size: 0.58rem;
}

.number-cell[b-95qdreatw7] {
    color: #000;
    font-weight: 800;
    background: var(--h3s-white);
    border-radius: 6px;
    border: 1px solid #000;
    font-size: 0.58rem;
}

.percent-cell[b-95qdreatw7] {
    color: #000;
    background: var(--h3s-white);
    border-radius: 8px;
    font-weight: 800;
    border: 2px solid #000;
    font-size: 0.58rem;
}

.value-cell[b-95qdreatw7] {
    color: #000;
    font-weight: 800;
    background: var(--h3s-white);
    border-radius: 6px;
    border: 1px solid #000;
    font-size: 0.58rem;
}

.detail-header[b-95qdreatw7] {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--h3s-text-heading, #1f2937);
    margin: 0 0 0.6rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    padding: 0.4rem 0.6rem;
    border-radius: var(--h3s-radius-md, 8px);
}

/* ==============================================
   7. CASHFLOW CHART (CORRETTO - DESKTOP FULL WIDTH)
   ============================================== */
.card-tab-cashflow-content[b-95qdreatw7] {
    display: flex;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    flex: 1;
}

.cashflow-chart-container[b-95qdreatw7] {
    width: 100%;
    flex: 1;
    min-height: 400px;
    max-height: 500px;
    background: var(--h3s-white);
    padding: 2rem;
    border: 2px solid #000;
    position: relative;
    overflow: visible;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

[b-95qdreatw7] .cashflow-chart-container .rz-chart {
    width: 100%;
    flex: 1;
    min-height: 350px;
    max-height: 450px;
}

/* ==============================================
   8. SUMMARY & STATUS CARDS - DESKTOP
   ============================================== */
.summary-cards-grid[b-95qdreatw7] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    padding: 0 0.3rem;
}

.summary-card[b-95qdreatw7] {
    background: var(--h3s-white);
    border: 1px solid var(--h3s-border-light);
    border-radius: 6px;
    padding: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: box-shadow 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.summary-card-icon[b-95qdreatw7] {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--h3s-white);
    font-size: 1.2rem;
    background: var(--h3s-text-muted);
}

.summary-card-value[b-95qdreatw7] {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--h3s-text-body);
    margin-bottom: 0.2rem;
    line-height: 1.1;
}

.summary-card-label[b-95qdreatw7] {
    font-size: 0.8rem;
    color: var(--h3s-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.status-cards-grid[b-95qdreatw7] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-top: 0.8rem;
}

.status-card[b-95qdreatw7] {
    background: var(--h3s-white);
    border: 1px solid var(--h3s-border-light);
    border-radius: 6px;
    padding: 1rem;
    transition: box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.6rem;
}

.status-icon[b-95qdreatw7] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--h3s-white);
    font-size: 1rem;
    background: var(--h3s-text-muted);
}

.status-content[b-95qdreatw7] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    align-items: center;
}

.status-count[b-95qdreatw7] {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--h3s-text-body);
}

.status-name[b-95qdreatw7] {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--h3s-text-body);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 0.3rem;
}

.status-value[b-95qdreatw7] {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--h3s-text-muted);
}

.status-percent[b-95qdreatw7] {
    font-size: 0.7rem;
    color: var(--h3s-success, #155724);
    font-weight: 600;
    background: #d4edda;
    padding: 0.1rem 0.4rem;
    border-radius: var(--h3s-radius-sm, 4px);
    display: inline-block;
    border: 1px solid #c3e6cb;
}

/* ==============================================
   9. CARD TABS (MOBILE ONLY)
   ============================================== */
.dashboard-section .card-tabs[b-95qdreatw7] {
    display: none;
}

.dashboard-section .card-tab-content[b-95qdreatw7] {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
}

/* ==============================================
   10. MOBILE RESPONSIVE STYLES
   ============================================== */
@media (max-width: 768px) {
    /* Base Layout - ALLINEAMENTO CENTRATO */
    .stats[b-95qdreatw7] {
        padding: 0 !important;
    }

    .dashboard[b-95qdreatw7] {
        background-color: var(--h3s-bg-section);
        padding: 0 !important;
    }

    .dashboard-grid[b-95qdreatw7],
    .sales-dashboard-grid[b-95qdreatw7] {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1.2rem;
        margin-top: 0.5rem;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .container-fluid[b-95qdreatw7] {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Dashboard Sections - CENTRATE */
    .dashboard-section[b-95qdreatw7] {
        padding: 1rem;
        margin-bottom: 1.2rem;
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-radius: 16px;
        min-height: auto;
        height: auto;
        background: var(--h3s-white);
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        overflow: visible;
        width: 100%;
    }

    .section-title[b-95qdreatw7] {
        font-size: 1.1rem;
        font-weight: 700;
        margin-bottom: 1rem;
        margin-left: 0 !important;
        margin-right: 0 !important;
        color: var(--h3s-text-heading, #2c3e50);
        width: 100%;
    }

    /* Headers centrati */
    .dashboard-header[b-95qdreatw7],
    .economic-tab-header[b-95qdreatw7] {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }

    .main-tab-content[b-95qdreatw7] {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Mobile Tab System */
    .dashboard-section .card-tabs[b-95qdreatw7] {
        display: flex;
        margin-bottom: 1rem;
        border-bottom: 2px solid var(--h3s-border);
        background: var(--h3s-white);
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        border-radius: 8px 8px 0 0;
        padding: 0;
    }

    .dashboard-section .card-tab[b-95qdreatw7] {
        flex: 1;
        padding: 0.8rem 0.5rem;
        font-size: 0.8rem;
        font-weight: 700;
        background: transparent;
        border: none;
        cursor: pointer;
        color: var(--h3s-text-muted);
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        border-radius: 6px 6px 0 0;
        position: relative;
    }

    .dashboard-section .card-tab.active[b-95qdreatw7] {
        color: var(--h3s-accent, #6366f1);
        background: var(--h3s-accent-glow, rgba(99, 102, 241, 0.1));
    }

    .dashboard-section .card-tab.active[b-95qdreatw7]::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        right: 0;
        height: 2px;
        background: var(--h3s-accent, #f42b55);
        border-radius: 1px;
    }

    .dashboard-section .card-tab-content[b-95qdreatw7] {
        display: none;
        margin-bottom: 0;
        width: 100%;
    }

    .dashboard-section .card-tab-content.active[b-95qdreatw7] {
        display: block;
    }

    /* Charts - ULTRA COMPATTO MOBILE */
    .tab-chart-container[b-95qdreatw7] {
        width: 100%;
        min-height: 300px;
        max-height: 350px;
        padding: 0.8rem 0.5rem;
        background: var(--h3s-bg-section);
        border-radius: 12px;
        border: 1px solid var(--h3s-border-light);
        box-shadow: none;
        overflow: visible;
        display: flex;
        flex-direction: column;
    }

    /* RADZEN CHARTS - MOBILE ULTRA OTTIMIZZATO */
    [b-95qdreatw7] .rz-chart {
        width: 100% !important;
        min-height: 280px !important;
        max-height: 320px !important;
        touch-action: pan-x pan-y;
        overflow: visible !important;
        border-radius: 12px;
        padding: 0.5rem 0.2rem !important;
    }

    [b-95qdreatw7] .rz-chart svg {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
    }

    /* Legend - NASCOSTA SU MOBILE */
    [b-95qdreatw7] .rz-chart .rz-chart-legend {
        display: none !important;
    }

    [b-95qdreatw7] .rz-chart .rz-chart-legend-item {
        display: none !important;
    }

    /* Axis Titles - NASCOSTI per risparmiare spazio */
    [b-95qdreatw7] .rz-chart .rz-axis-title {
        display: none !important;
    }

    /* Axis Tick Labels - MINIMALI */
    [b-95qdreatw7] .rz-chart .rz-axis-tick-text {
        font-size: 0.6rem !important;
        font-weight: 400 !important;
    }

    /* APPROCCIO DRASTICO: Nascondi TUTTI i testi SVG tranne quelli dell'asse Y */
    [b-95qdreatw7] .rz-chart svg text {
        display: none !important;
        visibility: hidden !important;
    }

    /* Mostra SOLO i testi dell'asse Y (value axis) con text-anchor="end" */
    [b-95qdreatw7] .rz-chart svg text[text-anchor="end"] {
        display: block !important;
        visibility: visible !important;
        font-size: 0.55rem !important;
        font-weight: 500 !important;
    }

    /* Mostra anche i data labels sui marker */
    [b-95qdreatw7] .rz-chart svg g[class*="rz-series-data-label"] text,
    [b-95qdreatw7] .rz-chart svg .rz-series-data-label text {
        display: block !important;
        visibility: visible !important;
        font-size: 0.7rem !important;
        font-weight: 700 !important;
    }

    /* Nascondi la linea dell'asse X */
    [b-95qdreatw7] .rz-chart .rz-category-axis .rz-axis-line,
    [b-95qdreatw7] .rz-chart g[class*="rz-category-axis"] line {
        opacity: 0.2 !important;
    }

    /* Chart Canvas - MASSIMIZZATO */
    [b-95qdreatw7] .rz-chart .rz-chart-canvas {
        padding: 0.3rem 0.1rem !important;
    }

    /* Grid lines - PIÙ VISIBILI per compensare label nascoste */
    [b-95qdreatw7] .rz-chart .rz-grid-lines {
        opacity: 0.4 !important;
    }

    /* Margini ridotti al minimo */
    [b-95qdreatw7] .rz-chart .rz-axis {
        margin: 0.2rem !important;
    }

    /* Markers - PIÙ GRANDI per compensare label */
    [b-95qdreatw7] .rz-chart .rz-marker {
        r: 4 !important;
    }

    /* Cashflow Chart Mobile - COMPATTO */
    .card-tab-cashflow-content[b-95qdreatw7] {
        width: 100% !important;
        display: flex !important;
    }

    .cashflow-chart-container[b-95qdreatw7] {
        width: 100% !important;
        min-height: 320px !important;
        max-height: 360px !important;
        padding: 0.8rem 0.5rem !important;
        background: var(--h3s-bg-section) !important;
        border-radius: 16px !important;
        border: 1px solid var(--h3s-border-light) !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
        overflow: visible !important;
    }

    [b-95qdreatw7] .cashflow-chart-container .rz-chart {
        width: 100% !important;
        min-height: 280px !important;
        max-height: 320px !important;
    }

    /* Economic Tables Mobile */
    .tab-economic-container[b-95qdreatw7] {
        min-height: 300px;
        padding: 1rem;
        background: var(--h3s-bg-section);
        border-radius: 12px;
        border: 1px solid var(--h3s-border-light);
        overflow-x: auto;
    }

    .economic-table[b-95qdreatw7] {
        font-size: 0.75rem;
        line-height: 1.3;
        border-radius: 8px;
        overflow: hidden;
    }

    .economic-table th[b-95qdreatw7] {
        background: linear-gradient(135deg, var(--h3s-text-heading, #2c3e50) 0%, var(--h3s-text-body, #34495e) 100%);
        color: var(--h3s-white);
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        padding: 0.8rem 0.5rem;
        font-size: 0.7rem;
    }

    .economic-table td[b-95qdreatw7] {
        padding: 0.7rem 0.5rem;
        border-bottom: 1px solid var(--h3s-border-light);
        font-size: 0.75rem;
    }

    .name-cell[b-95qdreatw7] {
        font-size: 0.7rem;
        font-weight: 800;
        padding-left: 0.6rem;
        color: var(--h3s-text-heading, #2c3e50);
    }

    .number-cell[b-95qdreatw7],
    .percent-cell[b-95qdreatw7],
    .value-cell[b-95qdreatw7] {
        font-size: 0.75rem;
        padding: 0.5rem 0.6rem;
        font-weight: 600;
    }

    .detail-header[b-95qdreatw7] {
        font-size: 0.9rem;
        font-weight: 800;
        padding: 0.8rem;
        margin-bottom: 0.8rem;
        text-align: center;
    }

    /* Summary Cards Mobile */
    .summary-cards-grid[b-95qdreatw7] {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        padding: 0;
    }

    .summary-card[b-95qdreatw7] {
        padding: 1rem;
        gap: 0.8rem;
        margin-bottom: 0.5rem;
    }

    .summary-card-icon[b-95qdreatw7] {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .summary-card-value[b-95qdreatw7] {
        font-size: 1.4rem;
        color: var(--h3s-text-body);
    }

    .summary-card-label[b-95qdreatw7] {
        color: var(--h3s-text-muted);
    }

    /* Status Cards Mobile */
    .status-cards-grid[b-95qdreatw7] {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    /* Performance Cards Mobile */
    .performance-compact-grid[b-95qdreatw7] {
        gap: 0.5rem;
        flex-direction: column;
    }

    .perf-card[b-95qdreatw7] {
        flex: 1 1 100%;
        padding: 0.6rem;
    }

    .perf-card-title[b-95qdreatw7] {
        font-size: 0.75rem;
    }

    .perf-main-value[b-95qdreatw7] {
        font-size: 1.1rem;
    }

    .perf-percentage[b-95qdreatw7] {
        font-size: 0.8rem;
    }

    /* Radzen Components Mobile */
    [b-95qdreatw7] .rz-card {
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        margin-bottom: 1rem;
    }

    [b-95qdreatw7] .rz-datagrid {
        border-radius: 12px;
        font-size: 0.8rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    }

    [b-95qdreatw7] .rz-datagrid-header {
        font-size: 0.75rem;
    }
}

/* ==============================================
   11. VERY SMALL MOBILE
   ============================================== */
@media (max-width: 480px) {
    .stats[b-95qdreatw7] {
        padding: 0 !important;
    }

    .dashboard-grid[b-95qdreatw7],
    .sales-dashboard-grid[b-95qdreatw7] {
        gap: 1rem;
        padding: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .dashboard-section[b-95qdreatw7] {
        margin-bottom: 1rem;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0.8rem;
        min-height: auto;
            width: 100%;
    }

    .section-title[b-95qdreatw7] {
        font-size: 1rem;
        font-weight: 700;
    }

    /* Charts Extra Small - ULTRA COMPATTI */
    .tab-chart-container[b-95qdreatw7] {
        min-height: 280px;
        max-height: 320px;
        padding: 0.6rem 0.3rem;
    }

    [b-95qdreatw7] .rz-chart {
        min-height: 260px !important;
        max-height: 300px !important;
        border-radius: 10px;
        padding: 0.2rem !important;
    }

    /* Tutto nascosto tranne il grafico stesso */
    [b-95qdreatw7] .rz-chart .rz-chart-legend {
        display: none !important;
    }

    [b-95qdreatw7] .rz-chart .rz-axis-title {
        display: none !important;
    }

    /* APPROCCIO DRASTICO: Nascondi TUTTI i testi SVG tranne quelli dell'asse Y */
    [b-95qdreatw7] .rz-chart svg text {
        display: none !important;
        visibility: hidden !important;
    }

    /* Mostra SOLO i testi dell'asse Y con text-anchor="end" */
    [b-95qdreatw7] .rz-chart svg text[text-anchor="end"] {
        display: block !important;
        visibility: visible !important;
        font-size: 0.5rem !important;
        font-weight: 500 !important;
    }

    /* Mostra anche i data labels sui marker */
    [b-95qdreatw7] .rz-chart svg g[class*="rz-series-data-label"] text,
    [b-95qdreatw7] .rz-chart svg .rz-series-data-label text {
        display: block !important;
        visibility: visible !important;
        font-size: 0.65rem !important;
        font-weight: 700 !important;
    }

    [b-95qdreatw7] .rz-chart .rz-value-axis .rz-axis-tick-text {
        font-size: 0.5rem !important;
    }

    [b-95qdreatw7] .rz-series-data-label {
        font-size: 0.65rem !important;
        font-weight: 700 !important;
    }

    /* Cashflow Extra Small - COMPATTO */
    .cashflow-chart-container[b-95qdreatw7] {
        min-height: 300px !important;
        max-height: 340px !important;
        padding: 0.6rem 0.3rem !important;
    }

    [b-95qdreatw7] .cashflow-chart-container .rz-chart {
        min-height: 260px !important;
        max-height: 300px !important;
    }

    /* Tables Extra Small */
    .economic-table th[b-95qdreatw7],
    .economic-table td[b-95qdreatw7] {
        padding: 0.5rem 0.3rem;
        font-size: 0.65rem;
    }

    .name-cell[b-95qdreatw7] {
        font-size: 0.65rem;
        font-weight: 800;
    }

    .number-cell[b-95qdreatw7],
    .percent-cell[b-95qdreatw7],
    .value-cell[b-95qdreatw7] {
        font-size: 0.7rem;
        font-weight: 600;
    }

    .detail-header[b-95qdreatw7] {
        font-size: 0.85rem;
        font-weight: 800;
        padding: 0.6rem;
        margin-bottom: 0.6rem;
    }

    /* Summary Cards Extra Small */
    .summary-card[b-95qdreatw7] {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
        padding: 1rem;
    }

    .summary-card-icon[b-95qdreatw7] {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .summary-card-value[b-95qdreatw7] {
        font-size: 1.3rem;
        color: var(--h3s-text-body);
    }

    /* Radzen Extra Small */
    [b-95qdreatw7] .rz-card {
        padding: 0.8rem;
        border-radius: 10px;
    }

    [b-95qdreatw7] .rz-datagrid {
        font-size: 0.75rem;
        border-radius: 10px;
    }

    [b-95qdreatw7] .rz-datagrid-header {
        font-size: 0.7rem;
    }
}
/* _content/HerescopeBackoffice/Components/Pages/LicenzePC.razor.rz.scp.css */
/* Mobile responsiveness for LicenzePC table */
@media (max-width: 576px) {
    [b-e9l5nuv18l] .table-responsive {
        -webkit-overflow-scrolling: touch;
    }

    [b-e9l5nuv18l] .table-responsive table {
        font-size: 0.8rem;
    }

    [b-e9l5nuv18l] .table-responsive table th,
    [b-e9l5nuv18l] .table-responsive table td {
        padding: 0.4rem 0.5rem;
        font-size: 0.78rem;
        white-space: nowrap;
    }

    [b-e9l5nuv18l] .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}
/* _content/HerescopeBackoffice/Components/Pages/Login/Login.razor.rz.scp.css */
/* Stili centralizzati in wwwroot/css/site.css - sezione 7. FORMS e 8. MODALS (.h3s-login, .blur-background) */
/* _content/HerescopeBackoffice/Components/Pages/Login/LoginPage.razor.rz.scp.css */
/* Stili centralizzati in wwwroot/css/site.css - sezione 7. FORMS e 8. MODALS (.h3s-login, .blur-background) */
/* _content/HerescopeBackoffice/Components/Pages/SlotPage.razor.rz.scp.css */
/* Mobile responsiveness for SlotPage */
@media (max-width: 576px) {
    [b-f9gm8wem7d] .modal-dialog {
        max-width: 95vw;
        margin: 0.5rem auto;
    }

    [b-f9gm8wem7d] .modal-content {
        padding: 0.75rem;
    }

    [b-f9gm8wem7d] .modal-body .mb-3 {
        margin-bottom: 0.5rem !important;
    }

    [b-f9gm8wem7d] .d-flex.justify-content-between {
        flex-direction: column;
        gap: 0.5rem;
    }
}
/* _content/HerescopeBackoffice/Components/SelettoreLingua.razor.rz.scp.css */
/* Selettore lingua - compatto, dentro la sidebar */
.language-switcher[b-asn1ii3aqu] {
    display: flex;
    gap: 0.35rem;
    background-color: transparent;
    padding: 0.4rem 0;
    flex-wrap: wrap;
    justify-content: center;
}

.language-switcher button[b-asn1ii3aqu] {
    padding: 0.3rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background-color: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    font-size: 0.75rem;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    min-width: 0;
}

.language-switcher button:hover[b-asn1ii3aqu] {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.language-switcher button:focus[b-asn1ii3aqu] {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.language-switcher button.active[b-asn1ii3aqu] {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.language-switcher button.active:hover[b-asn1ii3aqu] {
    background-color: var(--h3s-accent);
    border-color: var(--h3s-accent);
}

/* Mobile - ancora piu compatti */
@media (max-width: 640.98px) {
    .language-switcher[b-asn1ii3aqu] {
        gap: 0.25rem;
        padding: 0.3rem 0;
    }

    .language-switcher button[b-asn1ii3aqu] {
        padding: 0.25rem 0.5rem;
        font-size: 0.7rem;
    }
}
