/* ==========================================================================
   TICKETS SALES MODULE - EXPO PY 2026
   ========================================================================== */

/* Variables locales para el módulo */
:root {
    --ticket-blue: #05d9e8;
    --ticket-pink: #ff2a6d;
    --ticket-dark-bg: rgba(12, 7, 21, 0.93);
    --ticket-accent-gradient: linear-gradient(135deg, #FF5E3A 0%, #FF2A6D 50%, #8A2387 100%);
    --ticket-button-gradient: linear-gradient(135deg, #FF2A6D 0%, #05d9e8 100%);
    --ticket-success-green: #25D366;
}

/* Botón Especial de Venta de Entradas en Pantalla Inicial */
.btn-expo-tickets {
    background: var(--ticket-accent-gradient);
    border: 2.5px solid #ffffff; /* Borde igual a btn-primary */
    color: #ffffff;
    padding: 16px 36px; /* Padding igual a btn-primary */
    font-size: 14.5px; /* Tamaño igual a btn-primary */
    font-weight: 800; /* Peso igual a btn-primary */
    letter-spacing: 1.5px; /* Espaciado igual a btn-primary */
    text-transform: uppercase;
    border-radius: 50px; /* Radio igual a btn-primary */
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(255, 42, 109, 0.4), 0 0 15px rgba(5, 217, 232, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-bottom: 12px;
    animation: ticket-btn-pulse 2s infinite ease-in-out;
}

.btn-expo-tickets:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 30px rgba(255, 42, 109, 0.55), 
                0 0 20px rgba(5, 217, 232, 0.4);
    border-color: #ffffff;
}

.btn-expo-tickets:active {
    transform: translateY(1px);
}

.btn-expo-tickets .btn-badge-hot {
    background: #fff;
    color: #ff2a6d;
    font-size: 9px;
    font-weight: 900;
    padding: 2px 6px;
    border-radius: 20px;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    margin-right: -4px;
}

@keyframes ticket-btn-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(255, 42, 109, 0.4), 0 0 0 0 rgba(255, 42, 109, 0.4);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 12px 30px rgba(255, 42, 109, 0.6), 0 0 15px 4px rgba(5, 217, 232, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(255, 42, 109, 0.4), 0 0 0 0 rgba(255, 42, 109, 0.4);
    }
}

/* Panel Lateral (Sidebar Drawer) para Desktop */
#tickets-sidebar-panel {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 440px;
    height: auto;
    max-height: calc(100vh - 40px);
    background: var(--ticket-dark-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    box-shadow: -10px 10px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(5, 217, 232, 0.05);
    z-index: 200;
    display: flex;
    flex-direction: column;
    transform: translateX(calc(100% + 40px));
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: auto;
    overflow: hidden; /* Critical: clips the sliding screens */
}

#tickets-sidebar-panel.active {
    transform: translateX(0);
}

/* Cabecera del Panel */
.tickets-panel-header {
    padding: 28px 24px 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.tickets-panel-header h2 {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    background: linear-gradient(135deg, #ffffff 0%, #c2b9d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tickets-panel-header .subtitle {
    font-size: 13px;
    color: var(--ticket-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-close-tickets {
    position: absolute;
    top: 24px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-close-tickets:hover {
    background: rgba(255, 42, 109, 0.2);
    border-color: var(--ticket-pink);
    color: #fff;
    transform: rotate(90deg);
}

/* Header interno do wizard */
.tickets-header-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Indicador de passos do wizard */
.wizard-steps {
    display: flex;
    align-items: center;
    gap: 0;
}

.wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.wizard-step.active {
    opacity: 1;
}

.wizard-step.completed {
    opacity: 0.8;
}

.step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    transition: all 0.3s ease;
}

.wizard-step.active .step-num {
    background: var(--ticket-pink);
    border-color: var(--ticket-pink);
    box-shadow: 0 0 12px rgba(255, 42, 109, 0.5);
}

.wizard-step.completed .step-num {
    background: var(--ticket-success-green);
    border-color: var(--ticket-success-green);
}

.step-label {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.7);
    white-space: nowrap;
}

.wizard-step-line {
    flex: 1;
    height: 2px;
    background: rgba(255,255,255,0.1);
    margin: 0 6px;
    margin-bottom: 14px;
    transition: background 0.4s ease;
}

.wizard-step-line.filled {
    background: var(--ticket-success-green);
}

/* Viewport: janela que mostra 1 tela por vez */
.wizard-viewport {
    overflow: hidden;
    flex: 1;
    position: relative;
    max-height: calc(100vh - 140px); /* header height subtracted */
}

/* Slider: flex row que contém todas as telas lado a lado */
.wizard-slider {
    display: flex;
    flex-direction: row;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    width: 400%; /* 4 telas */
}

/* Cada tela ocupa 1/4 do slider (= 100% do viewport) */
.wizard-screen {
    width: calc(100% / 4);
    flex-shrink: 0;
    overflow-y: auto;
    max-height: calc(100vh - 140px);
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.wizard-screen::-webkit-scrollbar { width: 4px; }
.wizard-screen::-webkit-scrollbar-track { background: transparent; }
.wizard-screen::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }

/* Conteúdo interno de cada tela */
.wizard-screen-inner {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Telas centradas (pagamento e confirmação) */
.wizard-screen-centered {
    align-items: center;
    text-align: center;
}

/* ================================
   SALES SCREEN (Tela 1)
   ================================ */
.sales-screen {
    gap: 16px;
    padding-bottom: 28px;
}

.sales-header-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.3px;
}

.sales-hero {
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: -8px;
}

.sales-balloon-img {
    width: 160px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(255, 42, 109, 0.3));
    animation: balloon-float 4s ease-in-out infinite;
}

@keyframes balloon-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.sales-hero-badge {
    position: absolute;
    bottom: 6px;
    right: 10%;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(5, 217, 232, 0.12);
    border: 1px solid rgba(5, 217, 232, 0.3);
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 700;
    color: var(--ticket-blue);
    letter-spacing: 0.3px;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ticket-blue);
    animation: dot-pulse 1.5s ease-in-out infinite;
}

@keyframes dot-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.7); }
}

.sales-title-block {
    text-align: center;
    padding: 0 4px;
}

.sales-main-title {
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 8px;
}

.title-highlight {
    background: linear-gradient(135deg, #FF5E3A, #FF2A6D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sales-sub {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.sales-urgency-box {
    background: linear-gradient(135deg, rgba(255, 94, 58, 0.08) 0%, rgba(255, 42, 109, 0.08) 100%);
    border: 1px solid rgba(255, 42, 109, 0.25);
    border-radius: 14px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.urgency-top {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.urgency-fire {
    font-size: 22px;
    line-height: 1;
}

.urgency-title {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 3px;
}

.urgency-sub {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
}

.urgency-sub strong {
    color: var(--ticket-pink);
}

.urgency-bar-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.urgency-bar {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    overflow: hidden;
}

.urgency-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF5E3A, #FF2A6D);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.urgency-bar-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--ticket-pink);
    white-space: nowrap;
}

.sales-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(5, 217, 232, 0.15);
}

.feature-icon {
    font-size: 22px;
    flex-shrink: 0;
    line-height: 1;
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.feature-text strong {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
}

.feature-text span {
    font-size: 11.5px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.sales-price-block {
    background: linear-gradient(135deg, rgba(5, 217, 232, 0.06) 0%, rgba(255, 42, 109, 0.04) 100%);
    border: 1px solid rgba(5, 217, 232, 0.18);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.price-context {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-context-text {
    font-size: 11px;
    font-weight: 700;
    color: var(--ticket-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-next s {
    font-size: 11px;
    color: var(--text-secondary);
}

.price-main-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.price-tag-sales {
    display: flex;
    align-items: baseline;
    gap: 3px;
}

.price-currency-s {
    font-size: 14px;
    font-weight: 700;
    color: var(--ticket-blue);
}

.price-amount-s {
    font-size: 28px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.price-per-s {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
}

.price-kids-free {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    font-size: 11px;
    color: var(--text-secondary);
}

.kids-free-tag {
    background: rgba(37, 211, 102, 0.15);
    border: 1px solid rgba(37, 211, 102, 0.4);
    border-radius: 6px;
    color: var(--ticket-success-green);
    font-size: 10px;
    font-weight: 900;
    padding: 2px 7px;
    letter-spacing: 0.5px;
}

.sales-social-proof {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.06);
}

.proof-avatars {
    display: flex;
    gap: -4px;
    font-size: 18px;
    letter-spacing: -4px;
}

.proof-text {
    font-size: 12px;
    color: var(--text-secondary);
}

.proof-text strong {
    color: #fff;
}

.btn-sales-cta {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #FF5E3A 0%, #FF2A6D 50%, #8A2387 100%);
    border: none;
    border-radius: 14px;
    padding: 16px 20px;
    cursor: pointer;
    color: #fff;
    font-family: var(--font-main);
    box-shadow: 0 6px 24px rgba(255, 42, 109, 0.4), 0 0 0 0 rgba(255, 42, 109, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: cta-pulse 2s ease-in-out infinite;
}

.btn-sales-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.btn-sales-cta:hover::before {
    left: 100%;
}

.btn-sales-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(255, 42, 109, 0.55);
    animation: none;
}

@keyframes cta-pulse {
    0%, 100% { box-shadow: 0 6px 24px rgba(255, 42, 109, 0.4), 0 0 0 0 rgba(255, 42, 109, 0.3); }
    50% { box-shadow: 0 6px 24px rgba(255, 42, 109, 0.5), 0 0 0 8px rgba(255, 42, 109, 0); }
}

.cta-emoji {
    font-size: 22px;
    animation: balloon-float 2s ease-in-out infinite;
}

.cta-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
}

.cta-main {
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.cta-sub {
    font-size: 10px;
    opacity: 0.8;
    font-weight: 500;
}

.sales-disclaimer {
    font-size: 10px;
    color: rgba(255,255,255,0.4);
    text-align: center;
    line-height: 1.5;
    padding: 0 8px;
}




/* Indicador de Lotes e Información Visual de Lote Activo */
.batch-status-box {
    background: rgba(255, 94, 58, 0.06);
    border: 1px solid rgba(255, 94, 58, 0.2);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.batch-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.batch-badge {
    background: linear-gradient(135deg, #FF5E3A 0%, #FF2A6D 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
}

.batch-price {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.batch-price span {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

.batch-progress-container {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.batch-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

.batch-progress-label .urgent {
    color: #ff2a6d;
    animation: text-pulse-urgent 1.5s infinite alternate;
}

@keyframes text-pulse-urgent {
    0% { opacity: 0.8; }
    100% { opacity: 1; text-shadow: 0 0 8px rgba(255, 42, 109, 0.4); }
}

.batch-progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.batch-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff5e3a, #ff2a6d);
    border-radius: 4px;
    transition: width 1s ease-in-out;
}

/* Lotes Detalle Accordion */
.lotes-comparison-table {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lotes-comparison-table h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.lote-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid transparent;
}

.lote-row.active {
    background: rgba(5, 217, 232, 0.06);
    border-color: rgba(5, 217, 232, 0.2);
}

.lote-row.disabled {
    opacity: 0.5;
}

.lote-row-name {
    font-size: 13px;
    font-weight: 700;
}

.lote-row-price {
    font-size: 13px;
    font-weight: 800;
    color: var(--ticket-blue);
}

.lote-row.active .lote-row-price {
    color: var(--ticket-blue);
}

.lote-row-status {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 4px;
}

.lote-row.active .lote-row-status {
    background: rgba(5, 217, 232, 0.15);
    color: var(--ticket-blue);
}

.lote-row.disabled .lote-row-status {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

/* Tarjeta de Advertencias / Advisory Card */
.advisory-card {
    background: rgba(255, 171, 0, 0.07);
    border: 1px solid rgba(255, 171, 0, 0.2);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    gap: 14px;
}

.advisory-icon {
    font-size: 24px;
    line-height: 1;
}

.advisory-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.advisory-title {
    font-size: 13.5px;
    font-weight: 800;
    color: #ffab00;
}

.advisory-desc {
    font-size: 12px;
    line-height: 1.5;
    color: #ecd9b3;
}

.advisory-desc p {
    color: #ecd9b3 !important;
}

.advisory-desc p:not(:last-child) {
    margin-bottom: 8px;
}

/* Formulario de Reserva */
.tickets-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.form-input {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    padding: 12px 16px;
    border-radius: 12px;
    font-family: var(--font-main);
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: var(--ticket-blue);
    box-shadow: 0 0 10px rgba(5, 217, 232, 0.25), inset 0 2px 4px rgba(0, 0, 0, 0.2);
    background: rgba(0, 0, 0, 0.4);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Selector de Fechas Personalizado */
.date-selector-wrapper {
    position: relative;
}

.date-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.date-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 8px 4px;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.25s ease;
}

.date-btn:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.date-btn.active {
    background: rgba(5, 217, 232, 0.12);
    border-color: var(--ticket-blue);
    color: var(--ticket-blue);
    box-shadow: 0 0 10px rgba(5, 217, 232, 0.2);
}

.date-btn .date-day {
    font-size: 14px;
    font-weight: 800;
}

.date-btn .date-month {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.date-btn .date-weekday {
    font-size: 8px;
    opacity: 0.6;
}

/* Widget Contadores de Personas */
.passengers-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
}

.passengers-label {
    display: flex;
    flex-direction: column;
}

.passengers-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
}

.passengers-subtitle {
    font-size: 11px;
    color: var(--text-secondary);
}

.counter-widget {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(0, 0, 0, 0.25);
    padding: 4px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.counter-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    outline: none;
    user-select: none;
}

.counter-btn:hover {
    background: rgba(255, 42, 109, 0.2);
    border-color: var(--ticket-pink);
}

.counter-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.05);
}

.counter-value {
    font-size: 16px;
    font-weight: 800;
    min-width: 20px;
    text-align: center;
    color: #fff;
}

/* Resumen del Pedido (Dinámico) */
.order-summary-box {
    background: rgba(5, 217, 232, 0.04);
    border: 1px solid rgba(5, 217, 232, 0.15);
    border-radius: 16px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.summary-title {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--ticket-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-secondary);
}

.summary-divider {
    height: 1px;
    background: rgba(5, 217, 232, 0.15);
    margin: 4px 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.summary-total-label {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
}

.summary-total-val {
    font-size: 22px;
    font-weight: 900;
    color: var(--ticket-blue);
    text-shadow: 0 0 10px rgba(5, 217, 232, 0.3);
}

/* Botón enviar formulario */
.btn-submit-booking {
    background: var(--ticket-accent-gradient);
    border: none;
    color: #fff;
    padding: 16px;
    border-radius: 12px;
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 42, 109, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit-booking:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 42, 109, 0.4);
}

.btn-submit-booking:active {
    transform: translateY(1px);
}

/* Mensajes de Validación / Error */
.field-error-msg {
    color: var(--ticket-pink);
    font-size: 11px;
    font-weight: 700;
    margin-top: 4px;
    display: none;
}

.form-group.has-error .form-input {
    border-color: var(--ticket-pink);
    background: rgba(255, 42, 109, 0.05);
}

.form-group.has-error .field-error-msg {
    display: block;
}

/* Pantalla de Éxito y Ticket */
.tickets-success-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
    margin: auto 0;
    padding: 20px 0;
    animation: success-appear 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes success-appear {
    0% { transform: translateY(20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.success-badge-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.15);
    border: 2px solid var(--ticket-success-green);
    color: var(--ticket-success-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.25);
}

.success-text {
    text-align: center;
}

.success-text h3 {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
}

.success-text p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Estilo del Ticket Digital */
.digital-ticket {
    background: #171123;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

/* Borde dentado del ticket (efecto rasgado) */
.digital-ticket::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 10px;
    background-image: radial-gradient(circle, transparent 60%, #171123 62%);
    background-size: 12px 20px;
    background-position: center bottom;
}

.ticket-header {
    background: var(--ticket-accent-gradient);
    padding: 16px;
    text-align: center;
    color: #fff;
    position: relative;
}

.ticket-header .event-name {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1px;
}

.ticket-header .event-location {
    font-size: 11px;
    opacity: 0.85;
    font-weight: 600;
}

.ticket-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background-image: radial-gradient(circle at 0% 100%, transparent 8px, #171123 8px),
                      radial-gradient(circle at 100% 100%, transparent 8px, #171123 8px);
}

.ticket-divider-cut {
    border-top: 1.5px dashed rgba(255, 255, 255, 0.12);
    margin: 8px 0;
    position: relative;
}

/* Círculos laterales de boleto clásico */
.ticket-divider-cut::before,
.ticket-divider-cut::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--ticket-dark-bg);
    border-radius: 50%;
    top: -8px;
}

.ticket-divider-cut::before {
    left: -28px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.ticket-divider-cut::after {
    right: -28px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.ticket-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.ticket-info-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ticket-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.5px;
}

.ticket-value {
    font-size: 12.5px;
    font-weight: 700;
    color: #fff;
}

.ticket-value.highlight {
    color: var(--ticket-blue);
}

.ticket-value.price {
    font-size: 15px;
    font-weight: 800;
    color: var(--ticket-success-green);
}

.ticket-qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

.qr-code {
    width: 110px;
    height: 110px;
    background: #fff;
    padding: 6px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.ticket-code {
    font-family: monospace;
    font-size: 11px;
    color: var(--text-secondary);
    letter-spacing: 2px;
}

/* Botón Finalizar Pago WhatsApp */
.btn-whatsapp-payment {
    background: var(--whatsapp-green);
    color: #000;
    font-weight: 800;
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.25);
    transition: all 0.3s ease;
    border-bottom: 2px solid rgba(0,0,0,0.15);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.btn-whatsapp-payment:hover {
    background: var(--whatsapp-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Capa de Opacidad de Fondo para Modals */
#tickets-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 190;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

#tickets-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* ===========================
   PAYMENT SCREEN (Tela 2)
   =========================== */
.payment-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
}

.payment-icon {
    font-size: 40px;
    margin-bottom: 4px;
}

.payment-hero h3 {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.payment-hero p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 320px;
}

.payment-summary-card {
    background: rgba(5, 217, 232, 0.05);
    border: 1px solid rgba(5, 217, 232, 0.15);
    border-radius: 14px;
    padding: 16px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ps-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.ps-label {
    color: var(--text-secondary);
    font-weight: 600;
}

.ps-value {
    color: #fff;
    font-weight: 700;
}

.ps-divider {
    height: 1px;
    background: rgba(5, 217, 232, 0.12);
    margin: 4px 0;
}

.ps-total-row .ps-label {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
}

.ps-total {
    font-size: 18px !important;
    font-weight: 900 !important;
    color: var(--ticket-blue) !important;
    text-shadow: 0 0 10px rgba(5, 217, 232, 0.3);
}

.bank-details-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px 16px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bank-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.bank-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.bank-label {
    color: var(--text-secondary);
    font-weight: 600;
}

.bank-value {
    color: #fff;
    font-weight: 700;
    font-family: monospace;
    letter-spacing: 0.5px;
}

.btn-wizard-confirm {
    background: rgba(37, 211, 102, 0.1);
    border: 1.5px solid var(--ticket-success-green);
    color: var(--ticket-success-green);
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 800;
    padding: 12px 20px;
    border-radius: 12px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-wizard-confirm:hover {
    background: rgba(37, 211, 102, 0.2);
    transform: translateY(-1px);
}


@media (max-width: 600px) {
    /* Botón EXPO PY adaptado para móviles (una línea, tamaño proporcional) */
    .btn-expo-tickets {
        font-size: 13px !important;
        padding: 12px 16px !important;
        white-space: nowrap !important;
        gap: 6px !important;
        letter-spacing: 0.5px !important;
        margin-bottom: 12px !important;
    }

    .btn-expo-tickets .btn-badge-hot {
        font-size: 8px !important;
        padding: 2px 4px !important;
        margin-right: -2px !important;
    }

    .btn-expo-tickets svg {
        width: 16px !important;
        height: 16px !important;
    }

    /* En móviles, el modal se posiciona abajo como un bottom sheet */
    #tickets-sidebar-panel {
        width: 100vw;
        height: auto;
        max-height: 92vh;
        border-left: none;
        border-radius: 24px 24px 0 0;
        transform: translateY(100%);
        top: auto;
        bottom: 0;
        left: 0;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(5, 217, 232, 0.1);
        border: none;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    #tickets-sidebar-panel.active {
        transform: translateY(0) !important;
    }

    .tickets-panel-header {
        padding: 16px 20px 14px 20px;
        border-radius: 0;
    }

    .wizard-viewport,
    .wizard-screen {
        max-height: calc(92vh - 120px);
    }

    .wizard-screen-inner {
        padding: 16px 20px 20px;
    }

    .date-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

