/* /Pages/HotelBookingCalendar.razor.rz.scp.css */
.hotel-calendar[b-chsxira170] {
    --hc-navy: #0f2540;
    --hc-navy-light: #1c3a5e;
    --hc-accent: #2f8fdb;
    --hc-accent-light: #dceefb;
    --hc-booked: #f3f4f6;
    --hc-booked-text: #b5b8c0;
    --hc-text: #1c1f26;
    --hc-radius: 10px;

    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--hc-text);
    max-width: 760px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 4px 18px rgba(15, 37, 64, 0.08);
}

.hotel-calendar-header[b-chsxira170] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.nav-btn[b-chsxira170] {
    background: var(--hc-navy);
    color: white;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 8px;
    transition: opacity 0.15s ease, transform 0.1s ease;
}

.nav-btn:hover:not(:disabled)[b-chsxira170] {
    transform: scale(1.05);
}

.nav-btn:disabled[b-chsxira170] {
    opacity: 0.3;
    cursor: not-allowed;
}

.months-container[b-chsxira170] {
    display: flex;
    gap: 24px;
    flex: 1;
    overflow-x: auto;
}

.month-block[b-chsxira170] {
    flex: 1;
    min-width: 240px;
}

.month-title[b-chsxira170] {
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    color: var(--hc-navy);
    margin-bottom: 10px;
}

.weekday-row[b-chsxira170] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 4px;
}

.weekday-cell[b-chsxira170] {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: #9aa1ac;
    text-transform: uppercase;
    padding: 4px 0;
}

.days-grid[b-chsxira170] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}

.day-cell[b-chsxira170] {
    position: relative;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.12s ease, color 0.12s ease;
}

.day-cell.empty[b-chsxira170] {
    cursor: default;
}

.day-cell.available[b-chsxira170] {
    background: #f8fafc;
}

.day-cell.available:hover[b-chsxira170] {
    background: var(--hc-accent-light);
}

.day-number[b-chsxira170] {
    font-weight: 500;
}

.day-price[b-chsxira170] {
    font-size: 9px;
    color: var(--hc-accent);
    margin-top: 1px;
}

.day-cell.past[b-chsxira170] {
    color: #d7dae0;
    cursor: not-allowed;
}

.day-cell.booked[b-chsxira170] {
    background: var(--hc-booked);
    color: var(--hc-booked-text);
    text-decoration: line-through;
    cursor: not-allowed;
}

.day-cell.in-range[b-chsxira170] {
    background: var(--hc-accent-light);
    border-radius: 0;
}

.day-cell.selected[b-chsxira170] {
    background: var(--hc-navy);
    color: white;
}

.day-cell.selected .day-price[b-chsxira170] {
    color: #cfe6fb;
}

.day-cell.range-start[b-chsxira170] {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.day-cell.range-end[b-chsxira170] {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.hotel-calendar-summary[b-chsxira170] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #e5e7eb;
}

.summary-item[b-chsxira170] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.summary-label[b-chsxira170] {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #9aa1ac;
}

.summary-value[b-chsxira170] {
    font-size: 14px;
    font-weight: 600;
    color: var(--hc-navy);
}

.summary-item.total .summary-value[b-chsxira170] {
    color: var(--hc-accent);
    font-size: 16px;
}

.reset-btn[b-chsxira170] {
    margin-left: auto;
    background: none;
    border: 1px solid #d7dae0;
    color: #6b7280;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
}

.reset-btn:hover[b-chsxira170] {
    background: #f8fafc;
    border-color: #b5b8c0;
}

.hotel-calendar-legend[b-chsxira170] {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    font-size: 11px;
    color: #6b7280;
}

.legend-item[b-chsxira170] {
    display: flex;
    align-items: center;
    gap: 5px;
}

.legend-dot[b-chsxira170] {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
}

.legend-dot.available[b-chsxira170] {
    background: var(--hc-accent-light);
    border: 1px solid var(--hc-accent);
}

.legend-dot.selected[b-chsxira170] {
    background: var(--hc-navy);
}

.legend-dot.booked[b-chsxira170] {
    background: var(--hc-booked);
    border: 1px solid var(--hc-booked-text);
}

@media (max-width: 560px) {
    .months-container[b-chsxira170] {
        flex-direction: column;
    }
}
/* /Pages/List/VeicoliAvailabilityGrid.razor.rz.scp.css */
.rent-grid[b-pk4zsgvd4o] {
    --hc-navy: #0f2540;
    --hc-accent: #2f8fdb;
    --hc-accent-light: #dceefb;
    --hc-weekend: #f4f6f9;
    --hc-oggi: #fff7e6;
    --hc-border: #e5e7eb;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    color: #1c1f26;
    background: #ffffff;
    border: 1px solid var(--hc-border);
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 4px 18px rgba(15, 37, 64, 0.08);
    /* Riempie l'altezza che gli viene data dal contenitore esterno (es. un div
       con height fissa o un layout flex/grid a piena pagina). Se il parent è
       "auto" in altezza, height:100% non ha effetto e il componente si
       dimensiona sul contenuto come prima: nessuna regressione. */
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

/* ---- Toolbar ---- */

.rent-grid-toolbar[b-pk4zsgvd4o] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.nav-btn[b-pk4zsgvd4o] {
    background: var(--hc-navy);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
}

.periodo-label[b-pk4zsgvd4o] {
    font-weight: 600;
    color: var(--hc-navy);
    font-size: 14px;
    min-width: 180px;
}

.legend[b-pk4zsgvd4o] {
    display: flex;
    gap: 14px;
    margin-left: auto;
    font-size: 11px;
    color: #6b7280;
    flex-wrap: wrap;
}

.legend-item[b-pk4zsgvd4o] {
    display: flex;
    align-items: center;
    gap: 5px;
}

.legend-dot[b-pk4zsgvd4o] {
    width: 9px;
    height: 9px;
    border-radius: 3px;
    display: inline-block;
}

    .legend-dot.confermata[b-pk4zsgvd4o] {
        background: var(--hc-accent);
    }

    .legend-dot.in-attesa[b-pk4zsgvd4o] {
        background: #f0b429;
    }

    .legend-dot.checked-in[b-pk4zsgvd4o] {
        background: #2fa86a;
    }

    .legend-dot.bloccata[b-pk4zsgvd4o] {
        background: #9aa1ac;
    }

/* ---- Tabella / scroll ---- */

.rent-grid-scroll[b-pk4zsgvd4o] {
    overflow-x: auto;
    overflow-y: auto;
    border: 1px solid var(--hc-border);
    border-radius: 10px;
    /* Si espande a riempire lo spazio verticale rimanente dentro .rent-grid
       (che ha display:flex; flex-direction:column). min-height:0 è
       necessario perché un figlio flex non si comprime sotto la dimensione
       del suo contenuto per impostazione predefinita, il che impedirebbe
       lo scroll interno. */
    flex: 1;
    min-height: 0;
}

.rent-grid-table[b-pk4zsgvd4o] {
    min-width: calc(140px + var(--giorni) * 56px);
    width: max-content;
}

.rent-col[b-pk4zsgvd4o] {
    width: 140px;
    min-width: 140px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding: 0 10px;
    box-sizing: border-box;
}

.date-col[b-pk4zsgvd4o] {
    width: 56px;
    min-width: 56px;
    flex-shrink: 0;
    box-sizing: border-box;
}

/* ---- Header ---- */

.grid-header-row[b-pk4zsgvd4o] {
    display: flex;
    position: sticky;
    top: 0;
    z-index: 3;
    background: #ffffff;
    border-bottom: 1px solid var(--hc-border);
}

.header-cell[b-pk4zsgvd4o] {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    padding: 8px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-left: 1px solid var(--hc-border);
}

.rent-col.header-cell[b-pk4zsgvd4o] {
    border-left: none;
    align-items: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.date-day[b-pk4zsgvd4o] {
    font-size: 14px;
    font-weight: 700;
    color: var(--hc-navy);
}

.date-weekday[b-pk4zsgvd4o] {
    font-size: 10px;
    text-transform: uppercase;
    color: #9aa1ac;
}

.header-cell.oggi[b-pk4zsgvd4o] {
    background: var(--hc-oggi);
}

.header-cell.weekend[b-pk4zsgvd4o] {
    background: var(--hc-weekend);
}

/* ---- Righe camere ---- */

.grid-body-row[b-pk4zsgvd4o] {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid var(--hc-border);
    min-height: 30px;
}

    .grid-body-row:last-child[b-pk4zsgvd4o] {
        border-bottom: none;
    }

.rent-cell[b-pk4zsgvd4o] {
    flex-direction: row;
    align-items: last baseline;
    justify-content: flex-start;
    gap: 6px;
    background: #fafbfc;
    border-right: 1px solid var(--hc-border);
    overflow: hidden;
}

.rent-number[b-pk4zsgvd4o] {
    font-weight: 700;
    font-size: 13px;
    color: var(--hc-navy);
    white-space: nowrap;
}

.rent-type[b-pk4zsgvd4o] {
    font-size: 10px;
    color: #9aa1ac;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.days-strip[b-pk4zsgvd4o] {
    position: relative;
    flex: 1;
    display: flex;
}

.day-cells-row[b-pk4zsgvd4o] {
    display: flex;
    width: 100%;
}

.bg-day-cell[b-pk4zsgvd4o] {
    width: 56px;
    min-width: 56px;
    box-sizing: border-box;
    border-left: 1px solid var(--hc-border);
    display: flex;
    position: relative;
}

    .bg-day-cell.weekend[b-pk4zsgvd4o] {
        background: var(--hc-weekend);
    }

    .bg-day-cell.oggi[b-pk4zsgvd4o] {
        background: var(--hc-oggi);
    }

    /* Linea tratteggiata che segna il confine mattina/pomeriggio (mezzogiorno) */
    .bg-day-cell[b-pk4zsgvd4o]::after {
        content: "";
        position: absolute;
        top: 4px;
        bottom: 4px;
        left: 50%;
        border-left: 1px dashed #d7dae0;
        pointer-events: none;
    }

.bg-half[b-pk4zsgvd4o] {
    width: 50%;
    height: 100%;
    cursor: pointer;
}

    .bg-half:hover[b-pk4zsgvd4o] {
        background: var(--hc-accent-light);
    }

.bookings-overlay[b-pk4zsgvd4o] {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.booking-bar[b-pk4zsgvd4o] {
    --arrow-depth: 9px;
    position: absolute;
    top: 2px;
    bottom: 2px;
    pointer-events: auto;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0 12px;
    overflow: hidden;
    box-sizing: border-box;
    justify-content: center;
}
    .booking-bar.round-start[b-pk4zsgvd4o] {
        border-top-left-radius: 8px;
        border-bottom-left-radius: 8px;
    }

    .booking-bar.round-end[b-pk4zsgvd4o] {
        border-top-right-radius: 8px;
        border-bottom-right-radius: 8px;
    }


    /* Tacca incavata (a freccia, rivolta verso destra) sul lato sinistro:
   mostrata solo quando quel lato corrisponde al vero check-in
   (non tagliato dal bordo del periodo visibile) */
    .booking-bar.arrow-start:not(.arrow-end)[b-pk4zsgvd4o] {
        clip-path: polygon( 0% 0%, 100% 0%, 100% 100%, 0% 100%, var(--arrow-depth) 50% );
    }

    /* Punta sporgente (rivolta verso destra) sul lato destro: check-out reale */
    .booking-bar.arrow-end:not(.arrow-start)[b-pk4zsgvd4o] {
        clip-path: polygon( 0% 0%, calc(100% - var(--arrow-depth)) 0%, 100% 50%, calc(100% - var(--arrow-depth)) 100%, 0% 100% );
    }

    /* Entrambi i lati: tacca a sinistra + punta a destra, stessa direzione */
    .booking-bar.arrow-start.arrow-end[b-pk4zsgvd4o] {
        clip-path: polygon( 0% 0%, calc(100% - var(--arrow-depth)) 0%, 100% 50%, calc(100% - var(--arrow-depth)) 100%, 0% 100%, var(--arrow-depth) 50% );
    }

.booking-label[b-pk4zsgvd4o] {
    font-size: 11px;
    font-weight: 600;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.booking-bar.confermata[b-pk4zsgvd4o] {
    background: var(--hc-accent);
}

.booking-bar.in-attesa[b-pk4zsgvd4o] {
    background: #f0b429;
}

.booking-bar.checked-in[b-pk4zsgvd4o] {
    background: #2fa86a;
}

.booking-bar.bloccata[b-pk4zsgvd4o] {
    background: repeating-linear-gradient( 45deg, #9aa1ac, #9aa1ac 6px, #b5b8c0 6px, #b5b8c0 12px );
}

/* ---- Riepilogo disponibilità ---- */

.grid-footer-row[b-pk4zsgvd4o] {
    display: flex;
    position: sticky;
    bottom: 0;
    z-index: 3;
    background: #fafbfc;
    border-top: 2px solid var(--hc-border);
    box-shadow: 0 -2px 6px rgba(15, 37, 64, 0.06);
}

.footer-label[b-pk4zsgvd4o] {
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.footer-cell[b-pk4zsgvd4o] {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--hc-navy);
    padding: 8px 0;
    border-left: 1px solid var(--hc-border);
}

    .footer-cell.esaurito[b-pk4zsgvd4o] {
        color: #d64545;
    }
/* /Pages/PointOfSale.razor.rz.scp.css */

html[b-kh5rf78x7a], body[b-kh5rf78x7a] {
    height: 100%;
    margin: 0;
    overflow: hidden !important;
}

/*.btn-primary {
    color: #fff;
    font-weight: bold;
    background-color:antiquewhite;
}*/

.line-clamp-2[b-kh5rf78x7a] {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3[b-kh5rf78x7a] {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-1[b-kh5rf78x7a] {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.price-badge[b-kh5rf78x7a] {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
}

.product-scroll[b-kh5rf78x7a] {
    height: calc(100dvh - 8rem);
    overflow-y: scroll;
    padding-right: 10px;
}

.product-grid[b-kh5rf78x7a] {
    height: calc(100dvh - 8rem);
    /*padding-right: 10px;*/
}

.product-card[b-kh5rf78x7a] {
    height: 100%;
    min-height: 14.2rem;
    max-height: 14.2rem;
    cursor: pointer;
    transition: transform 0.2s;
}

    .product-card:hover[b-kh5rf78x7a] {
        transform: scale(1.02);
    }

.product-card2[b-kh5rf78x7a] {
    height: 100%;
    min-height: 6rem;
    max-height: 6rem;
    cursor: pointer;
    transition: transform 0.2s;
    background: #C2E1F3;
}

    .product-card2:hover[b-kh5rf78x7a] {
        transform: scale(1.02);
    }

.cart-sticky[b-kh5rf78x7a] {
    position: sticky;
    top: 0;
    height: calc(100dvh - 30px);
    overflow-y: auto;
    padding-bottom: 1rem;
    background-color: #f8f9fa;
}

@media (max-width: 767.98px) {
    .keypad-row .col-4[b-kh5rf78x7a] {
        flex: 0 0 16.6667%;
        max-width: 16.6667%;
    }

    .keypad-row[b-kh5rf78x7a] {
        flex-wrap: wrap;
    }
}

.payment-btn[b-kh5rf78x7a] {
    aspect-ratio: 1 / 1;
    padding: 1.5rem 0.5rem;
    font-size: 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    border-radius: 1rem;
}

.grid-container[b-kh5rf78x7a] {
    display: grid;
    height: 100dvh;
    margin: 0;
    padding: 0;
    justify-content: center;
}


.pos-col-1[b-kh5rf78x7a] {
    -ms-flex: 0 0 445px;
    flex: 0 0 445px;
    flex-wrap: nowrap;
}

.pos-col-2[b-kh5rf78x7a] {
    flex: 1 1;
    padding: 0;
}

.pos-container[b-kh5rf78x7a] {
    position: relative;
    display: flex;
    width: 100%;
    align-self: stretch;
    flex: 1 1 auto;
    background: #fff;
    max-width: 3000px;
    /*padding-top: 15px;*/
    margin: 0 auto;
    font-family: PulpDisplay,Arial,sans-serif;
}

    .pos-container.fullScreen[b-kh5rf78x7a] {
/*        max-width: none;*/
    }

.table-total-container[b-kh5rf78x7a] {
    width: 100%;
    align-self: end;
    margin-top: auto;
    margin-bottom: 0;
}

.table-total[b-kh5rf78x7a] {
    border-top: 2px solid #ccc;
    margin-bottom: 4px;
}

    .table-total div.bill-total[b-kh5rf78x7a], .table-total tr.bill-total[b-kh5rf78x7a] {
        font-weight: 900;
    }

tr.bill-total td[b-kh5rf78x7a] {
    /*padding: 8px 20px 3px;*/
    font-size: 24px;
}

.table-total tr td[b-kh5rf78x7a] {
    padding: 0 20px 3px;
    border: none;
}

    .table-total div span:first-child[b-kh5rf78x7a], .table-total div td:first-child[b-kh5rf78x7a], .table-total tr span:first-child[b-kh5rf78x7a], .table-total tr td:first-child[b-kh5rf78x7a] {
        text-align: left;
    }

    .table-total div span:last-child[b-kh5rf78x7a], .table-total div td:last-child[b-kh5rf78x7a], .table-total tr span:last-child[b-kh5rf78x7a], .table-total tr td:last-child[b-kh5rf78x7a] {
        text-align: right;
    }

.bill-container[b-kh5rf78x7a] {
    flex-grow: 100;
    overflow-y: auto;
    overflow-x: hidden;
    height: calc(100dvh - 430px);
    /*padding-top: 15px;*/
}

table.table-bill[b-kh5rf78x7a] {
    border-collapse: collapse;
    width: 100%;
    font-size: 14px;
    table-layout: fixed;
    vertical-align: middle;
}

/* Testata della tabella */
.table-bill thead th[b-kh5rf78x7a] {
    font-weight: 400;
    border-bottom: .5px solid #ccc;
    background-color: rgba(0,0,0,.0627451);
    vertical-align: middle;
}

/* Righe e celle del corpo */
/*.table-bill tbody tr {
    border-bottom: 1px solid #ccc;
}*/

/*.table-bill tbody td {
    padding: 8px;
}*/

/* Riga alternata */
/*.table-bill tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}*/

.table-bill th:nth-child(1)[b-kh5rf78x7a],
.table-bill td:nth-child(1)[b-kh5rf78x7a] {
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 20%;
    width: 60%;
}

    /*.table-bill th:nth-child(1),
.table-bill td:nth-child(1) span {
    text-overflow: ellipsis;
    overflow: hidden;
    min-width: 20%;
    width: 60%;
}
*/
    .table-bill td:nth-child(1) span[b-kh5rf78x7a] {
        text-overflow: ellipsis;
        overflow: hidden;
        min-width: 20%;
        width: 60%;
        text-align: left;
        white-space: nowrap;
    }

/* COLONNA DEL CODICE CHE HO RIMOSSO */
/*
.table-bill th:nth-child(2),
.table-bill td:nth-child(2) span {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    width: 16%;
    text-align: left;
}
*/

/* HO SCALATO DI 1 COLONNA, DALLA 3 ALLA 2 */
/* COLONNA QUANTITA' E PREZZO */
.table-bill th:nth-child(2)[b-kh5rf78x7a],
.table-bill th:nth-child(3)[b-kh5rf78x7a],
.table-bill td:nth-child(2)[b-kh5rf78x7a],
.table-bill td:nth-child(3)[b-kh5rf78x7a] {
    text-align: right;
}

/* COLONNA QUANTITA' */
.table-bill th:nth-child(2)[b-kh5rf78x7a],
.table-bill td:nth-child(2)[b-kh5rf78x7a] {
    width: 55px !important;
}

/* COLONNA PREZZO */
.table-bill th:nth-child(3)[b-kh5rf78x7a],
.table-bill td:nth-child(3)[b-kh5rf78x7a] {
    min-width: 66px;
    width: 30%;
}
/* COLONNA ICONA */
.table-bill th:nth-child(4)[b-kh5rf78x7a],
.table-bill td:nth-child(4)[b-kh5rf78x7a],
.table-bill th:nth-child(5)[b-kh5rf78x7a],
.table-bill td:nth-child(5)[b-kh5rf78x7a] {
    min-width: 1% !important;
    width: 34px !important;
    height: 45px !important;
}

.pos-header[b-kh5rf78x7a] {
    --header-background: #2c2c2c;
    background: var(--header-background);
    color: #fff;
    display: flex;
    height: 48px;
    padding: 0 15px 0 15px; 
}

.text--yellow[b-kh5rf78x7a], .text--yellow:active[b-kh5rf78x7a], .text--yellow:focus[b-kh5rf78x7a], .text--yellow:hover[b-kh5rf78x7a], .text--yellow:visited[b-kh5rf78x7a] {
    color: #f4c345;
}


.grid-wrapper[b-kh5rf78x7a] {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    /*height: 100%;*/
    height: calc(100dvh - 48px);
    overflow: hidden;
}

.grid-cell[b-kh5rf78x7a] {
    box-sizing: border-box;
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: antiquewhite
}



.product-card3[b-kh5rf78x7a] {
    font-family: PulpDisplay,Arial,sans-serif;
    font-weight: 400;
    cursor: pointer;
    padding: 2px;
    transition: transform 0.2s;
    background: #C2E1F3;
    border: none;
    margin: 0 8px 8px 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

    .product-card3:hover[b-kh5rf78x7a] {
        filter: brightness(80%);
    }

/*.product-card3::after {
        content: attr(title);
        position: absolute;
        background: #333;
        color: white;
        padding: 4px 8px;
        border-radius: 4px;
        top: 100%;
        left: 0;
        white-space: normal;
        display: none;
        z-index: 10;
    }

    .product-card3:hover::after {
        display: block;
    }*/

.disabledcard[b-kh5rf78x7a] {
    pointer-events: none;
    filter: grayscale(0.25) brightness(0.8) !important;
}

.user-badge[b-kh5rf78x7a] {
    margin-bottom: 12px;
}

.user-icon[b-kh5rf78x7a] {
    padding: 0;
}

    .user-icon img[b-kh5rf78x7a] {
        height: 64px;
        width: 64px;
    }

.user-badge-icon[b-kh5rf78x7a] {
    height: 64px;
    width: 64px;
    display: inline-block;
    overflow: hidden;
    vertical-align: middle;
    text-align: center;
    border-radius: 50%;
}

.user-badge-icon-span[b-kh5rf78x7a] {
    width: inherit;
    height: inherit;
    display: inherit;
    color: #eee;
    line-height: 64px;
    font-size: 64px;
    position: relative;
}

.user-badge-icon-wrapper[b-kh5rf78x7a] {
    align-items: center;
}

.user-badge-data-wrapper[b-kh5rf78x7a] {
    padding-left: 15px;
}

    .user-badge-data-wrapper .row[b-kh5rf78x7a] {
        margin-left: 0;
        text-align: left;
    }

    .user-badge-data-wrapper .col[b-kh5rf78x7a] {
        padding-left: 0;
    }

.user-badge-name[b-kh5rf78x7a] {
    font-size: 24px;
    font-weight: 900;
    color: #232323;
}

.employee-clock-in-time[b-kh5rf78x7a] {
    font-size: 16px;
}

.user-badge-action-buttons .col[b-kh5rf78x7a] {
    padding-right: 10px;
    padding-left: 0;
}

.customer-information-container[b-kh5rf78x7a] {
    padding-right: 0;
    /* margin-top: 24px; */
    color: #000;
}

    .customer-information-container .col:last-child[b-kh5rf78x7a] {
        padding-right: 0;
    }

.mobile-modal-page-container[b-kh5rf78x7a] {
    position: fixed;
    top: 3.5em;
    left: 0;
    bottom: 0;
    right: 0;
    overflow: auto;
    background: #fff;
}

.modal-page-container[b-kh5rf78x7a] {
    background: #fff;
    /* Top is 0 to prevent content from peeking through the top when scrolling with a sticky header */
    padding: 0 1px 1px 1px; /* Resolves bug where browser zoom can cause the background color to hide a thin border */
    /*position: absolute;*/
    overflow-y: auto;
    overflow-x: hidden;
    /*margin-top: -15px;*/
    height: 100%;
    /*bottom: 0;
    left: 0;
    right: 0;*/
    border-left: 1px solid rgba(0, 0, 0, 0.2);
    /* allow the modal to take max height and header to always be on top without making it sticky */
    /* display: flex;
    flex-direction: column;*/
}

.bg-categorie[b-kh5rf78x7a] {
    background: #3998CE;
}

.bg-verde[b-kh5rf78x7a] {
    background: #37AF59;
}



/* TABELLA DOCUMENTI DI VENDITA */
.table-vendite[b-kh5rf78x7a] {
    border-collapse: collapse;
    width: 100%;
    font-size: 14px;
    table-layout: fixed;
    vertical-align: middle;
}

    /* Testata della tabella */
    .table-vendite thead th[b-kh5rf78x7a] {
        font-weight: 400;
        /*border-bottom: .5px solid #ccc;*/
        /*background-color: rgba(0,0,0,.0627451);*/
        vertical-align: middle;
    }

    /* Righe e celle del corpo */
    .table-vendite tbody tr[b-kh5rf78x7a] {
        /*border-style: none !important;*/
        border-bottom: 6px solid #fff;
        height: 62px;
    }

    .table-vendite tbody[b-kh5rf78x7a] {
        padding: 8px;
    }

    /* Riga alternata */
    /*.table-vendite tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}*/

    .table-vendite tr[b-kh5rf78x7a] {
        background-color: #f9f9f9 !important;
    }

    /*.table-vendite th:nth-child(1),
.table-vendite td:nth-child(1) {
    width: 170px !important;
}*/

    /*.table-vendite th:nth-child(1),
.table-vendite td:nth-child(1) span {
    text-overflow: ellipsis;
    overflow: hidden;
    min-width: 20%;
    width: 60%;
}
*/


    /* COLONNA DEL CODICE CHE HO RIMOSSO */
    /*
.table-vendite th:nth-child(2),
.table-vendite td:nth-child(2) span {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    width: 16%;
    text-align: left;
}
*/

    /* COLONNA QUANTITA' E PREZZO */
    .table-vendite th:nth-child(2)[b-kh5rf78x7a],
    .table-vendite td:nth-child(2)[b-kh5rf78x7a] {
        text-align: right;
    }

    /* COLONNA DATA, NUMERO E NOMINATIVO (prima colonna)' */
    .table-vendite th:nth-child(1)[b-kh5rf78x7a],
    .table-vendite td:nth-child(1)[b-kh5rf78x7a] {
        overflow: hidden;
        text-overflow: ellipsis;
        min-width: 20%;
        width: 66%;
    }

    /* COLONNA PREZZO */
    .table-vendite th:nth-child(2)[b-kh5rf78x7a],
    .table-vendite td:nth-child(2)[b-kh5rf78x7a] {
        min-width: 66px;
        width: 30%;
    }
    /* COLONNA ICONA */
    .table-vendite th:nth-child(3)[b-kh5rf78x7a],
    .table-vendite td:nth-child(3)[b-kh5rf78x7a] {
        min-width: 1% !important;
        width: 40px !important;
        height: 45px !important;
        padding-left: 8px;
    }
/* fine TABELLA DOCUMENTI DI VENDITA */

.button-item[b-kh5rf78x7a] {
    margin-left: 4px;
    margin-right: 4px;
    position: relative;
    line-height: 1.23;
    padding: 2px 4px;
    width: 95px;
    height: 65px;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    color: #232323;
}

.btn-grid_dark[b-kh5rf78x7a] {
    color: #212529 !important;
    background-color: #3998ce !important;
    border-color: #3998ce !important;
}

.btn-grid_light[b-kh5rf78x7a] {
    color: #212529;
    background-color: #c2e1f3;
    border-color: #c2e1f3;
}

.btn-grid_green[b-kh5rf78x7a] {
    color: #212529;
    background-color: #37af59;
    border-color: #37af59;
}

.btn-grid_red[b-kh5rf78x7a] {
    color: #212529;
    background-color: #e05151;
    border-color: #e05151;
}

div.modal-dialog.payment-modal[b-kh5rf78x7a] {
    max-width: 900px;
    margin: 48px auto 0;
}


.pull-right[b-kh5rf78x7a] {
    float: right;
}

.button-keyboard[b-kh5rf78x7a] {
    margin-left: 4px;
    margin-right: 4px;
    position: relative;
    line-height: 1.23;
    padding: 2px 4px;
    width: 95px;
    height: 65px;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    cursor: pointer;
    transition: transform 0.2s;
    border: none;
    border-radius: 0.25rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

    .button-keyboard:hover[b-kh5rf78x7a] {
        filter: brightness(80%);
    }


.PaymentList_payment-list[b-kh5rf78x7a] {
    font-family: 'ProximaNova';
    /*font-weight: 700;*/
}

.PaymentList_payment-list .payment-total[b-kh5rf78x7a] {
    /*padding: 5px 5px 0 15px;*/
    font-size: 24px;
    font-weight: 700;
}

    .PaymentList_payment-list .payment-total .payment-total-value[b-kh5rf78x7a] {
        margin: 0 12.5px 0 0;
    }

.PaymentList_payment-list .payments[b-kh5rf78x7a] {
    overflow-y: auto;
    height: 240px;
    margin: 10px 0 0;
}

.payment-list[b-kh5rf78x7a] {
    padding: 5px 5px 0px 15px;
    padding: 0;
    margin: 20px 0 0 0;
}

.payment-total[b-kh5rf78x7a] {
    font-size: 24px;
    font-weight: 700;
}

.payment-total-value[b-kh5rf78x7a] {
    margin: 0 12.5px 0 0;
}

.payment-balance[b-kh5rf78x7a] {
    font-size: 24px;
    font-weight: 700;
}

.payment-balance-value[b-kh5rf78x7a] {
    margin: 0 12.5px 0 0;
}

.payments[b-kh5rf78x7a] {
    overflow-y: auto;
    height: 240px;
    margin: 10px 0 0 0;
}


.PaymentList_payment-list .payments ul li .button .type[b-kh5rf78x7a] {
    color: #ccc;
    text-transform: uppercase;
    line-height: 1.2;
    width: 65%;
}

    .PaymentList_payment-list .payments ul li .button .type span[b-kh5rf78x7a] {
        display: block;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
    }

        .PaymentList_payment-list .payments ul li .button .type span .paid-indicator[b-kh5rf78x7a] {
            display: block;
            text-overflow: ellipsis;
            overflow: hidden;
            white-space: nowrap;
            color: #dc2626;
        }

        .PaymentList_payment-list .payments ul li .button .type span .confirm-indicator[b-kh5rf78x7a] {
            display: block;
            text-overflow: ellipsis;
            overflow: hidden;
            white-space: nowrap;
            color: #ca8216;
        }

        .PaymentList_payment-list .payments ul li .button .type span .locked-indicator[b-kh5rf78x7a] {
            display: block;
            text-overflow: ellipsis;
            overflow: hidden;
            white-space: nowrap;
            color: #ff8c00;
        }

.PaymentList_payment-list .payments ul li .button[b-kh5rf78x7a] {
    border-radius: 5px;
    border: 1px solid #ddd;
    border-top-color: rgb(221, 221, 221);
    border-right-color: rgb(221, 221, 221);
    border-bottom-color: rgb(221, 221, 221);
    border-left-color: rgb(221, 221, 221);
    width: 100%;
    min-height: 40px;
    height: 100%;
    padding: 3px 12px;
    position: relative;
    top: 0;
    left: 0;
    outline: none;
    cursor: pointer;
    overflow: hidden;
}

.PaymentList_payment-list .payments ul li .button.active[b-kh5rf78x7a] {
    background-color: #b7e2f3;
    border-color: #b7e2f3;
    color: #000;
}

.PaymentList_payment-list .payments ul li .button.active .type[b-kh5rf78x7a] {
    color: #000;
}

.PaymentList_payment-list .payments ul[b-kh5rf78x7a] {
    list-style-type: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.PaymentList_payment-list .payments ul li[b-kh5rf78x7a] {
    min-height: 40px;
    margin-bottom: 8px;
    position: relative;
}

.amount[b-kh5rf78x7a] {
    font-size: 24px;
    position: absolute;
    right: 12px;
    top: 0%;
    height: 100%;
}

/*.active {
    background-color: #b7e2f3;
    border-color: #b7e2f3;
    color: #000000;
}*/

.PaymentActions_payment-actions button .tip[b-kh5rf78x7a] {
    position: absolute;
    bottom: 4%;
    font-weight: 700;
    left: 50%;
    transform: translateX(-45%);
    text-align: center;
}
.PaymentActions_payment-actions[b-kh5rf78x7a] {
    font-family: "ProximaNova",sans-serif;
    margin: 0;
}

.PaymentActions_payment-actions button span[b-kh5rf78x7a] {
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    word-spacing: 0;
}
/* /Pages/RoomAvailabilityGrid.razor.rz.scp.css */
.room-grid[b-hxu70jrx7g] {
    --hc-navy: #0f2540;
    --hc-accent: #2f8fdb;
    --hc-accent-light: #dceefb;
    --hc-weekend: #f4f6f9;
    --hc-oggi: #fff7e6;
    --hc-border: #e5e7eb;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    color: #1c1f26;
    background: #ffffff;
    border: 1px solid var(--hc-border);
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 4px 18px rgba(15, 37, 64, 0.08);
    /* Riempie l'altezza che gli viene data dal contenitore esterno (es. un div
       con height fissa o un layout flex/grid a piena pagina). Se il parent è
       "auto" in altezza, height:100% non ha effetto e il componente si
       dimensiona sul contenuto come prima: nessuna regressione. */
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

/* ---- Toolbar ---- */

.room-grid-toolbar[b-hxu70jrx7g] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.nav-btn[b-hxu70jrx7g] {
    background: var(--hc-navy);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
}

.periodo-label[b-hxu70jrx7g] {
    font-weight: 600;
    color: var(--hc-navy);
    font-size: 14px;
    min-width: 180px;
}

.legend[b-hxu70jrx7g] {
    display: flex;
    gap: 14px;
    margin-left: auto;
    font-size: 11px;
    color: #6b7280;
    flex-wrap: wrap;
}

.legend-item[b-hxu70jrx7g] {
    display: flex;
    align-items: center;
    gap: 5px;
}

.legend-dot[b-hxu70jrx7g] {
    width: 9px;
    height: 9px;
    border-radius: 3px;
    display: inline-block;
}

    .legend-dot.confermata[b-hxu70jrx7g] {
        background: var(--hc-accent);
    }

    .legend-dot.in-attesa[b-hxu70jrx7g] {
        background: #f0b429;
    }

    .legend-dot.checked-in[b-hxu70jrx7g] {
        background: #2fa86a;
    }

    .legend-dot.bloccata[b-hxu70jrx7g] {
        background: #9aa1ac;
    }

/* ---- Tabella / scroll ---- */

.room-grid-scroll[b-hxu70jrx7g] {
    overflow-x: auto;
    overflow-y: auto;
    border: 1px solid var(--hc-border);
    border-radius: 10px;
    /* Si espande a riempire lo spazio verticale rimanente dentro .room-grid
       (che ha display:flex; flex-direction:column). min-height:0 è
       necessario perché un figlio flex non si comprime sotto la dimensione
       del suo contenuto per impostazione predefinita, il che impedirebbe
       lo scroll interno. */
    flex: 1;
    min-height: 0;
}

.room-grid-table[b-hxu70jrx7g] {
    min-width: calc(140px + var(--giorni) * 56px);
    width: max-content;
}

.room-col[b-hxu70jrx7g] {
    width: 140px;
    min-width: 140px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding: 0 10px;
    box-sizing: border-box;
}

.date-col[b-hxu70jrx7g] {
    width: 56px;
    min-width: 56px;
    flex-shrink: 0;
    box-sizing: border-box;
}

/* ---- Header ---- */

.grid-header-row[b-hxu70jrx7g] {
    display: flex;
    position: sticky;
    top: 0;
    z-index: 3;
    background: #ffffff;
    border-bottom: 1px solid var(--hc-border);
}

.header-cell[b-hxu70jrx7g] {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    padding: 8px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-left: 1px solid var(--hc-border);
}

.room-col.header-cell[b-hxu70jrx7g] {
    border-left: none;
    align-items: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.date-day[b-hxu70jrx7g] {
    font-size: 14px;
    font-weight: 700;
    color: var(--hc-navy);
}

.date-weekday[b-hxu70jrx7g] {
    font-size: 10px;
    text-transform: uppercase;
    color: #9aa1ac;
}

.header-cell.oggi[b-hxu70jrx7g] {
    background: var(--hc-oggi);
}

.header-cell.weekend[b-hxu70jrx7g] {
    background: var(--hc-weekend);
}

/* ---- Righe camere ---- */

.grid-body-row[b-hxu70jrx7g] {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid var(--hc-border);
    min-height: 30px;
}

    .grid-body-row:last-child[b-hxu70jrx7g] {
        border-bottom: none;
    }

.room-cell[b-hxu70jrx7g] {
    flex-direction: row;
    align-items: last baseline;
    justify-content: flex-start;
    gap: 6px;
    background: #fafbfc;
    border-right: 1px solid var(--hc-border);
    overflow: hidden;
}

.room-number[b-hxu70jrx7g] {
    font-weight: 700;
    font-size: 13px;
    color: var(--hc-navy);
    white-space: nowrap;
}

.room-type[b-hxu70jrx7g] {
    font-size: 10px;
    color: #9aa1ac;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.days-strip[b-hxu70jrx7g] {
    position: relative;
    flex: 1;
    display: flex;
}

.day-cells-row[b-hxu70jrx7g] {
    display: flex;
    width: 100%;
}

.bg-day-cell[b-hxu70jrx7g] {
    width: 56px;
    min-width: 56px;
    box-sizing: border-box;
    border-left: 1px solid var(--hc-border);
    display: flex;
    position: relative;
}

    .bg-day-cell.weekend[b-hxu70jrx7g] {
        background: var(--hc-weekend);
    }

    .bg-day-cell.oggi[b-hxu70jrx7g] {
        background: var(--hc-oggi);
    }

    /* Linea tratteggiata che segna il confine mattina/pomeriggio (mezzogiorno) */
    .bg-day-cell[b-hxu70jrx7g]::after {
        content: "";
        position: absolute;
        top: 4px;
        bottom: 4px;
        left: 50%;
        border-left: 1px dashed #d7dae0;
        pointer-events: none;
    }

.bg-half[b-hxu70jrx7g] {
    width: 50%;
    height: 100%;
    cursor: pointer;
}

    .bg-half:hover[b-hxu70jrx7g] {
        background: var(--hc-accent-light);
    }

.bookings-overlay[b-hxu70jrx7g] {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.booking-bar[b-hxu70jrx7g] {
    --arrow-depth: 9px;
    position: absolute;
    top: 2px;
    bottom: 2px;
    pointer-events: auto;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0 12px;
    overflow: hidden;
    box-sizing: border-box;
    justify-content: center;
}

    /* Tacca incavata (a freccia, rivolta verso destra) sul lato sinistro:
   mostrata solo quando quel lato corrisponde al vero check-in
   (non tagliato dal bordo del periodo visibile) */
    .booking-bar.arrow-start:not(.arrow-end)[b-hxu70jrx7g] {
        clip-path: polygon( 0% 0%, 100% 0%, 100% 100%, 0% 100%, var(--arrow-depth) 50% );
    }

    /* Punta sporgente (rivolta verso destra) sul lato destro: check-out reale */
    .booking-bar.arrow-end:not(.arrow-start)[b-hxu70jrx7g] {
        clip-path: polygon( 0% 0%, calc(100% - var(--arrow-depth)) 0%, 100% 50%, calc(100% - var(--arrow-depth)) 100%, 0% 100% );
    }

    /* Entrambi i lati: tacca a sinistra + punta a destra, stessa direzione */
    .booking-bar.arrow-start.arrow-end[b-hxu70jrx7g] {
        clip-path: polygon( 0% 0%, calc(100% - var(--arrow-depth)) 0%, 100% 50%, calc(100% - var(--arrow-depth)) 100%, 0% 100%, var(--arrow-depth) 50% );
    }

.booking-label[b-hxu70jrx7g] {
    font-size: 11px;
    font-weight: 600;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.booking-bar.confermata[b-hxu70jrx7g] {
    background: var(--hc-accent);
}

.booking-bar.in-attesa[b-hxu70jrx7g] {
    background: #f0b429;
}

.booking-bar.checked-in[b-hxu70jrx7g] {
    background: #2fa86a;
}

.booking-bar.bloccata[b-hxu70jrx7g] {
    background: repeating-linear-gradient( 45deg, #9aa1ac, #9aa1ac 6px, #b5b8c0 6px, #b5b8c0 12px );
}

/* ---- Riepilogo disponibilità ---- */

.grid-footer-row[b-hxu70jrx7g] {
    display: flex;
    position: sticky;
    bottom: 0;
    z-index: 3;
    background: #fafbfc;
    border-top: 2px solid var(--hc-border);
    box-shadow: 0 -2px 6px rgba(15, 37, 64, 0.06);
}

.footer-label[b-hxu70jrx7g] {
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.footer-cell[b-hxu70jrx7g] {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--hc-navy);
    padding: 8px 0;
    border-left: 1px solid var(--hc-border);
}

    .footer-cell.esaurito[b-hxu70jrx7g] {
        color: #d64545;
    }
