/* EP Tickets — Request Invoice page. Builds on manage-booking.css (epb- classes). */

.ept-ri .epb-wrap, .ept-ri { max-width: 640px; }

.ept-ri .epb-notice p { margin: 0 0 4px; }
.ept-ri .epb-notice p:last-child { margin-bottom: 0; }
.ept-ri .epb-section-title { margin-top: 28px; }

.ept-ri-tickets {
    border: 1px solid #e4e4e7;
    border-radius: 8px;
    margin-bottom: 18px;
}
.ept-ri-ticket {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
}
.ept-ri-ticket:not(:last-child) { border-bottom: 1px solid #f4f4f5; }
.ept-ri-ticket.is-sold-out { opacity: .55; }
.ept-ri-ticket-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ept-ri-ticket-name { font-weight: 600; color: #111; }
.ept-ri-ticket-price { font-size: .875rem; color: #52525b; }
.ept-ri-ticket-desc { font-size: .8125rem; color: #71717a; }
.ept-ri-soldout { font-size: .8125rem; font-weight: 600; color: #991b1b; white-space: nowrap; }

.ept-ri-qty {
    width: 72px;
    flex-shrink: 0;
    padding: 8px 10px;
    border: 1px solid #d4d4d8;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    text-align: center;
}
.ept-ri-qty:focus {
    outline: none;
    border-color: var(--color-primary, #e8177d);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary, #e8177d) 15%, transparent);
}

.ept-ri-code-row { display: flex; gap: 8px; }
.ept-ri-code-row input { flex: 1; text-transform: uppercase; }
.ept-ri-code-row .epb-btn { width: auto; flex-shrink: 0; padding-left: 18px; padding-right: 18px; }
.ept-ri-code-msg { font-size: .875rem; margin: 6px 0 0; min-height: 1em; }
.ept-ri-code-msg.is-ok { color: #15803d; }
.ept-ri-code-msg.is-error { color: #b91c1c; }

.ept-ri-optional { font-weight: 400; color: #71717a; font-size: .875rem; }
.ept-ri-hint { font-size: .8125rem; color: #71717a; margin: 6px 0 0; }
.ept-ri-qlabel { font-weight: 600; margin: 0 0 8px; color: #111; }

.ept-ri-total span, .ept-ri-total span + span { color: #111; font-weight: 700; }

/* Honeypot — off-screen rather than display:none, which some bots skip. */
.ept-ri-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.ept-ri-agree {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: .875rem;
    color: #3f3f46;
    margin: 20px 0;
    line-height: 1.5;
}
.ept-ri-agree input { margin-top: 3px; flex-shrink: 0; }

@media (max-width: 480px) {
    .ept-ri .epb-card { padding: 20px 16px; }
    .ept-ri-ticket { padding: 12px; }
}

/* manage-booking.css styles text/email only; match it for the phone field. */
.ept-ri .epb-field input[type="tel"] {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d4d4d8;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.ept-ri .epb-field input[type="tel"]:focus {
    outline: none;
    border-color: var(--color-primary, #e8177d);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary, #e8177d) 15%, transparent);
}
