/* ILCC Ticketing — base frontend styles. Deliberately unopinionated on
   color so it inherits the active theme's palette; override in your
   child theme or a custom CSS block as needed. */

.ilcc-buy-widget { border: 1px solid #ddd; border-radius: 6px; padding: 1.25em; max-width: 480px; }
.ilcc-ticket-type-row { display: flex; justify-content: space-between; align-items: center; padding: 0.75em 0; border-bottom: 1px solid #eee; }
.ilcc-ticket-type-row:last-child { border-bottom: none; }
.ilcc-tt-info { display: flex; flex-direction: column; }
.ilcc-tt-label { font-weight: 600; }
.ilcc-tt-desc { font-size: 0.85em; opacity: 0.75; }
.ilcc-member-badge { display: inline-block; font-size: 0.7em; font-weight: 600; padding: 0.1em 0.5em; border-radius: 3px; background: #eef; margin-left: 0.4em; vertical-align: middle; }
.ilcc-tt-price { font-size: 0.9em; margin-top: 0.25em; }
.ilcc-tt-qty { display: flex; align-items: center; gap: 0.5em; }
.ilcc-tt-qty input { width: 3em; text-align: center; }
.ilcc-sold-out { opacity: 0.5; }
.ilcc-sold-out-label { font-weight: 600; color: #b32d2e; }
.ilcc-add-to-cart-btn { margin-top: 1em; width: 100%; }
.ilcc-widget-message { margin-top: 0.5em; font-size: 0.9em; }

.ilcc-cart-widget { border: 1px solid #ddd; border-radius: 6px; padding: 1.25em; max-width: 400px; }
.ilcc-cart-line-item { display: grid; grid-template-columns: 1fr auto auto auto; gap: 0.75em; align-items: center; padding: 0.6em 0; border-bottom: 1px solid #eee; }
.ilcc-cli-info { display: flex; flex-direction: column; }
.ilcc-cli-event { font-weight: 600; font-size: 0.9em; }
.ilcc-cli-type { font-size: 0.8em; opacity: 0.75; }
.ilcc-cli-qty { display: flex; align-items: center; gap: 0.4em; }
.ilcc-cli-remove { background: none; border: none; cursor: pointer; font-size: 1.1em; opacity: 0.6; }
.ilcc-cart-totals { margin-top: 1em; padding-top: 0.75em; border-top: 2px solid #333; }
.ilcc-cart-row { display: flex; justify-content: space-between; padding: 0.25em 0; }
.ilcc-cart-total-row { font-weight: 700; font-size: 1.1em; }
.ilcc-checkout-link { display: block; text-align: center; margin-top: 1em; }

.ilcc-checkout { display: grid; grid-template-columns: 1fr 1fr; gap: 2em; max-width: 900px; }
@media (max-width: 700px) { .ilcc-checkout { grid-template-columns: 1fr; } }
.ilcc-form-row { margin-bottom: 1em; display: flex; flex-direction: column; gap: 0.35em; }
.ilcc-form-row input, .ilcc-form-row select { padding: 0.5em; }
.ilcc-promo-input-group { display: flex; gap: 0.5em; }
.ilcc-promo-message { font-size: 0.85em; }
.ilcc-promo-message.ilcc-error { color: #b32d2e; }
.ilcc-promo-message.ilcc-success { color: #1a7a3c; }
.ilcc-checkbox-label { display: flex !important; flex-direction: row !important; align-items: center; gap: 0.5em; cursor: pointer; }
.ilcc-newsletter-row { margin: 1.25em 0; }
#ilcc-payment-element { margin: 1em 0; }
#ilcc-payment-message { color: #b32d2e; margin-bottom: 1em; }
.ilcc-pay-button { width: 100%; padding: 0.9em; font-size: 1.05em; }

.ilcc-order-confirmation { max-width: 700px; }
.ilcc-confirmation-table { margin: 1.5em 0; }
.ilcc-confirmation-total { font-size: 1.2em; }

/* Native schedule (replaces the Eventive-linked schedule pages) */
.ilcc-schedule-filters { display: flex; gap: 0.75em; flex-wrap: wrap; align-items: center; margin-bottom: 2em; }
.ilcc-schedule-filters select { padding: 0.5em; }
.ilcc-clear-filters { align-self: center; font-size: 0.9em; }
.ilcc-schedule-day { margin-bottom: 2.5em; }
.ilcc-schedule-day-heading { border-bottom: 2px solid #333; padding-bottom: 0.4em; margin-bottom: 1em; }
.ilcc-schedule-day-events { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25em; }
.ilcc-schedule-event-card { display: block; border: 1px solid #ddd; border-radius: 6px; overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow 0.15s ease; }
.ilcc-schedule-event-card:hover { box-shadow: 0 2px 10px rgba(0,0,0,0.12); }
.ilcc-schedule-event-thumb img { width: 100%; height: 150px; object-fit: cover; display: block; }
.ilcc-schedule-event-info { padding: 0.9em; display: flex; flex-direction: column; gap: 0.25em; }
.ilcc-schedule-event-time { font-size: 0.8em; font-weight: 700; text-transform: uppercase; opacity: 0.7; }
.ilcc-schedule-event-title { font-weight: 700; font-size: 1.05em; }
.ilcc-schedule-event-meta { font-size: 0.85em; opacity: 0.75; }
.ilcc-schedule-event-price { font-size: 0.9em; font-weight: 600; margin-top: 0.3em; }
.ilcc-no-events { padding: 2em 0; opacity: 0.7; }

.ilcc-event-details { margin: 1.5em 0; padding: 1em 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.ilcc-event-detail-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.4em; }
.ilcc-event-trailer { margin: 1.5em 0; }
.ilcc-trailer-embed-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; }
.ilcc-trailer-embed-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
