/* Página pública de inscripción a eventos — reutiliza la paleta de la landing. */

.event-hero {
    background: var(--color-accent);
    color: white;
    padding: 2.5rem 1.25rem 2rem;
    text-align: center;
}

.event-hero h2 {
    font-weight: 800;
    font-size: 1.9rem;
    margin-bottom: 0.5rem;
}

.event-badge {
    display: inline-block;
    background: var(--color-primary);
    color: var(--color-accent);
    padding: 0.4rem 1.25rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.95rem;
    margin: 0.2rem;
}

.event-wrapper {
    max-width: 760px;
    margin: 0 auto;
    padding: 2rem 1rem 4rem;
}

.event-description {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 66, 66, 0.08);
    padding: 1.5rem;
    margin-bottom: 1.75rem;
}

.event-poster {
    margin-bottom: 1.75rem;
    text-align: center;
}

.event-poster img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 66, 66, 0.12);
}

a.event-badge {
    text-decoration: none;
}

a.event-badge:hover {
    background: var(--color-neon, #00ff8d);
}

/* Progreso del wizard */
.wizard-progress {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2.5rem;
    margin-bottom: 2.25rem;
}

.wizard-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    min-width: 72px;
}

.wizard-progress-step .step-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #dde4e4;
    color: #777;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, box-shadow 0.2s;
}

.wizard-progress-step .step-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #999;
    white-space: nowrap;
    text-align: center;
}

.wizard-progress-step.active .step-circle {
    background: var(--color-accent);
    color: white;
    box-shadow: 0 0 0 4px rgba(36, 200, 127, 0.35);
}

.wizard-progress-step.active .step-label {
    color: var(--color-accent);
    font-weight: 800;
}

.wizard-progress-step.done .step-circle {
    background: var(--color-primary);
    color: white;
}

.wizard-progress-step.done .step-label {
    color: var(--color-primary);
}

/* Secciones (mismo estilo que apoderados) */
.form-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 66, 66, 0.08);
    overflow: hidden;
    margin-bottom: 1.75rem;
}

.form-section-header {
    background: var(--color-accent);
    color: white;
    padding: 1rem 1.5rem;
}

.form-section-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
}

.form-section-body {
    padding: 1.5rem;
}

.form-section-body label {
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 0.3rem;
}

.consent-section-header {
    background: #2d6e2d;
}

/* Tarjetas de asistente */
.attendee-card {
    border: 2px solid #dde4e4;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
}

.attendee-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.attendee-title {
    font-weight: 800;
    color: var(--color-accent);
}

.attendee-header-right {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.attendee-price {
    background: #e6fff5;
    color: var(--color-accent);
    font-weight: 800;
    font-size: 0.92rem;
    padding: 0.25rem 0.8rem;
    border-radius: 20px;
    white-space: nowrap;
}

.attendee-price:empty {
    display: none;
}

.attendees-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    padding: 1rem 1.5rem;
    background: var(--color-accent);
    color: white;
    border-radius: 10px;
    font-weight: 700;
}

.attendees-total .total-amount {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-neon, #00ff8d);
    white-space: nowrap;
}

.attendees-total .total-note {
    flex-basis: 100%;
    text-align: right;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
}

.btn-remove-attendee {
    background: none;
    border: none;
    color: #c62828;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    line-height: 1;
}

.btn-add-attendee {
    background: none;
    border: 2px dashed var(--color-accent);
    color: var(--color-accent);
    font-weight: 700;
    border-radius: 10px;
    padding: 0.7rem 1.5rem;
    width: 100%;
    cursor: pointer;
    margin: 0.25rem 0 0.5rem;
    transition: background 0.15s;
}

.btn-add-attendee:hover {
    background: rgba(0, 66, 66, 0.05);
}

/* Resumen de precios */
.price-summary table {
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.price-summary td,
.price-summary th {
    padding: 0.5rem 0.4rem;
    border-bottom: 1px solid #dde4e4;
    text-align: left;
}

.price-summary .price-cell {
    text-align: right;
    white-space: nowrap;
}

.price-summary .total-row td {
    font-weight: 800;
    color: var(--color-accent);
    font-size: 1.05rem;
    border-bottom: none;
}

/* Consentimiento */
.consent-block {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.1rem 1.25rem;
    background: white;
    border: 2px solid #dde4e4;
    border-radius: 10px;
}

.consent-block input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 2px;
    accent-color: var(--color-accent);
    cursor: pointer;
}

.consent-block .consent-text {
    font-size: 0.92rem;
    color: #444;
    line-height: 1.5;
}

.field-error-msg {
    color: #c62828;
    font-size: 0.875rem;
    margin-top: 0.3rem;
}

/* Navegación del wizard */
.wizard-nav {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 1.75rem;
    padding-bottom: 1rem;
}

.btn-wizard {
    padding: 1rem 2rem;
    font-size: 1.05rem;
    font-weight: 800;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.btn-wizard-prev {
    background: #dde4e4;
    color: #333;
}

.btn-wizard-next,
.btn-event-submit {
    background: var(--color-accent);
    color: white;
    flex-grow: 1;
}

.btn-wizard-next:hover,
.btn-event-submit:hover {
    background: #002d2d;
    transform: translateY(-2px);
}

@media (max-width: 576px) {
    .wizard-progress {
        gap: 1rem;
    }

    .wizard-progress-step span {
        display: none;
    }
}
