/* ── EMTI Ticket Vote — Frontend ───────────────────────────── */

.emti-tv {
    max-width: 560px;
    margin: 2rem auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    color: #1f2937;
    line-height: 1.6;
}

/* Header */
.emti-tv__header {
    text-align: center;
    margin-bottom: 1.5rem;
}
.emti-tv__header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
    color: #111827;
}
.emti-tv__subtitle {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0;
}
.emti-tv__subtitle strong {
    color: #1f2937;
}

/* Info Box */
.emti-tv__info-box {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #1e3a5f;
}
.emti-tv__info-box p {
    margin: 0;
}
.emti-tv__info-box--highlight {
    background: #fef9c3;
    border-color: #fde047;
    color: #713f12;
}

/* Input field */
.emti-tv__field {
    margin-bottom: 1.25rem;
}
.emti-tv__field label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    color: #374151;
}
.emti-tv__field input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1.1rem;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
    letter-spacing: 0.05em;
    font-variant-numeric: tabular-nums;
}
.emti-tv__field input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* Buttons */
.emti-tv__btn {
    display: block;
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, opacity 0.2s;
    text-align: center;
}
.emti-tv__btn--primary {
    background: #2563eb;
    color: #fff;
}
.emti-tv__btn--primary:hover:not(:disabled) {
    background: #1d4ed8;
}
.emti-tv__btn--primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.emti-tv__btn--secondary {
    background: transparent;
    color: #6b7280;
    border: 1px solid #d1d5db;
    margin-top: 0.75rem;
}
.emti-tv__btn--secondary:hover {
    background: #f9fafb;
    color: #374151;
}

/* Loading state */
.emti-tv__btn--loading {
    pointer-events: none;
    opacity: 0.7;
}

/* Error / success messages */
.emti-tv__message {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
}
.emti-tv__message--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

/* Option cards */
.emti-tv__options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.emti-tv__option {
    display: block;
    cursor: pointer;
}
.emti-tv__option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.emti-tv__option-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.emti-tv__option-card:hover {
    border-color: #93c5fd;
    background: #f0f9ff;
}
.emti-tv__option input:checked + .emti-tv__option-card {
    border-color: #2563eb;
    background: #eff6ff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.emti-tv__option-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}
.emti-tv__option-card strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}
.emti-tv__option-card p {
    margin: 0;
    font-size: 0.85rem;
    color: #6b7280;
}

/* Confirmation */
.emti-tv__confirmation {
    text-align: center;
    padding: 2rem 0;
}
.emti-tv__confirmation-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
}
.emti-tv__confirmation h2 {
    margin: 0 0 0.5rem;
    color: #16a34a;
}
.emti-tv__confirm-detail {
    color: #6b7280;
    font-size: 0.9rem;
    margin-top: 0.75rem;
}

/* Step visibility */
.emti-tv__step[hidden] {
    display: none;
}

/* Responsive */
@media (max-width: 600px) {
    .emti-tv {
        margin: 1rem;
    }
}
