/* CS Prenota - stili minimi. Colori caldi, nessun blu istituzionale. */

.cs-tickets-lista {
    display: grid;
    gap: 1.5rem;
}

.cs-tickets-evento {
    border: 1px solid #e6d9c8;
    border-radius: 8px;
    padding: 1.25rem;
    background: #fffaf3;
}

.cs-tickets-locandina img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.cs-tickets-evento h3 {
    margin-top: 0;
}

.cs-tickets-meta {
    color: #6b5a47;
    font-size: 0.95rem;
}

.cs-tickets-stato strong {
    color: #b5532a;
}

.cs-stato-esaurito .cs-tickets-stato strong,
.cs-stato-chiuso .cs-tickets-stato strong {
    color: #7a6f66;
}

.cs-tickets-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: flex-end;
    margin-top: 1rem;
}

.cs-tickets-form label {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
}

.cs-tickets-form select {
    min-width: 10rem;
    padding: 0.4rem;
}

.cs-tickets-btn {
    background: #d9622b;
    color: #fff;
    border: 0;
    border-radius: 6px;
    padding: 0.6rem 1.2rem;
    cursor: pointer;
}

.cs-tickets-btn:hover {
    background: #b5532a;
}

.cs-tickets-msg {
    padding: 0.75rem 1rem;
    border-radius: 6px;
}

.cs-tickets-msg-ok {
    background: #e7f4e4;
    color: #2d5a24;
}

.cs-tickets-msg-err {
    background: #fbe6e0;
    color: #8a2d12;
}

.cs-stato-cap .cs-tickets-stato strong,
.cs-stato-attesa .cs-tickets-stato strong {
    color: #8a6a2f;
}

.cs-stato-prenotato .cs-tickets-stato strong {
    color: #2d5a24;
}

.cs-tickets-annulla {
    margin-top: 1rem;
}

.cs-tickets-btn-sec {
    background: transparent;
    color: #8a2d12;
    border: 1px solid #c9a28f;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    cursor: pointer;
}

.cs-tickets-btn-sec:hover {
    background: #fbe6e0;
}

.cs-ticket-stato-2 {
    opacity: 0.6;
}

/* ---- I miei biglietti / validazione: leggibilità per persone anziane ---- */

.cs-biglietti {
    font-size: 1.15rem;
    line-height: 1.6;
}

.cs-biglietti-titolo {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

.cs-biglietto {
    border: 2px solid #e6d9c8;
    border-radius: 10px;
    background: #fffaf3;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.cs-biglietto-fascia {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    padding: 0.7rem 1.25rem;
    color: #fff;
    background: #2d7a3a;
}

.cs-biglietto-validato .cs-biglietto-fascia { background: #1f5f8b; }
.cs-biglietto-annullato .cs-biglietto-fascia { background: #8a2d12; }
.cs-biglietto-non_validato .cs-biglietto-fascia { background: #6b6259; }

.cs-biglietto-annullato,
.cs-biglietto-non_validato {
    background: #f7f4f1;
}

.cs-biglietto-corpo {
    padding: 1rem 1.25rem 1.25rem;
}

.cs-biglietto-corpo h3 {
    margin: 0 0 0.75rem;
    font-size: 1.4rem;
}

.cs-biglietto-corpo p {
    margin: 0.3rem 0;
}

.cs-voce {
    font-weight: 700;
}

.cs-biglietto-storia {
    list-style: none;
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #eadfd2;
}

.cs-biglietto-storia li {
    margin: 0.2rem 0;
}

.cs-biglietto-storia .cs-ok { color: #1f5f8b; font-weight: 700; }
.cs-biglietto-storia .cs-no { color: #8a2d12; font-weight: 700; }

.cs-biglietto .cs-qr {
    max-width: 300px;
    margin: 1rem auto 0.5rem;
}

.cs-biglietto-istruzioni {
    text-align: center;
    font-weight: 700;
}

.cs-biglietto .cs-tickets-annulla {
    text-align: center;
    margin-top: 1.25rem;
}

.cs-btn-grande {
    font-size: 1.3rem;
    padding: 0.9rem 1.6rem;
    width: 100%;
}

.cs-biglietto .cs-tickets-btn-sec {
    font-size: 1.05rem;
    padding: 0.7rem 1.4rem;
}

/* Intestazione della card evento: titolo, data subito sotto, poi tipo e luogo */
.cs-tickets-evento h3.cs-tickets-titolo {
    margin: 0 0 0.15rem;
}

.cs-tickets-quando {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #b5532a;
    line-height: 1.35;
}

.cs-tickets-dove {
    margin-top: 0;
}
