/**
 * FILE: assets/css/venuebook.css
 * VenueBook frontend styles
 */

/* ── Variables ───────────────────────────────────────────────────────────── */
:root {
    --vb-available:   #28a745;
    --vb-selected:    #17a2b8;
    --vb-held:        #ffc107;
    --vb-held-by-me:  #17a2b8;
    --vb-booked:      #dc3545;
    --vb-blocked:     #343a40;
    --vb-allocated:   #6f42c1;
    --vb-radius:      4px;
    --vb-seat-size:   30px;
    --vb-gap:         4px;
    --vb-font:        -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── Event Grid ──────────────────────────────────────────────────────────── */
.vb-event-grid {
    display: grid;
    gap: 24px;
}
.vb-cols-3 { grid-template-columns: repeat(3, 1fr); }
.vb-cols-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 900px) { .vb-cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .vb-cols-3, .vb-cols-2 { grid-template-columns: 1fr; } }

/* ── Event Card ──────────────────────────────────────────────────────────── */
.vb-event-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
    background: #fff;
}
.vb-event-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,.12);
    transform: translateY(-2px);
}
.vb-event-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}
.vb-event-card-body { padding: 16px; }
.vb-event-card-body h3 { margin: 0 0 8px; font-size: 1.1em; line-height: 1.3; }
.vb-event-card-body h3 a { text-decoration: none; color: inherit; }
.vb-event-card-body h3 a:hover { color: #007bff; }
.vb-meta { font-size: .85em; color: #666; margin-bottom: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.vb-event-type-badge {
    display: inline-block; font-size: .75em; padding: 2px 8px;
    background: #e8f4fd; color: #0d6efd; border-radius: 12px;
    margin-bottom: 6px; font-weight: 600;
}
.vb-event-excerpt { font-size: .9em; color: #555; margin: 8px 0 12px; }
.vb-book-btn {
    display: block; width: 100%; text-align: center;
    padding: 10px; background: #28a745; color: #fff !important;
    border-radius: 6px; text-decoration: none; font-weight: 600;
    transition: background .2s;
}
.vb-book-btn:hover { background: #218838; }

/* ── Show Selector ───────────────────────────────────────────────────────── */
.vb-show-selector { margin-bottom: 24px; }
.vb-show-selector h3 { margin-bottom: 8px; }
.vb-show-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.vb-show-btn { text-align: center !important; }
.vb-show-disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }
.vb-more-shows { color: #0d6efd; }

/* ── Screen Label ────────────────────────────────────────────────────────── */
.vb-screen {
    width: 55%; margin: 0 auto 20px;
    padding: 8px 0; background: #e0e0e0;
    text-align: center; font-size: .8em; color: #666;
    border-radius: 4px; letter-spacing: 2px;
}

/* ── Seat Map Wrapper ────────────────────────────────────────────────────── */
.vb-seat-map-wrap { overflow-x: auto; padding-bottom: 12px; }

/* ── Seat Row ────────────────────────────────────────────────────────────── */
.vb-seat-row,
.vb-builder-row {
    display: flex;
    align-items: center;
    gap: var(--vb-gap);
    margin-bottom: var(--vb-gap);
    flex-wrap: nowrap;
}

.vb-row-label {
    width: 24px;
    min-width: 24px;
    text-align: right;
    font-size: .72em;
    font-weight: 700;
    color: #666;
    flex-shrink: 0;
}

/* ── Individual Seat ─────────────────────────────────────────────────────── */
.vb-seat {
    width: var(--vb-seat-size);
    height: var(--vb-seat-size);
    min-width: var(--vb-seat-size);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    border-radius: var(--vb-radius);
    cursor: pointer;
    user-select: none;
    color: #fff;
    transition: transform .1s, opacity .15s;
    flex-shrink: 0;
}
.vb-seat:hover { transform: scale(1.2); z-index: 2; }

.vb-seat--available  { background: var(--vb-available); }
.vb-seat--held_by_me { background: var(--vb-held-by-me); }
.vb-seat--held       { background: var(--vb-held); color: #333; }
.vb-seat--booked     { background: var(--vb-booked); cursor: not-allowed; opacity: .65; }
.vb-seat--blocked    { background: var(--vb-blocked); cursor: default; opacity: .35; }
.vb-seat--allocated  { background: var(--vb-allocated); cursor: not-allowed; opacity: .7; }

/* ── Booking Panel ───────────────────────────────────────────────────────── */
.vb-booking-panel {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px 24px;
    margin-top: 20px;
}
.vb-booking-panel h3 { margin: 0 0 14px; }
.vb-booking-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid #eee;
    font-size: .95em;
}
.vb-booking-row:last-of-type { border-bottom: none; }
.vb-booking-total { font-size: 1.4em; font-weight: 700; color: #28a745; }
.vb-hold-timer { font-size: .85em; color: #dc3545; margin: 10px 0; }

/* ── Payment Options ─────────────────────────────────────────────────────── */
.vb-payment-options { margin: 14px 0; }
.vb-payment-options p { font-weight: 600; margin-bottom: 8px; }
.vb-payment-options label {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 6px; cursor: pointer; font-size: .95em;
}

/* ── Book Button ─────────────────────────────────────────────────────────── */
#vb-book-btn,
#vb-fcfs-book-btn {
    width: 100%; padding: 12px 20px;
    font-size: 1.05em; font-weight: 700;
    background: #28a745; color: #fff;
    border: none; border-radius: 6px;
    cursor: pointer; margin-top: 14px;
    transition: background .2s;
}
#vb-book-btn:hover,
#vb-fcfs-book-btn:hover { background: #218838; }
#vb-book-btn:disabled,
#vb-fcfs-book-btn:disabled { background: #6c757d; cursor: not-allowed; }

/* ── Legend ──────────────────────────────────────────────────────────────── */
.vb-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    list-style: none;
    padding: 0;
    margin: 16px 0;
}
.vb-legend li { display: flex; align-items: center; gap: 6px; font-size: .85em; }
.vb-legend-dot {
    width: 16px; height: 16px;
    border-radius: 3px;
    display: inline-block;
    flex-shrink: 0;
}

/* ── FCFS Ticket Wrapper ─────────────────────────────────────────────────── */
.vb-ticket-wrapper { position: relative; }

/* ── Zone List ───────────────────────────────────────────────────────────── */
.vb-zone-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
    width:50%;
}

/* ── Zone Card ───────────────────────────────────────────────────────────── */
.vb-zone-card {
    border: 2px solid rgba(128,128,128,.2);
    border-radius: 10px;
    padding: 14px 16px;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s;
}
.vb-zone-card:hover:not(.vb-zone-sold-out) {
    box-shadow: 0 2px 12px rgba(0,0,0,.12);
}
.vb-zone-card.vb-zone-selected {
    box-shadow: 0 0 0 1px currentColor;
}
.vb-zone-card.vb-zone-sold-out {
    opacity: .45;
    cursor: not-allowed;
}

.vb-zone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.vb-zone-name  { font-size: 1em; font-weight: 600; }
.vb-zone-price { font-size: 1.05em; font-weight: 700; }

/* Progress bar */
.vb-zone-bar {
    height: 4px;
    background: rgba(128,128,128,.18);
    border-radius: 2px;
    margin-bottom: 6px;
    overflow: hidden;
}
.vb-zone-bar-fill {
    height: 100%;
    border-radius: 2px;
    transition: width .5s ease;
}
.vb-zone-avail { font-size: .82em; opacity: .72; }

/* ── Ticket Panel (after zone selection) ─────────────────────────────────── */
div#vb-fcfs-picker {
    display: flex;
    width: 100%;
}
.vb-ticket-panel {
    border: 1px solid rgba(128,128,128,.22);
    border-radius: 10px;
    padding: 18px 20px;
    width:50%;
    margin-left: 2rem;     
}

.vb-selected-zone-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05em;
    font-weight: 700;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(128,128,128,.18);
}
.vb-selected-zone-label { font-weight: 600; }

/* Quantity controls */
.vb-qty-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(128,128,128,.12);
}
.vb-qty-label   { font-weight: 600; font-size: .98em; }
.vb-qty-controls { display: flex; align-items: center; gap: 14px; }
.vb-qty-btn {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(128,128,128,.35);
    background: transparent;
    color: inherit;
    font-size: 1.25em;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s;
    padding: 0;
}
.vb-qty-btn:hover:not(:disabled) { background: rgba(128,128,128,.15); }
.vb-qty-btn:disabled { opacity: .3; cursor: not-allowed; }
.vb-qty-value { font-size: 1.1em; font-weight: 700; min-width: 24px; text-align: center; }

/* Price breakdown */
.vb-price-breakdown { margin: 10px 0 16px; }
.vb-price-row {
    display: flex;
    justify-content: space-between;
    padding: 7px 0;
    font-size: .92em;
    border-bottom: 1px solid rgba(128,128,128,.1);
}
.vb-price-row:last-child { border-bottom: none; }
.vb-price-label { opacity: .8; }
.vb-price-total-row {
    font-size: 1.08em;
    font-weight: 700;
    padding-top: 10px;
    margin-top: 2px;
    border-top: 1px solid rgba(128,128,128,.25) !important;
}

/* Proceed button */
.vb-fcfs-proceed-btn {
    display: block;
    width: 100%;
    padding: 14px 20px;
    font-size: 1em;
    font-weight: 700;
    background: linear-gradient( 135deg, #ff6b9d 0%, #ff9f43 100% );
    color: #fff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    margin-top: 8px;
    letter-spacing: .3px;
    transition: opacity .2s, transform .15s;
}
.vb-fcfs-proceed-btn:hover:not(:disabled) { opacity: .88; transform: translateY(-1px); }
.vb-fcfs-proceed-btn:active { transform: translateY(0); }
.vb-fcfs-proceed-btn:disabled {
    background: rgba(128,128,128,.25);
    color: rgba(128,128,128,.7);
    cursor: not-allowed;
    transform: none;
}

/* ── UPI Payment ─────────────────────────────────────────────────────────── */
#vb-upi-wrap {
    background: #fff;
    border-radius: 10px;
    padding: 28px 24px;
    text-align: center;
    max-width: 480px;
    margin: 0 auto;
    color: #000;
}
#vb-upi-wrap h3 { margin: 0 0 12px; }
.vb-upi-id { font-size: 1.05em; font-weight: 700; color: #333; }
/* Upload area */
.vb-upload-area {
    position: relative;
    margin: 10px auto 14px;
    max-width: 340px;
}
.vb-upload-area input[type="file"] {
    position: absolute; inset: 0; width: 100%; height: 100%;
    opacity: 0; cursor: pointer; z-index: 2;
}
.vb-upload-label {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 8px; padding: 28px 16px;
    border: 2px dashed #ccc; border-radius: 10px;
    cursor: pointer; transition: border-color .2s, background .2s;
    background: rgba(0,0,0,.02);
}
.vb-upload-label:hover { border-color: #007bff; background: rgba(0,123,255,.04); }
.vb-upload-icon { font-size: 2em; }
#vb-upload-text { font-size: .9em; color: #555; }

#vb-upload-preview {
    position: relative; display: inline-block;
    border: 2px solid #28a745; border-radius: 8px; overflow: hidden; margin: 0 auto;
}
#vb-upload-preview img {
    display: block; max-width: 300px; max-height: 260px;
    width: 100%; object-fit: contain;
}
.vb-remove-btn {
    position: absolute; top: 6px; right: 6px;
    background: rgba(0,0,0,.55); color: #fff;
    border: none; border-radius: 50%;
    width: 26px; height: 26px; font-size: .85em;
    cursor: pointer; line-height: 1; display: flex;
    align-items: center; justify-content: center;
}
.vb-remove-btn:hover { background: #dc3545; }

#vb-utr-submit {
    padding: 11px 28px;
    font-size: 1em; font-weight: 700;
    background: #007bff; color: #fff;
    border: none; border-radius: 6px;
    cursor: pointer; transition: background .2s;
}
#vb-utr-submit:hover { background: #0056b3; }
#vb-utr-submit:disabled { background: #6c757d; cursor: not-allowed; }

/* ── Login Required Modal ────────────────────────────────────────────────── */
#vb-login-modal.vb-modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.6);
    z-index: 99998; display: flex; align-items: center; justify-content: center;
    padding: 16px;
}
.vb-login-modal-box {
    background: #fff; border-radius: 14px; padding: 36px 32px;
    text-align: center; max-width: 380px; width: 100%;
    box-shadow: 0 12px 40px rgba(0,0,0,.25);
    animation: vbModalIn .2s ease;
}
@keyframes vbModalIn {
    from { transform: scale(.92); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}
.vb-login-modal-icon { font-size: 2.8em; margin-bottom: 10px; }
.vb-login-modal-box h3 { margin: 0 0 10px; font-size: 1.25em; color: #1a1a2e; }
.vb-login-modal-box p  { color: #555; font-size: .92em; margin: 0 0 22px; line-height: 1.55; }
.vb-login-modal-btn {
    display: block; width: 100%;
    padding: 13px 0; border-radius: 25px; margin-bottom: 10px;
    background: linear-gradient(135deg,#ff6b9d,#ff9f43);
    color: #fff; font-weight: 700; font-size: 1em; text-decoration: none;
    transition: opacity .2s;
}
.vb-login-modal-btn:hover { opacity: .88; color: #fff; }
.vb-login-modal-close {
    background: none; border: none; color: #999; cursor: pointer;
    font-size: .88em; padding: 4px 8px;
}
.vb-login-modal-close:hover { color: #333; }

/* ── My Bookings ─────────────────────────────────────────────────────────── */
.vb-my-bookings { overflow-x: auto; }
.vb-my-bookings h2 { margin-bottom: 20px; font-size: 1.6em; }

/* Hard reset — WooCommerce themes force white bg on tr/td; override everything */
.vb-bookings-table,
.vb-bookings-table thead,
.vb-bookings-table thead tr,
.vb-bookings-table thead tr th,
.vb-bookings-table tbody,
.vb-bookings-table tbody tr,
.vb-bookings-table tbody tr td { background: transparent !important; color: inherit !important; }

.vb-my-bookings table {
    width: 100%; border-collapse: collapse; font-size: .88em;
    background: transparent;
}
.vb-my-bookings th,
.vb-my-bookings td {
    padding: 13px 14px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    text-align: left;
    vertical-align: middle;
    color: inherit;
}
/* Header: dark with subtle separation */
.vb-my-bookings thead tr {
    background: rgba(255,255,255,.07);
}
.vb-my-bookings th {
    font-weight: 700;
    font-size: .78em;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: rgba(255,255,255,.55);
    border-bottom: 2px solid rgba(255,255,255,.12);
    white-space: nowrap;
}
/* Body rows */
.vb-my-bookings tbody tr { transition: background .12s; }
.vb-my-bookings tbody tr:hover td {
    background: rgba(255,255,255,.05) !important;
}
/* Booking ref */
.vb-my-bookings td strong {
    color: #fff;
    font-family: monospace;
    font-size: 1em;
    letter-spacing: .03em;
}
/* Show time sub-label */
.vb-my-bookings td small { color: rgba(255,255,255,.45); font-size: .85em; }
/* Awaiting UPI note */
.vb-my-bookings td small[style] { color: #fbbf24 !important; }

/* ── Download Button ─────────────────────────────────────────────────────── */
.vb-dl-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 13px;
    background: #2563eb;
    color: #fff !important;
    border-radius: 6px;
    font-size: .78em;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background .15s;
}
.vb-dl-btn:hover { background: #1d4ed8; color: #fff !important; }

/* ── Status Badges ───────────────────────────────────────────────────────── */
.vb-status {
    display: inline-block;
    padding: 4px 11px;
    border-radius: 20px;
    font-size: .72em;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
    white-space: nowrap;
}
.vb-status-confirmed  { background: rgba(52,211,153,.18); color: #34d399; border: 1px solid rgba(52,211,153,.35); }
.vb-status-pending    { background: rgba(251,191, 36,.15); color: #fbbf24; border: 1px solid rgba(251,191,36,.3); }
.vb-status-cancelled  { background: rgba(248, 113,113,.15); color: #f87171; border: 1px solid rgba(248,113,113,.3); }
.vb-status-expired    { background: rgba(255,255,255,.08); color: rgba(255,255,255,.4); border: 1px solid rgba(255,255,255,.12); }
.vb-status-on_sale    { background: rgba(52,211,153,.18); color: #34d399; border: 1px solid rgba(52,211,153,.35); }
.vb-status-draft      { background: rgba(255,255,255,.08); color: rgba(255,255,255,.4); border: 1px solid rgba(255,255,255,.12); }
.vb-status-sold_out   { background: rgba(248,113,113,.15); color: #f87171; border: 1px solid rgba(248,113,113,.3); }

/* ── Notices ─────────────────────────────────────────────────────────────── */
.vb-notice {
    padding: 10px 16px;
    border-radius: 5px;
    margin: 12px 0;
    font-size: .93em;
    font-weight: 500;
}
.vb-notice--success { background: #d4edda; color: #155724; border-left: 4px solid #28a745; }
.vb-notice--error   { background: #f8d7da; color: #721c24; border-left: 4px solid #dc3545; }
.vb-notice--info    { background: #d1ecf1; color: #0c5460; border-left: 4px solid #17a2b8; }

/* ── Loading spinner ─────────────────────────────────────────────────────── */
.vb-loading {
    padding: 32px;
    text-align: center;
    color: #999;
    font-size: .95em;
}

/* ── Notification Preferences (My Account tab) ───────────────────────────── */
.vb-notif-prefs { max-width: 600px; }
.vb-notif-header { margin-bottom: 24px; }
.vb-notif-title { margin: 0 0 6px; font-size: 1.3em; }
.vb-notif-subtitle { margin: 0; color: rgba(255,255,255,.5); font-size: .88em; }
.vb-notif-saved { margin-bottom: 20px !important; }

.vb-notif-card {
    display: flex; gap: 16px; align-items: flex-start;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 10px; padding: 18px 20px; margin-bottom: 12px;
}
.vb-notif-card-icon { font-size: 1.6em; line-height: 1; margin-top: 2px; }
.vb-notif-card-body { flex: 1; min-width: 0; }

.vb-notif-card-head {
    display: flex; align-items: center;
    justify-content: space-between; margin-bottom: 14px;
}
.vb-notif-channel { font-weight: 700; font-size: 1em; color: #fff; }

/* Toggle switch */
.vb-notif-switch { position: relative; display: inline-block; width: 44px; height: 24px; cursor: pointer; }
.vb-notif-switch input { opacity: 0; width: 0; height: 0; }
.vb-notif-slider {
    position: absolute; inset: 0; background: rgba(255,255,255,.15);
    border-radius: 24px; transition: background .2s;
}
.vb-notif-slider::before {
    content: ''; position: absolute; width: 18px; height: 18px;
    left: 3px; top: 3px; background: #fff;
    border-radius: 50%; transition: transform .2s;
}
.vb-notif-switch input:checked + .vb-notif-slider { background: #c0392b; }
.vb-notif-switch input:checked + .vb-notif-slider::before { transform: translateX(20px); }

/* Rows */
.vb-notif-rows { display: flex; flex-direction: column; gap: 8px; }
.vb-notif-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vb-notif-row-label { font-size: .85em; color: rgba(255,255,255,.65); }

/* Badges */
.vb-notif-badge {
    font-size: .7em; font-weight: 700; text-transform: uppercase;
    letter-spacing: .06em; padding: 2px 9px; border-radius: 20px;
    background: rgba(52,211,153,.18); color: #34d399;
    border: 1px solid rgba(52,211,153,.3); white-space: nowrap;
}
.vb-notif-badge--required {
    background: rgba(255,255,255,.08); color: rgba(255,255,255,.4);
    border-color: rgba(255,255,255,.12);
}
.vb-notif-badge--off {
    background: rgba(255,255,255,.06); color: rgba(255,255,255,.3);
    border-color: rgba(255,255,255,.1);
}

.vb-notif-hint { font-size: .83em; color: rgba(255,255,255,.4); margin: 8px 0 16px; }
.vb-notif-footer { margin-top: 20px; }

/* ── OTP Mobile Login (My Account + Checkout login form) ─────────────────── */
.vb-otp-divider {
    display: flex; align-items: center; gap: 12px;
    margin: 24px 0 20px; color: rgba(255,255,255,.45); font-size: .78em;
    letter-spacing: .12em; font-weight: 600; text-transform: uppercase;
}
.vb-otp-divider::before,
.vb-otp-divider::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.12); }

.vb-otp-wrap {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px; padding: 22px 20px 18px;
    margin-bottom: 20px; backdrop-filter: blur(4px);
}
.vb-otp-title {
    margin: 0 0 18px; font-size: .95em; font-weight: 700;
    color: #fff; display: flex; align-items: center; gap: 8px;
}
.vb-otp-field { margin-bottom: 14px; }
.vb-otp-field label {
    display: block; font-weight: 600; font-size: .78em;
    margin-bottom: 7px; color: rgba(255,255,255,.6);
    text-transform: uppercase; letter-spacing: .08em;
}
.vb-otp-phone-group { display: flex; margin-bottom: 10px; }
.vb-otp-prefix {
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
    border-right: none; padding: 10px 12px;
    border-radius: 8px 0 0 8px; font-size: .9em;
    color: rgba(255,255,255,.7); white-space: nowrap; line-height: 1.4;
}
.vb-otp-phone-group input {
    flex: 1; background: rgba(255,255,255,.08) !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    border-radius: 0 8px 8px 0 !important; padding: 10px 12px !important;
    font-size: .9em !important; color: #fff !important;
    box-sizing: border-box; outline: none;
}
.vb-otp-phone-group input::placeholder { color: rgba(255,255,255,.3) !important; }
.vb-otp-phone-group input:focus {
    border-color: rgba(255,255,255,.4) !important;
    background: rgba(255,255,255,.12) !important;
    box-shadow: none !important;
}
#vb-otp-code {
    display: block; width: 100%; box-sizing: border-box;
    background: rgba(255,255,255,.08) !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    border-radius: 8px !important; padding: 12px !important;
    font-size: 1.4em !important; color: #fff !important;
    letter-spacing: 8px; text-align: center; margin-bottom: 10px; outline: none;
}
#vb-otp-code::placeholder { letter-spacing: 2px; color: rgba(255,255,255,.3) !important; font-size: .6em; }
#vb-otp-code:focus {
    border-color: rgba(255,255,255,.4) !important;
    background: rgba(255,255,255,.12) !important;
    box-shadow: none !important;
}
.vb-otp-btn { display: block !important; width: 100% !important; text-align: center !important; margin-top: 10px !important; box-sizing: border-box; }
.vb-otp-btn:disabled { opacity: .5 !important; cursor: not-allowed !important; pointer-events: none; }
.vb-otp-btn:not(:disabled):hover { opacity: .9; }
.vb-otp-msg { margin: 7px 0 0; font-size: .8em; min-height: 1.1em; }
.vb-otp-msg.success { color: #6ee7b7; }
.vb-otp-msg.error   { color: #fca5a5; }
.vb-otp-resend { font-size: .8em; color: rgba(255,255,255,.4); margin-top: 10px; text-align: center; }
#vb-otp-resend-link { color: rgba(255,255,255,.75); text-decoration: underline; }
#vb-otp-resend-link:hover { color: #fff; }

/* ── Email collection step ───────────────────────────────────────────────── */
#vb-otp-email-row input[type="email"] {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.07);
    color: #fff;
    font-size: .95em;
    margin-bottom: 10px;
    outline: none;
    transition: border-color .2s;
}
#vb-otp-email-row input[type="email"]::placeholder { color: rgba(255,255,255,.3); }
#vb-otp-email-row input[type="email"]:focus { border-color: rgba(255,255,255,.45); }
.vb-otp-skip-link {
    font-size: .78em;
    color: rgba(255,255,255,.35);
    text-decoration: underline;
    cursor: pointer;
}
.vb-otp-skip-link:hover { color: rgba(255,255,255,.65); }

/* ── Login Tab Bar (mode: both) ──────────────────────────────────────────── */
.vb-login-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 0;
    border-bottom: 2px solid rgba(255,255,255,.12);
}
.vb-login-tab {
    flex: 1;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    padding: 11px 16px;
    font-size: .9em;
    font-weight: 600;
    color: rgba(255,255,255,.45);
    cursor: pointer;
    transition: color .2s, border-color .2s;
    letter-spacing: .3px;
}
.vb-login-tab:hover { color: rgba(255,255,255,.8); }
.vb-login-tab.vb-tab-active {
    color: #fff;
    border-bottom-color: #6366f1;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
    :root {
        --vb-seat-size: 22px;
        --vb-gap: 3px;
    }
    .vb-seat { font-size: 8px; }
    .vb-booking-panel { padding: 14px; }
    .vb-screen { width: 80%; }
}