/* Il pannello step fluttuante e la lavagna che si apre come un pannello
 * artifact — vedi il mockup di questa sessione (layout-overview.html) e
 * la spec docs/superpowers/specs/2026-09-10-viaggio-motore-a-step-design.md.
 */

/* Il pannello sta nell'intestazione del Laboratorio, fra il titolo e il +:
   una pillola con lo step in corso che apre l'elenco. Il 2026-09-14 era un
   riquadro fisso in alto a destra e, con la lavagna aperta o su schermi non
   larghissimi, copriva i messaggi della chat (i messaggi del cliente stanno
   proprio a destra). Aperto a comando, copre solo quando lo si chiede. */
.journey-panel {
    position: relative;
    margin-left: auto;
    margin-right: 10px;
    min-width: 0;
    z-index: 40;
}

.journey-panel:empty { display: none; }

/* Il + ha `margin-left: auto` (05-chat.css): con due margini automatici lo
   spazio si divideva e la pillola finiva a meta' intestazione. */
.lab-panel-header .journey-panel + .new-chat-btn { margin-left: 0; }

.journey-panel-title {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    background: var(--bg-primary, #fff);
    border: 1px solid var(--border-light, #e2e8f0);
    border-radius: 20px;
    padding: 6px 12px;
    font: inherit;
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-primary, #0f172a);
    cursor: pointer;
    white-space: nowrap;
}

.journey-panel-current {
    font-weight: 500;
    color: var(--primary-blue, #0ea5e9);
    overflow: hidden;
    text-overflow: ellipsis;
}

.journey-panel-current:empty { display: none; }

.journey-panel-chevron { font-size: .75em; transition: transform .2s ease; }
.journey-panel.is-expanded .journey-panel-chevron { transform: rotate(180deg); }

.journey-panel-steps {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    width: 240px;
    background: var(--bg-primary, #fff);
    border: 1px solid var(--border-light, #e2e8f0);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
    overflow: hidden;
}

.journey-panel.is-expanded .journey-panel-steps { display: block; }
/* Aperto sta sopra al form: la griglia del form ha z-index 50 e, finita la
   sua animazione d'entrata, copriva l'elenco degli step (visto su iPhone il
   2026-10-18). Resta sotto la navbar (1000) e il canvas (1300). */
.journey-panel.is-expanded { z-index: 200; }

/* Sul telefono il titolo lungo non ci sta accanto a "Laboratorio": resta lo
   step in corso. */
@media (max-width: 600px) {
    .journey-panel-title-text { display: none; }
}

/* Schermo largo e lavagna chiusa: la chat e' una colonna di 820px al centro,
   e ai suoi lati c'e' posto. Li' l'elenco sta sempre aperto, fluttuante in
   alto a destra come nella spec, senza toccare la colonna (a 1440px il
   margine destro e' 310px, il pannello ne occupa 236). `top` sotto
   l'intestazione: a 84px copriva il pulsante + della nuova ricerca. */
@media (min-width: 1440px) {
    body:not(.workspace-open) .journey-panel {
        position: fixed;
        top: 136px;
        right: 16px;
        width: 220px;
        margin: 0;
        background: var(--bg-primary, #fff);
        border: 1px solid var(--border-light, #e2e8f0);
        border-radius: 12px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
        overflow: hidden;
    }
    body:not(.workspace-open) .journey-panel-title {
        width: 100%;
        padding: 10px 12px;
        border: none;
        border-bottom: 1px solid var(--border-light, #e2e8f0);
        border-radius: 0;
        background: transparent;
        cursor: default;
    }
    body:not(.workspace-open) .journey-panel-current,
    body:not(.workspace-open) .journey-panel-chevron { display: none; }
    body:not(.workspace-open) .journey-panel-steps {
        display: block;
        position: static;
        width: auto;
        border: none;
        border-radius: 0;
        box-shadow: none;
    }
}

.journey-step {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 12px;
    font-size: .82em;
}

.journey-step[data-status="attivo"] { background: rgba(99, 102, 241, .08); }
.journey-step[data-status="saltato"],
.journey-step[data-status="fatto"] { color: var(--text-secondary, #64748b); }

.journey-skip-btn {
    background: none;
    border: 1px solid var(--border-light, #e2e8f0);
    border-radius: 6px;
    padding: 2px 8px;
    font-size: .85em;
    cursor: pointer;
}

/* La lavagna vive DENTRO il pannello destro (vedi Task 7): non e' piu'
   un riquadro fisso che si sovrappone all'itinerario, sono due contenuti
   dello stesso spazio. */
.lavagna-panel {
    display: none;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    background: var(--bg-primary, #fff);
}

.lavagna-panel.lavagna-open { display: block; }

/* Con una lavagna aperta il pannello destro e' suo: l'itinerario (o la
   schermata di ricerca rimasta accesa sotto) si nasconde e torna quando la
   lavagna si chiude. Senza, la lavagna dei voli finiva sotto la foto della
   citta' di SAGA. */
.lab-right-workspace:has(.lavagna-panel.lavagna-open) .workspace-card { display: none; }

/* Ogni lavagna resta nel pannello per tutta la conversazione, nascosta
   quando non e' quella aperta: e' cosi' che riaprendola la si ritrova
   esattamente com'era (15-journey.js, createLavagna/openLavagna). */
.lavagna {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* `display: flex` qui sopra batte il `[hidden]` del browser, che sta nel
   foglio di stile di base e perde contro qualunque regola nostra: senza
   questa riga le lavagne nascoste si vedrebbero tutte, impilate. */
.lavagna[hidden] { display: none; }

.lavagna-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    font-weight: 600;
    border-bottom: 1px solid var(--border-light, #e2e8f0);
}

.lavagna-close {
    background: none;
    border: none;
    font-size: 1.4em;
    line-height: 1;
    padding: 0 4px;
    cursor: pointer;
    color: var(--text-secondary, #64748b);
}

.lavagna-close:hover { color: var(--text-primary, #0f172a); }

/* Lo scorrimento sta dentro la singola lavagna, non nel pannello: cosi'
   ognuna conserva il suo punto, invece di condividerne uno solo. */
.lavagna-body {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
}

/* La scelta resta visibile sulla card, anche riaprendo la lavagna. */
.info-card.is-chosen {
    outline: 2px solid var(--accent, #6366f1);
    outline-offset: -2px;
}

.lavagna-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
    background: var(--bg-primary, #fff);
    border: 1px solid var(--border-light, #e2e8f0);
    border-radius: 8px;
    padding: 3px 10px;
    font: inherit;
    font-size: .82em;
    color: inherit;
    cursor: pointer;
}

/* Il form hotel veste come il form "Organizza il tuo Viaggio": le sue classi
   (search-form-container, form-grid, form-group, form-input,
   search-submit-btn) hanno gia' tutto lo stile, in 05-chat.css. Qui solo i
   pezzi che quel form non ha. */
.hotel-form .form-group-full { grid-column: 1 / -1; }

.hotel-form .hotel-form-check { justify-content: flex-end; }

.hotel-form .hotel-form-check label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    cursor: pointer;
}

.hotel-form textarea.form-input {
    resize: vertical;
    min-height: 56px;
    font-family: inherit;
}

.clarification-chip-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.clarification-option {
    background: var(--border-lighter, #f1f5f9);
    border: 1px solid var(--border-light, #e2e8f0);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: .88em;
    cursor: pointer;
}

.clarification-option:hover { background: var(--accent, #6366f1); color: #fff; }

/* L'attesa: il globo AmeryGo con l'aereo che gira (images/loading-amerygo.svg,
   animato dentro l'SVG) e il testo dal vivo accanto. */
.loading-indicator-row { display: flex; align-items: center; gap: 10px; }

.loading-provider-icon { width: 36px; height: 36px; flex-shrink: 0; object-fit: contain; }

/* Il nostro globo e' piu' largo che alto: l'orbita dell'aereo esce ai lati.
   In un quadrato da 36 px il globo restava di 20 px; cosi' e' alto quanto la
   riga. I loghi dei fornitori (stessa <img>) restano nel quadrato. */
.loading-provider-icon[src*="loading-amerygo"] { width: 60px; }

/* Andata e ritorno fatti di due sole andate (flights_service,
   _compose_round_trips): il cliente deve sapere prima di scegliere che compra
   due biglietti. */
.badge.separate-tickets-badge {
    background: #fffbeb;
    color: #b45309;
    padding: 2px 9px;
    border-radius: 20px;
    font-size: 0.62rem;
    font-weight: 600;
    border: 1px solid #fcd34d;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    align-self: flex-start;
    margin-top: 4px;
}

[data-theme="dark"] .badge.separate-tickets-badge { background: #422006; color: #fcd34d; border-color: #b45309; }

.loading-status-text {
    font-size: .85rem;
    color: var(--text-secondary, #64748b);
    min-height: 1em;
    transition: opacity .3s;
}

/* I passi dal vivo sotto l'attesa (appendLiveStep in 04-chat.js, 2026-09-19):
   ogni aggiornamento del server e' una riga; quelli finiti prendono la spunta
   e si spengono, quello in corso pulsa. */
.live-steps {
    list-style: none;
    margin: 10px 0 2px;
    padding: 0 0 0 6px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.live-step {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: .82rem;
    line-height: 1.4;
    color: var(--text-primary, #1e293b);
}

.live-step strong { font-weight: 600; }

.live-step-icon {
    width: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    text-align: center;
    color: var(--primary-sky, #00a8e8);
}

.live-step.is-current .live-step-icon { animation: live-step-pulse 1.4s ease-in-out infinite; }

.live-step.is-done { color: var(--text-muted, #94a3b8); }
.live-step.is-done strong { font-weight: 500; }
.live-step.is-done .live-step-icon { color: var(--primary-green, #3ddc84); }

@keyframes live-step-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .35; }
}

@media (prefers-reduced-motion: reduce) {
    .live-step.is-current .live-step-icon { animation: none; }
}

/* "Prosegui senza hotel": un'uscita, non l'azione principale. */
.hf-continue-without {
    grid-column: 1 / -1;
    justify-self: center;
    margin-top: 8px;
    background: none;
    border: 1px solid var(--border-light, #e2e8f0);
    border-radius: 20px;
    padding: 6px 16px;
    font: inherit;
    font-size: .85rem;
    color: var(--text-secondary, #64748b);
    cursor: pointer;
}

.hf-continue-without:hover { color: var(--text-primary, #0f172a); border-color: currentColor; }

/* Dentro il form, che e' scuro (05-chat.css), il grigio non si leggeva. */
.search-form-container .hf-continue-without { color: rgba(255, 255, 255, .8); border-color: rgba(255, 255, 255, .35); }
.search-form-container .hf-continue-without:hover { color: #fff; border-color: #fff; }

/* ─── Step Attivita': i messaggi di coda e la lavagna delle prenotazioni ───
   16-activity-booking.js. L'allegato e' lo stesso principio della
   .lavagna-chip dei voli, ma grande: un messaggio a se' che si nota. */

.trip-tail-message .message-content { width: 100%; }

.trip-tail-text { margin: 0 0 8px; }
.trip-tail-text[hidden] { display: none; }

.lavagna-attachment {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 460px;
    padding: 12px 14px;
    background: var(--bg-primary, #fff);
    border: 1px solid var(--border-light, #e2e8f0);
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .08);
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
    transition: box-shadow .16s, transform .16s;
}

.lavagna-attachment:hover { box-shadow: 0 6px 18px rgba(15, 23, 42, .14); }
.lavagna-attachment:active { transform: scale(.99); }

.lavagna-attachment-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3em;
    border-radius: 10px;
    background: var(--border-lighter, #f1f5f9);
}

.lavagna-attachment-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lavagna-attachment-title { font-weight: 600; }

.lavagna-attachment-subtitle,
.lavagna-attachment-arrow { color: var(--text-secondary, #64748b); }

.lavagna-attachment-subtitle { font-size: .85em; }

.booking-intro {
    margin: 0 0 12px;
    color: var(--text-secondary, #64748b);
    font-size: .9em;
}

.journey-step-open {
    padding: 0;
    background: none;
    border: none;
    font: inherit;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.journey-step-badge {
    font-size: .85em;
    color: var(--text-secondary, #64748b);
}

/* La ✕ che chiude l'itinerario (10-canvas.js, closeItineraryPanel). Sta
   sopra la foto della citta' che .result-header mette di sfondo. Il budget
   si sposta a destra per lasciarle l'angolo. Sul telefono c'e' gia' la
   freccia indietro del canvas: due modi per la stessa cosa confondono. */
.result-header .result-budget-mini { margin-left: auto; }

.result-close-btn {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    margin-left: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
}

.result-close-btn:hover { background: rgba(255, 255, 255, .26); }

@media (max-width: 900px) {
    .result-close-btn { display: none; }
}

/* Schede informative della chat (documenti, trasporti, attese): aspetto di
   base, lo stesso che prima era scritto nel JavaScript. Il nuovo e' in
   30-chat-nuova.css. */
.chat-scheda { background: #fff; border: 1.5px solid #e2e8f0; border-radius: 12px; overflow: hidden; margin: 4px 0; transition: border-color .2s, box-shadow .2s; }
.chat-scheda.is-open { border-color: #a78bfa; box-shadow: 0 4px 12px rgba(167, 139, 250, .15); }
.chat-scheda.is-pending { opacity: .85; }
.chat-scheda-testa { display: flex; align-items: center; gap: 10px; width: 100%; padding: 14px 16px; background: none; border: 0; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.chat-scheda.is-pending .chat-scheda-testa { cursor: default; }
.chat-scheda-icona { width: 32px; height: 32px; flex-shrink: 0; border-radius: 8px; background: #f1f5f9; display: flex; align-items: center; justify-content: center; }
.collapsible-box--transport .chat-scheda-icona { background: #faf5ff; }
.chat-scheda-testi { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.chat-scheda-titolo { font-size: .88rem; font-weight: 700; color: #1e293b; }
.chat-scheda-distintivo { font-size: .62rem; background: #7c3aed; color: #fff; padding: 2px 7px; border-radius: 20px; font-weight: 600; vertical-align: middle; }
.chat-scheda-sotto { font-size: .72rem; color: #64748b; }
.chat-scheda.is-pending .chat-scheda-sotto .fa-spin { color: #a78bfa; }
.chat-scheda-freccia { color: #94a3b8; transition: transform .25s; }
.chat-scheda.is-open .chat-scheda-freccia { transform: rotate(180deg); }
.chat-scheda-corpo { padding: 14px 16px; border-top: 1px solid #f1f5f9; font-size: .82rem; color: #334155; line-height: 1.6; }
.chat-scheda-sezione { margin: 0 0 6px; font-size: .8rem; font-weight: 700; color: #0f172a; }
.chat-scheda-elenco { margin: 0 0 12px; padding-left: 16px; }
.chat-scheda-testo { margin: 0 0 10px; }
.chat-scheda-riga { background: #faf5ff; border-radius: 8px; padding: 8px 10px; margin-bottom: 6px; font-size: .8rem; }
.chat-scheda-dettaglio { display: block; color: #64748b; }
.chat-scheda-nota { margin: 0 0 10px; font-size: .75rem; color: #94a3b8; font-style: italic; }
.chat-scheda-paywall { position: relative; }
.chat-scheda-sfocato { filter: blur(4px); user-select: none; pointer-events: none; line-height: 1.6; }
.chat-scheda-velo { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .6); }
.chat-scheda-sblocca { background: linear-gradient(135deg, #7c3aed, #4f46e5); color: #fff; border: 0; border-radius: 20px; padding: 8px 20px; font-size: .82rem; font-weight: 700; cursor: pointer; box-shadow: 0 4px 12px rgba(124, 58, 237, .4); }

/* L'allegato dei voli e degli hotel e' una scheda come .lavagna-attachment
   (chat nuova, Fase 2): qui solo cio' che la vecchia .lavagna-chip gli
   lascerebbe addosso, e i pezzi nuovi. */
.lavagna-chip.lavagna-attachment { margin: 10px 0 0; font-size: inherit; }
.lavagna-attachment-subtitle[hidden] { display: none; }
.lavagna-chip-azione {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    font-size: .8em;
    color: var(--text-secondary, #64748b);
    white-space: nowrap;
}
.lavagna-attachment-foto { background-size: cover; background-position: center; }
.lavagna-attachment.is-grande .lavagna-attachment-foto { width: 52px; height: 52px; border-radius: 10px; }

/* Passo albergo e pulsanti del budget: l'aspetto di prima, che era scritto
   nel codice (04-chat.js, templates/chat.html). Il nuovo e' in 30-chat-nuova.css. */
.hs-desc { color: #64748b; font-size: .9em; margin-bottom: 10px; }
.hs-campo { position: relative; }
.hs-input { width: 100%; padding: 12px 15px; border: 2px solid #4ecdc4; border-radius: 10px; font-size: 1em; outline: none; }
.hs-risultati { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-radius: 0 0 10px 10px; box-shadow: 0 4px 15px rgba(0, 0, 0, .15); max-height: 250px; overflow-y: auto; z-index: 1000; display: none; }
.hs-aiuto { margin-top: 8px; padding: 8px 12px; background: #f0fdf4; border: 1px solid #86efac; border-radius: 8px; color: #16a34a; font-size: .85em; }
.hs-aiuto[hidden] { display: none; }
.hs-azioni { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.hs-salta, .hs-prenota { flex: 1; color: #fff; border: 0; padding: 9px 16px; border-radius: 8px; cursor: pointer; font-size: .9em; }
.hs-salta { min-width: 120px; background: #94a3b8; }
.hs-prenota { min-width: 140px; background: linear-gradient(135deg, #4ecdc4, #0ea5e9); font-weight: 600; }
.hs-prenota.is-fatto { background: #16a34a; cursor: default; }

.budget-btn--primario { background: #4ecdc4; border: 1px solid #4ecdc4; color: #0f172a; }
.budget-btn--secondario { background: transparent; border: 1px solid #4ecdc4; color: #4ecdc4; }
.budget-btn--terziario { background: transparent; border: 1px solid #64748b; color: #94a3b8; }
.budget-barra { height: 6px; margin: 8px 0 4px; border-radius: 6px; background: #f1f5f9; overflow: hidden; }
.budget-barra i { display: block; height: 100%; width: 0; background: #4ecdc4; transition: width .3s; }
.budget-barra i.is-over { background: #f59e0b; }

/* ─── Card hotel della lavagna (2026-09-30) ──────────────────────────────
   Foto in alto, nome con le stelle, voto in evidenza, prezzo per notte e un
   solo pulsante principale. Classe propria (.hotel-card): .info-card la usano
   anche altre card (voli), che non devono cambiare. Colori dalle variabili,
   cosi' il tema scuro viene da solo. */
.info-card.hotel-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--border-light, #e2e8f0);
    border-left: 1px solid var(--border-light, #e2e8f0);
    border-radius: 14px;
    background: var(--bg-primary, #fff);
    box-shadow: 0 1px 3px rgba(15, 23, 42, .06);
}
.info-card.hotel-card:hover {
    transform: none;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .10);
}
.hotel-card-photo {
    height: 150px;
    background: var(--bg-secondary, #f1f5f9);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hotel-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hotel-card-photo.no-photo {
    background: linear-gradient(135deg, rgba(0, 168, 232, .14), rgba(61, 220, 132, .14));
    color: var(--primary-sky, #00a8e8);
    font-size: 2rem;
}
.hotel-card-body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.info-card.hotel-card h4 {
    margin: 0;
    color: var(--text-primary, #0f172a);
    font-size: 1rem;
    line-height: 1.3;
}
.hotel-card-stars {
    color: #f59e0b;
    font-size: .8rem;
    letter-spacing: 1px;
}
.hotel-card .hotel-reviews {
    margin: 2px 0 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .8rem;
    color: var(--text-secondary, #475569);
}
.hotel-score {
    background: var(--primary-sky, #00a8e8);
    color: #fff;
    font-weight: 700;
    border-radius: 6px;
    padding: 2px 7px;
    font-size: .8rem;
}
.hotel-card-foot {
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}
.hotel-card-price {
    margin: 0;
    color: var(--text-primary, #0f172a);
}
.hotel-card-price strong { font-size: 1.2rem; }
.hotel-card-price small {
    color: var(--text-secondary, #475569);
    font-size: .78rem;
}
.hotel-card-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
/* Il sito dell'hotel e' un link secondario, non un secondo pulsante. */
.hotel-card .book-btn.hotel-card-link {
    background: none;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
    color: var(--primary-sky, #00a8e8);
    font-weight: 600;
    font-size: .85rem;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.hotel-card .book-btn.hotel-card-link:hover { transform: none; box-shadow: none; }
.hotel-card .select-hotel-btn {
    background: var(--gradient-brand, linear-gradient(135deg, #00a8e8 0%, #3ddc84 100%));
    border-radius: 999px;
    padding: 8px 18px;
    font-size: .85rem;
}

/* ── Il passo Hotel su Booking (2026-10-20) ─────────────────────────────
   Dopo «Cerca» Booking si apre in una scheda nuova; qui resta la scheda per
   riaprirlo e per scrivere l'hotel scelto. */
.hotel-booking-card .message-content { display: flex; flex-direction: column; gap: 10px; }
.hotel-booking-card .hb-testo { margin: 0; }
.hotel-booking-card .hb-riapri {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  flex: none; align-self: flex-start; padding: 9px 16px; font-size: .9rem;
}
.hb-scelta { display: flex; flex-direction: column; gap: 6px; position: relative; }
.hb-etichetta { font-size: .85rem; color: var(--text-secondary, #475569); }
.hb-suggerimenti { display: flex; flex-direction: column; gap: 4px; }
.hb-suggerimento {
  font: inherit; font-size: .85rem; text-align: left; cursor: pointer;
  padding: 7px 10px; border-radius: 8px;
  border: 1px solid var(--border-color, #e2e8f0); background: var(--bg-card, #fff);
  color: var(--text-primary, #0f172a);
}
.hb-suggerimento:hover { border-color: #003580; }
.hb-azioni { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hb-azioni .hb-conferma { width: auto; margin: 0; padding: 9px 16px; }
.hb-fatto { margin: 0; font-weight: 600; color: #10704f; }
.hotel-booking-card .hb-nome {
  width: 100%; max-width: 420px; box-sizing: border-box;
  padding: 10px 12px; border-radius: 10px; font: inherit; font-size: .95rem;
  border: 1px solid var(--border-color, #cbd5e1);
  background: var(--bg-card, #fff); color: var(--text-primary, #0f172a);
}
.hotel-booking-card .hb-nome:focus { outline: 2px solid #003580; outline-offset: 1px; }
.hb-suggerimenti { max-width: 420px; }
