/* ==========================================================================
   Página do evento (evento.php) — detalhes + escolha de ingressos/assentos
   Usa as variáveis de css/style.css (--primary-blue etc.).
   ========================================================================== */

.evento-banner {
    background: var(--primary-blue, #0b4b8a);
    color: #fff;
    padding: 34px 0;
    text-align: center;
}

.evento-banner h1 {
    margin: 0;
    font-size: clamp(20px, 3vw, 30px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.evento-page {
    padding: 36px 0 70px;
    background: #fff;
}

.evento-erro {
    max-width: 640px;
    margin: 30px auto;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fafafa;
}

.evento-erro h4 { font-weight: 700; margin-bottom: 8px; }

/* ----- coluna esquerda --------------------------------------------------- */

.evento-poster img {
    display: block;
    width: 100%;
    max-width: 520px;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .12);
}

.evento-data {
    margin: 34px 0 18px;
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 800;
    color: var(--primary-blue, #0b4b8a);
    line-height: 1.1;
}

.evento-info {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    color: #666;
    font-size: 17px;
}

.evento-info li { margin-bottom: 4px; }
.evento-info strong { color: #555; }
.evento-info a { color: var(--primary-blue, #0b4b8a); }

.evento-countdown {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 30px 0;
}

.evento-countdown-item { text-align: center; }

.evento-countdown-item small {
    display: block;
    margin-top: 8px;
    color: #777;
    font-size: 15px;
}

.cd-circulo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    color: #fff;
    font-size: 36px;
    font-weight: 500;
}

.cd-dias { background: #5aaaf0; }
.cd-horas { background: #6b7bf5; }
.cd-minutos { background: #68aebd; }
.cd-segundos { background: #8fd98f; }

.evento-descricao { margin-top: 36px; }
.evento-descricao h3 { font-size: 24px; font-weight: 800; color: #222; margin-bottom: 12px; }
.evento-descricao #evento-descricao-texto { color: #555; line-height: 1.6; }

/* ----- coluna direita: compra -------------------------------------------- */

.evento-compra {
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    padding: 0 0 24px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, .05);
    overflow: hidden;
}

.evento-aviso {
    background: #d4a03c;
    color: #fff;
    text-align: center;
    padding: 24px 16px;
    font-size: 20px;
    font-weight: 500;
}

.evento-loading { text-align: center; padding: 48px 16px; color: #777; }

.evento-setor { border-bottom: 1px solid #eee; }

.evento-setor-head {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 0;
    background: var(--primary-blue, #0b4b8a);
    color: #fff;
    padding: 16px 22px;
    font-size: 18px;
    text-align: left;
}

.evento-setor-head i { transition: transform .2s; }
.evento-setor-head[aria-expanded="false"] i { transform: rotate(-90deg); }

.evento-ingresso {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 22px 26px;
    border-bottom: 1px dashed #bbb;
}

.evento-ingresso:last-child { border-bottom: 0; }

.evento-ingresso-info small {
    display: block;
    letter-spacing: 1px;
    color: #555;
    margin-bottom: 14px;
}

.evento-ingresso-nome { font-size: 22px; font-weight: 500; color: #222; line-height: 1.25; }
.evento-ingresso-preco { margin-top: 12px; font-size: 18px; font-weight: 600; color: #333; }

.evento-ingresso-controle { text-align: right; flex-shrink: 0; }

.evento-qtd { display: inline-flex; align-items: center; gap: 4px; }

.evento-qtd button {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 6px;
    background: #2e7d4f;
    color: #fff;
    font-size: 22px;
    line-height: 1;
}

.evento-qtd button.btn-menos { background: #8bb89d; }
.evento-qtd button:disabled { opacity: .55; }

.evento-qtd input {
    width: 40px;
    height: 40px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 18px;
}

.evento-ingresso-subtotal { margin-top: 12px; font-weight: 700; font-size: 17px; color: #333; }

.evento-total {
    text-align: right;
    padding: 20px 26px 4px;
    font-size: 22px;
    font-weight: 700;
    color: #222;
}

.evento-termos, .evento-entrega { padding: 8px 26px; }
.evento-termos label { font-size: 17px; color: #333; }
.evento-termos a { color: #e53935; text-decoration: none; }

.evento-entrega { text-align: center; }
.evento-entrega label { display: block; font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.evento-entrega select {
    width: 100%;
    max-width: 440px;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 17px;
}

.evento-feedback {
    margin: 12px 26px 0;
    padding: 10px 14px;
    border-radius: 8px;
    background: #fdecea;
    color: #a32d2d;
    font-size: 15px;
}

.btn-evento-avancar {
    display: block;
    margin: 22px auto 0;
    min-width: 280px;
    border: 0;
    border-radius: 8px;
    padding: 18px 28px;
    background: var(--primary-blue, #0b4b8a);
    color: #fff;
    font-size: 19px;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-evento-avancar:disabled { opacity: .65; cursor: not-allowed; }

/* ----- mapa de assentos --------------------------------------------------- */

#evento-mapa { padding: 16px 16px 0; }

.evento-mapa-legenda {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: #555;
    margin-bottom: 10px;
}

.evento-mapa-legenda i {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
}

.evento-mapa-canvas {
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    background: #fafafa;
    overflow: hidden;
    min-height: 220px;
}

.evento-mapa-canvas .bs-mapa-svg { width: 100%; height: auto; display: block; }

.evento-selecao { margin-top: 16px; }
.evento-selecao h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }

.evento-selecao-linha {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 15px;
}

.evento-selecao-linha .info small { display: block; color: #777; }
.evento-selecao-linha .valor { font-weight: 700; white-space: nowrap; }
.evento-selecao-linha button { border: 0; background: transparent; color: #a32d2d; }

@media (max-width: 575px) {
    .cd-circulo { width: 72px; height: 72px; font-size: 26px; }
    .evento-ingresso { padding: 18px 16px; }
    .evento-ingresso-nome { font-size: 19px; }
    .btn-evento-avancar { width: calc(100% - 32px); min-width: 0; }
}
