/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-rxbgldv8y9] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-rxbgldv8y9] { flex: 1; min-width: 0; }

/* Respiro in fondo al contenuto: evita che le pagine (calendario, tabelle…)
   finiscano attaccate al bordo inferiore. */
.content[b-rxbgldv8y9] { padding-bottom: 2.5rem; }

.sidebar[b-rxbgldv8y9] {
    background-color: #111827;
}

.top-row[b-rxbgldv8y9] {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    justify-content: space-between;
    height: 3.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    /* Nota: lo z-index efficace è impostato sulla regola sticky nella media query
       sotto (qui, senza position, verrebbe ignorato). */
}

/* ─── Incasso odierno (destra) ─────────────────────────────────────── */
.top-incasso[b-rxbgldv8y9] {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: .8rem;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
}
.top-incasso strong[b-rxbgldv8y9] { color: #111827; font-weight: 600; }
.ti-tot[b-rxbgldv8y9] { color: #374151; }
.ti-tot strong[b-rxbgldv8y9] { color: var(--hb-primary); }
.ti-breakdown[b-rxbgldv8y9] { display: flex; align-items: center; gap: 1rem; }
.ti-item[b-rxbgldv8y9] { display: inline-flex; align-items: center; gap: .35rem; }
.ti-dot[b-rxbgldv8y9] { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.ti-contanti[b-rxbgldv8y9]    { background: #16a34a; }
.ti-elettronico[b-rxbgldv8y9] { background: #2563eb; }
.ti-altro[b-rxbgldv8y9]       { background: #9333ea; }

/* Su schermi stretti mostra solo il totale, nasconde la ripartizione */
@media (max-width: 899.98px) {
    .ti-breakdown[b-rxbgldv8y9] { display: none; }
}

.top-date[b-rxbgldv8y9] {
    color: #9ca3af;
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .01em;
    text-transform: capitalize;
}

.top-row[b-rxbgldv8y9]  a, .top-row[b-rxbgldv8y9]  .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
    text-decoration: none;
    color: #6b7280;
    font-size: .875rem;
}
.top-row[b-rxbgldv8y9]  a:hover, .top-row[b-rxbgldv8y9]  .btn-link:hover {
    color: var(--hb-primary);
    text-decoration: none;
}

@media (max-width: 640.98px) {
    .top-row[b-rxbgldv8y9]  a, .top-row[b-rxbgldv8y9]  .btn-link { margin-left: 0; }
}

@media (min-width: 641px) {
    .page[b-rxbgldv8y9] { flex-direction: row; }

    .sidebar[b-rxbgldv8y9] {
        width: 240px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-rxbgldv8y9] {
        position: sticky;
        top: 0;
        /* Sopra il contenuto della pagina (header calendario z-index:10, blocchi
           appuntamento) ma sotto dropdown (100) e overlay modali (199). */
        z-index: 50;
    }

    .top-row[b-rxbgldv8y9], article[b-rxbgldv8y9] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-rxbgldv8y9] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0,0,0,.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: .6rem 1.25rem .7rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}
#blazor-error-ui .dismiss[b-rxbgldv8y9] {
    cursor: pointer;
    position: absolute;
    right: .75rem;
    top: .5rem;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* ─── Brand header ────────────────────────────────────────────────── */
.sidebar-top[b-stvw71mvnh] {
    position: relative;
}

.sidebar-brand[b-stvw71mvnh] {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: 1.2rem 1.25rem;
    text-decoration: none;
    color: white;
    border-bottom: 1px solid rgba(255,255,255,.07);
    transition: background .15s;
    min-height: 4.25rem;
}
.sidebar-brand:hover[b-stvw71mvnh] { background: rgba(255,255,255,.04); color: white; }

.brand-icon[b-stvw71mvnh] {
    width: 34px; height: 34px;
    background: white;
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.05rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(var(--hb-primary-rgb),.5);
    overflow: hidden;
}
.brand-icon img[b-stvw71mvnh] {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.brand-text[b-stvw71mvnh] {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1;
    color: white;
}
.brand-text span[b-stvw71mvnh] { color: #f472b6; }

/* ─── Toggler (mobile) ────────────────────────────────────────────── */
.navbar-toggler[b-stvw71mvnh] {
    appearance: none;
    cursor: pointer;
    width: 3.25rem;
    height: 2.4rem;
    position: absolute;
    top: .95rem;
    right: 1rem;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 7px;
    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.65%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.4rem rgba(255,255,255,.06);
    transition: background-color .15s;
}
.navbar-toggler:checked[b-stvw71mvnh] { background-color: rgba(255,255,255,.12); }

/* ─── Nav items ───────────────────────────────────────────────────── */
.nav-scrollable[b-stvw71mvnh] { padding: .5rem 0 1rem; }

.nav-item[b-stvw71mvnh] { padding: .1rem .75rem; }
.nav-item:first-of-type[b-stvw71mvnh] { padding-top: .75rem; }
.nav-item:last-of-type[b-stvw71mvnh]  { padding-bottom: .75rem; }

.nav-item[b-stvw71mvnh]  .nav-link {
    color: #9ca3af;
    background: none;
    border: none;
    border-radius: .5rem;
    height: 2.6rem;
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: 0 .75rem;
    font-size: .875rem;
    font-weight: 500;
    transition: background .15s, color .15s;
    width: 100%;
    white-space: nowrap;
    border-left: 3px solid transparent;
}

.nav-item[b-stvw71mvnh]  .nav-link .nav-icon {
    font-size: 1rem;
    width: 1.1rem;
    text-align: center;
    flex-shrink: 0;
    opacity: .55;
    transition: opacity .15s;
}

.nav-item[b-stvw71mvnh]  a.active {
    background-color: rgba(var(--hb-primary-rgb),.12);
    color: #f9a8d4;
    border-left-color: var(--hb-primary);
    padding-left: calc(.75rem - 0px);
}
.nav-item[b-stvw71mvnh]  a.active .nav-icon { opacity: 1; color: #f472b6; }

.nav-item[b-stvw71mvnh]  .nav-link:hover {
    background-color: rgba(255,255,255,.06);
    color: #e5e7eb;
}
.nav-item[b-stvw71mvnh]  .nav-link:hover .nav-icon { opacity: .9; }

/* ─── Responsive ──────────────────────────────────────────────────── */
.nav-scrollable[b-stvw71mvnh] { display: none; }
.navbar-toggler:checked ~ .nav-scrollable[b-stvw71mvnh] { display: block; }

@media (min-width: 641px) {
    .navbar-toggler[b-stvw71mvnh] { display: none; }

    .nav-scrollable[b-stvw71mvnh] {
        display: block;
        height: calc(100vh - 4.25rem);
        overflow-y: auto;
        overflow-x: hidden;
    }

    .nav-scrollable[b-stvw71mvnh]::-webkit-scrollbar { width: 3px; }
    .nav-scrollable[b-stvw71mvnh]::-webkit-scrollbar-track { background: transparent; }
    .nav-scrollable[b-stvw71mvnh]::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,.1);
        border-radius: 3px;
    }
}
/* /Components/Layout/PrenotaLayout.razor.rz.scp.css */
.prenota-shell[b-5lqxmqlzmf] {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f6f7f9;
}

.prenota-header[b-5lqxmqlzmf] {
    background: #fff;
    border-bottom: 1px solid #e6e8eb;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}

.prenota-header-inner[b-5lqxmqlzmf] {
    max-width: 860px;
    margin: 0 auto;
    padding: .9rem 1rem;
    display: flex;
    align-items: center;
    gap: .6rem;
}

.prenota-brand[b-5lqxmqlzmf] {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: .5px;
    color: var(--hb-primary);
    text-decoration: none;
}

/* Logo compatto (gli stili di NavMenu sono scoped e non arrivano qui) */
.prenota-brand .brand-icon[b-5lqxmqlzmf] {
    width: 40px; height: 40px;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
}
.prenota-brand .brand-icon img[b-5lqxmqlzmf] {
    width: 100%; height: 100%;
    object-fit: contain;
}
.prenota-brand .brand-text[b-5lqxmqlzmf] {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .5px;
    color: var(--hb-primary);
}

.prenota-sub[b-5lqxmqlzmf] {
    color: #8a929c;
    font-size: .9rem;
}

.prenota-auth[b-5lqxmqlzmf] {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.prenota-link[b-5lqxmqlzmf] {
    color: var(--hb-primary);
    text-decoration: none;
    font-size: .9rem;
    font-weight: 600;
}

.prenota-link:hover[b-5lqxmqlzmf] { text-decoration: underline; }

.prenota-link-btn[b-5lqxmqlzmf] {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.prenota-main[b-5lqxmqlzmf] {
    flex: 1 1 auto;
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    padding: 1.25rem 1rem 2.5rem;
}

.prenota-footer[b-5lqxmqlzmf] {
    text-align: center;
    color: #9aa1ab;
    padding: 1rem;
    border-top: 1px solid #e6e8eb;
    background: #fff;
}

@media (max-width: 520px) {
    .prenota-sub[b-5lqxmqlzmf] { display: none; }
    .prenota-brand[b-5lqxmqlzmf] { font-size: 1.15rem; }
    .prenota-brand .brand-icon[b-5lqxmqlzmf] { width: 34px; height: 34px; }
    .prenota-brand .brand-text[b-5lqxmqlzmf] { font-size: 1.1rem; }
    .prenota-header-inner[b-5lqxmqlzmf] { padding: .7rem .85rem; }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-qks8o5e7d0],
.components-reconnect-repeated-attempt-visible[b-qks8o5e7d0],
.components-reconnect-failed-visible[b-qks8o5e7d0],
.components-pause-visible[b-qks8o5e7d0],
.components-resume-failed-visible[b-qks8o5e7d0],
.components-rejoining-animation[b-qks8o5e7d0] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-qks8o5e7d0],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-qks8o5e7d0],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-qks8o5e7d0],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-qks8o5e7d0],
#components-reconnect-modal.components-reconnect-retrying[b-qks8o5e7d0],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-qks8o5e7d0],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-qks8o5e7d0],
#components-reconnect-modal.components-reconnect-failed[b-qks8o5e7d0],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-qks8o5e7d0] {
    display: block;
}


#components-reconnect-modal[b-qks8o5e7d0] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-qks8o5e7d0 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-qks8o5e7d0 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-qks8o5e7d0 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-qks8o5e7d0]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-qks8o5e7d0 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-qks8o5e7d0 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-qks8o5e7d0 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-qks8o5e7d0 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-qks8o5e7d0] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-qks8o5e7d0] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-qks8o5e7d0] {
    border: 0;
    background-color: var(--hb-primary);
    color: white;
    padding: 4px 24px;
    border-radius: 6px;
    font-weight: 500;
}

    #components-reconnect-modal button:hover[b-qks8o5e7d0] {
        background-color: var(--hb-primary-dark);
    }

    #components-reconnect-modal button:active[b-qks8o5e7d0] {
        background-color: var(--hb-primary);
    }

.components-rejoining-animation[b-qks8o5e7d0] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-qks8o5e7d0] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-qks8o5e7d0 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-qks8o5e7d0] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-qks8o5e7d0 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Prenota/Index.razor.rz.scp.css */
/* Step indicator */
.prenota-steps[b-gr15tr4bvg] {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    counter-reset: step;
    padding: 0;
    margin: 0;
}

.prenota-steps li[b-gr15tr4bvg] {
    counter-increment: step;
    color: #b3b9c2;
    font-size: .85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: .4rem;
}

.prenota-steps li[b-gr15tr4bvg]::before {
    content: counter(step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: #e6e8eb;
    color: #b3b9c2;
    font-size: .8rem;
}

.prenota-steps li.attivo[b-gr15tr4bvg] {
    color: var(--hb-primary);
}

.prenota-steps li.attivo[b-gr15tr4bvg]::before {
    background: var(--hb-primary);
    color: #fff;
}

/* Filtro categorie (chips) */
.prenota-filtri[b-gr15tr4bvg] {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1rem;
}

.prenota-chip[b-gr15tr4bvg] {
    background: #fff;
    border: 1px solid #cfd4da;
    border-radius: 999px;
    padding: .35rem .9rem;
    font-size: .85rem;
    font-weight: 600;
    color: #38414d;
    cursor: pointer;
    transition: all .12s;
}

.prenota-chip:hover[b-gr15tr4bvg] {
    border-color: var(--hb-primary);
    color: var(--hb-primary);
}

.prenota-chip.attivo[b-gr15tr4bvg] {
    background: var(--hb-primary);
    border-color: var(--hb-primary);
    color: #fff;
}

/* Service / combo cards */
.prenota-card[b-gr15tr4bvg] {
    background: #fff;
    border: 1px solid #e6e8eb;
    border-radius: .6rem;
    padding: .85rem 1rem;
    transition: border-color .12s, box-shadow .12s;
    cursor: pointer;
}

.prenota-card:hover[b-gr15tr4bvg] {
    border-color: var(--hb-primary);
    box-shadow: 0 2px 10px rgba(var(--hb-primary-rgb), .10);
}

.prenota-card.selezionata[b-gr15tr4bvg] {
    border-color: var(--hb-primary);
    background: rgba(var(--hb-primary-rgb), .05);
    box-shadow: 0 0 0 1px var(--hb-primary) inset;
}

.prenota-check[b-gr15tr4bvg] {
    color: var(--hb-primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Barra riepilogo carrello, fissa in basso */
.prenota-carrello[b-gr15tr4bvg] {
    position: sticky;
    bottom: 0;
    margin-top: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: #fff;
    border: 1px solid #e6e8eb;
    border-radius: .7rem;
    padding: .7rem 1rem;
    box-shadow: 0 -2px 14px rgba(0, 0, 0, .08);
}

.prenota-carrello-info[b-gr15tr4bvg] {
    font-size: .95rem;
    color: #38414d;
}

.prenota-card-meta[b-gr15tr4bvg] {
    display: flex;
    justify-content: space-between;
    color: #8a929c;
    font-size: .85rem;
    margin-top: .2rem;
}

.prenota-prezzo[b-gr15tr4bvg] {
    color: var(--hb-primary);
    font-weight: 600;
}

/* Day + slot grid */
.prenota-giorni[b-gr15tr4bvg] {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.prenota-giorno-testa[b-gr15tr4bvg] {
    font-weight: 600;
    margin-bottom: .5rem;
    color: #38414d;
}

.prenota-slot[b-gr15tr4bvg] {
    background: #fff;
    border: 1px solid #cfd4da;
    border-radius: .45rem;
    padding: .4rem .7rem;
    font-size: .9rem;
    font-weight: 600;
    color: #38414d;
    cursor: pointer;
    transition: all .12s;
}

.prenota-slot:hover[b-gr15tr4bvg] {
    background: var(--hb-primary);
    border-color: var(--hb-primary);
    color: #fff;
}
