/* Caller: resources/views/layouts/area-utenti.blade.php (link href).
   API: classi au-hero-etna, au-lato-bancone, au-top-cassa, data-au-vestito.
   Schema: nessuno (solo CSS).
   Istruzione utente: "implementarle tutte e 3 i layout e poi deciderà l'utente che vestito scegliere in base ai suoi gusti, come gia succede su gestionale" */
body[data-au-vestito] { margin: 0; }
.au-marca {
    display: flex;
    align-items: baseline;
    gap: 0.15rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-decoration: none;
    color: inherit;
    font-family: Montserrat, var(--au-font-display), sans-serif;
}
.au-marca span { color: #c81e1e; }
.au-nav-spacer { flex: 1; }
.au-cta-nuova {
    background: #c81e1e;
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 0.45rem 0.95rem;
    font-weight: 700;
    font-size: 0.82rem;
    text-decoration: none;
    white-space: nowrap;
}
.au-cta-nuova:hover { background: #9b1515; color: #fff; }

.au-selettore-vestito__pills { display: flex; gap: 0.25rem; flex-wrap: wrap; }
.au-selettore-vestito__pill {
    border: 1px solid rgba(0,0,0,.12);
    background: #fff;
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 700;
}
.au-selettore-vestito__pill.attivo {
    background: #c81e1e;
    border-color: #c81e1e;
    color: #fff;
}
.au-selettore-vestito--schede { margin-bottom: 1.5rem; }
.au-selettore-vestito__titolo { font-size: 1.1rem; font-weight: 800; margin: 0 0 0.25rem; }
.au-selettore-vestito__sub { color: #6b625a; margin: 0 0 0.85rem; font-size: 0.88rem; }
.au-selettore-vestito__griglia {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.au-selettore-vestito__scheda {
    text-align: left;
    border: 1px solid #e4d9cc;
    background: #fff;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
}
.au-selettore-vestito__scheda.attivo { border-color: #c81e1e; box-shadow: 0 0 0 2px rgba(200,30,30,.2); }
.au-selettore-vestito__scheda strong,
.au-selettore-vestito__scheda span { display: block; padding: 0 0.85rem; }
.au-selettore-vestito__scheda strong { padding-top: 0.7rem; }
.au-selettore-vestito__scheda span { padding-bottom: 0.85rem; color: #6b625a; font-size: 0.8rem; }
.au-selettore-vestito__anteprima { display: block; height: 72px; }
.au-selettore-vestito__anteprima--etna { background: linear-gradient(180deg, #3a2218 0%, #c81e1e 55%, #f4efe6 56%); }
.au-selettore-vestito__anteprima--bancone { background: linear-gradient(90deg, #1f1a16 32%, #f4efe6 32%); }
.au-selettore-vestito__anteprima--cassa { background: linear-gradient(180deg, #c81e1e 0 28%, #f7f4ee 28%); }

[data-au-vestito="etna"] .au-hero-etna {
    min-height: 120px;
    color: #fff;
    padding: 1.1rem 1.4rem 0.4rem;
    background:
        linear-gradient(180deg, rgba(18,10,8,.28), rgba(18,10,8,.72)),
        radial-gradient(circle at 70% 20%, #c45a2a, transparent 42%),
        linear-gradient(160deg, #3a2218, #1a100c 55%, #4a1c14);
}
[data-au-vestito="etna"] .au-hero-etna__inner {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
[data-au-vestito="etna"] .au-hero-etna .au-marca { color: #fff; font-size: 1.2rem; }
[data-au-vestito="etna"] .au-hero-etna .au-utente-nome { color: #fff; }
[data-au-vestito="etna"] .au-hero-etna .au-utente-hotel { color: #f0d8cc; }
[data-au-vestito="etna"] .au-barra-etna {
    background: #fff;
    border-bottom: 3px solid #c81e1e;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.3rem 1rem;
    flex-wrap: wrap;
}
[data-au-vestito="etna"] .au-barra-etna .nav-link {
    color: #1c1612;
    font-weight: 700;
    font-size: 0.82rem;
    text-decoration: none;
    padding: 0.55rem 0.7rem;
}
[data-au-vestito="etna"] .au-barra-etna .nav-link.attivo { box-shadow: inset 0 -3px 0 #c81e1e; }
[data-au-vestito="etna"] .au-main { min-height: calc(100vh - 180px); }

[data-au-vestito="bancone"] { background: #efe8de; }
[data-au-vestito="bancone"] .au-shell-bancone {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}
[data-au-vestito="bancone"] .au-lato-bancone {
    background: #1c1612;
    color: #f4efe6;
    padding: 1.1rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
[data-au-vestito="bancone"] .au-lato-bancone .au-marca { color: #fff; margin-bottom: 0.5rem; }
[data-au-vestito="bancone"] .au-utente-info--lato { align-items: flex-start; margin-bottom: 0.6rem; }
[data-au-vestito="bancone"] .au-lato-bancone .au-utente-nome { color: #fff; }
[data-au-vestito="bancone"] .au-lato-bancone .au-utente-hotel { color: #c9bfb3; }
[data-au-vestito="bancone"] .au-lato-bancone .au-cta-nuova { width: 100%; text-align: center; margin: 0.4rem 0 0.7rem; }
[data-au-vestito="bancone"] .au-lato-bancone .nav-link {
    color: #d9cfc4;
    display: block;
    width: 100%;
    text-align: left;
    border-radius: 8px;
    text-decoration: none;
    padding: 0.5rem 0.7rem;
    font-weight: 700;
    font-size: 0.85rem;
}
[data-au-vestito="bancone"] .au-lato-bancone .nav-link.attivo { background: #2c241e; color: #fff; }
[data-au-vestito="bancone"] .au-lato-bancone .au-selettore-vestito { margin: 1rem 0 0.6rem; }
[data-au-vestito="bancone"] .au-lato-bancone .au-selettore-vestito__pill {
    background: #2c241e;
    color: #d9cfc4;
    border-color: #3d342c;
}
[data-au-vestito="bancone"] .au-lato-bancone .au-selettore-vestito__pill.attivo {
    background: #c81e1e;
    color: #fff;
    border-color: #c81e1e;
}
[data-au-vestito="bancone"] .au-lato-bancone .au-account-toggle { color: #f4efe6; }
[data-au-vestito="bancone"] .au-main {
    background: transparent;
    min-height: 100%;
    padding: 1.2rem 0;
}

[data-au-vestito="cassa"] .au-top-cassa {
    background: #c81e1e;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.8rem;
    position: sticky;
    top: 0;
    z-index: 1050;
    flex-wrap: wrap;
}
[data-au-vestito="cassa"] .au-top-cassa .au-marca { color: #fff; margin-right: 0.5rem; }
[data-au-vestito="cassa"] .au-top-cassa .au-marca span { color: #ffe4e0; }
[data-au-vestito="cassa"] .au-top-cassa .nav-link {
    color: #fff;
    opacity: 0.85;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.45rem 0.6rem;
}
[data-au-vestito="cassa"] .au-top-cassa .nav-link.attivo { opacity: 1; box-shadow: inset 0 -3px 0 #fff; }
[data-au-vestito="cassa"] .au-top-cassa .au-cta-nuova { background: #fff; color: #c81e1e; }
[data-au-vestito="cassa"] .au-top-cassa .au-cta-nuova:hover { background: #f4efe6; color: #9b1515; }
[data-au-vestito="cassa"] .au-top-cassa .au-selettore-vestito__pill {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.35);
}
[data-au-vestito="cassa"] .au-top-cassa .au-selettore-vestito__pill.attivo {
    background: #fff;
    color: #c81e1e;
    border-color: #fff;
}
[data-au-vestito="cassa"] .au-top-cassa .au-account-toggle { color: #fff; }
[data-au-vestito="cassa"] .au-main { min-height: calc(100vh - 52px); }

@media (max-width: 860px) {
    [data-au-vestito="bancone"] .au-shell-bancone { grid-template-columns: 1fr; }
}

/* Form unico prenotazione (legacy-like) */
.au-form-blocco-tit { font-size: 1.05rem; font-weight: 800; margin: 1.25rem 0 0.75rem; }
.au-foglio {
    border: 1px solid var(--et-border, #e4d9cc);
    background: #fff;
    border-radius: 8px;
    padding: 1rem 1.05rem 1.15rem;
    height: 100%;
}
.au-prezzo-riga { margin: 0.5rem 0 0; font-size: 0.9rem; }
.au-prezzo-riga b { font-size: 1.1rem; }
.au-prezzo-riga--lava { color: #c81e1e; }
.au-select-tour { position: relative; }
.au-select-tour__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 0.375rem;
    padding: 0.55rem 0.75rem;
    font: inherit;
    text-align: left;
}
.au-select-tour__trigger span { color: #6b625a; }
.au-select-tour__trigger.has-value span { color: #1c1612; font-weight: 600; }
.au-select-tour__menu {
    position: absolute;
    left: 0; right: 0; top: 100%;
    z-index: 30;
    background: #fff;
    border: 1px solid #ccc;
    border-top: 0;
    border-radius: 0 0 0.375rem 0.375rem;
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
}
.au-select-tour__cerca {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #eee;
    padding: 0.65rem 0.75rem;
    font: inherit;
    outline: none;
}
.au-select-tour__righe { max-height: 240px; overflow-y: auto; }
.au-select-tour__riga {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    border: 0;
    border-bottom: 1px solid #eee;
    background: #fff;
    padding: 0.65rem 0.75rem;
    text-align: left;
    font: inherit;
}
.au-select-tour__riga:hover { background: #f8f9fa; }
.au-select-tour__riga.scelto { background: #c81e1e; color: #fff; }
.au-select-tour__riga.scelto .au-select-tour__prezzo { color: #ffe4e0; }
.au-select-tour__riga b { font-weight: 600; font-size: 0.88rem; }
.au-select-tour__prezzo { font-size: 0.78rem; font-weight: 700; color: #6b625a; white-space: nowrap; }
[x-cloak] { display: none !important; }
