/* Royal Binge Booking UI */
.rbc-booking-app {
  --rbc-text: #111;
  --rbc-text-muted: #4b5563;
  --rbc-bg: #f9fafb;
  --rbc-card: #fff;
  --rbc-border: #e5e7eb;
  --rbc-theme: #ffd700;
  --rbc-danger: #dc2626;
  --rbc-success: #059669;
  color: var(--rbc-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
}

.rbc-booking-app * {
  box-sizing: border-box;
}

.rbc-layout {
  display: grid;
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

@media (min-width: 1024px) {
  .rbc-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    padding: 2rem 1.5rem;
  }
}

.rbc-main-card {
  background: var(--rbc-card);
  border: 1px solid var(--rbc-border);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.rbc-sidebar {
  background: var(--rbc-card);
  border: 1px solid var(--rbc-border);
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.rbc-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--rbc-text);
  margin: 0 0 0.25rem;
}

.rbc-subtitle {
  font-size: 0.875rem;
  color: var(--rbc-text-muted);
  margin: 0 0 1.5rem;
}

.rbc-step-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.rbc-step-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  background: #f3f4f6;
  color: var(--rbc-text-muted);
}

.rbc-step-pill.completed {
  background: #e5e7eb;
  color: var(--rbc-text);
}

.rbc-step-pill.active {
  background: var(--rbc-theme);
  color: var(--rbc-text);
}

.rbc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  color: var(--rbc-text);
  background: var(--rbc-theme);
  transition: opacity 0.15s;
}

.rbc-btn:hover:not(:disabled) {
  opacity: 0.9;
}

.rbc-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.rbc-btn-secondary {
  background: #f3f4f6;
  color: var(--rbc-text);
}

.rbc-btn-block {
  width: 100%;
}

.rbc-btn-sm {
  padding: 0.4rem 0.75rem;
  font-size: 0.8125rem;
}

.rbc-back-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--rbc-text);
  text-decoration: none;
  margin-bottom: 1rem;
  display: inline-block;
}

.rbc-back-link:hover {
  text-decoration: underline;
}

/* Location / Date */
.rbc-location-grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .rbc-location-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.rbc-location-btn {
  padding: 1rem 1.25rem;
  border: 2px solid var(--rbc-border);
  border-radius: 0.75rem;
  background: var(--rbc-card);
  font-weight: 600;
  color: var(--rbc-text);
  cursor: pointer;
  text-align: left;
}

.rbc-location-btn.selected,
.rbc-location-btn:hover {
  border-color: var(--rbc-theme);
  background: #fffbeb;
}

.rbc-date-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--rbc-border);
  border-radius: 0.75rem;
  font-size: 1rem;
  color: var(--rbc-text);
  margin-top: 1rem;
}

.rbc-layout-with-sidebar {
  display: grid;
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

@media (min-width: 1024px) {
  .rbc-layout-with-sidebar {
    grid-template-columns: minmax(0, 1fr) 360px;
    padding: 2rem 1.5rem;
  }
}

.rbc-top-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #111;
  color: #fff;
  border-bottom: 1px solid #222;
}

.rbc-top-bar-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.rbc-top-bar-title {
  font-size: 0.875rem;
  font-weight: 600;
}

.rbc-top-timer {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fca5a5;
  margin: 0;
}

.rbc-title-center,
.rbc-subtitle-center {
  text-align: center;
}

.rbc-theatre-header {
  margin-bottom: 2rem;
}

.rbc-date-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  color: #9ca3af;
  margin-top: 0.5rem;
}

.rbc-theatre-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--rbc-border);
  border-radius: 1rem;
  overflow: hidden;
  background: var(--rbc-card);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.rbc-theatre-hero {
  position: relative;
  height: 11rem;
}

.rbc-theatre-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #e5e7eb;
}

.rbc-theatre-img-placeholder {
  background: linear-gradient(135deg, #e5e7eb, #d1d5db);
}

.rbc-theatre-badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.rbc-theatre-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 500;
}

.rbc-theatre-video {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--rbc-text);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
}

.rbc-theatre-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem;
}

.rbc-theatre-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.rbc-theatre-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.rbc-theatre-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

.rbc-slots-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  background: #fef2f2;
  color: #dc2626;
  font-size: 0.6875rem;
  font-weight: 600;
}

.rbc-slots-badge.muted {
  background: #f3f4f6;
  color: #6b7280;
}

.rbc-theatre-location {
  font-size: 0.875rem;
  color: var(--rbc-text-muted);
  margin: 0;
}

.rbc-theatre-links {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.rbc-theatre-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.625rem;
  font-weight: 500;
  color: #4b5563;
  text-decoration: none;
}

.rbc-theatre-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: #374151;
}

.rbc-theatre-features li {
  margin-bottom: 0.35rem;
}

.rbc-theatre-next-step {
  margin-bottom: 1rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid #f3f4f6;
  background: #f9fafb;
  font-size: 0.6875rem;
  color: #4b5563;
}

.rbc-slot-heading {
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.rbc-slot-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.rbc-slot-btn.selected {
  border-color: #22c55e;
  background: #fff;
  color: #16a34a;
  box-shadow: 0 0 0 1px #22c55e;
  font-weight: 600;
}

.rbc-slot-btn.tomorrow:not(.disabled) {
  background: #f0fdf4;
  border-color: #86efac;
  color: #15803d;
}

.rbc-slot-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.rbc-theatre-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #f3f4f6;
}

.rbc-theatre-price {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.rbc-theatre-price-sub {
  font-size: 0.75rem;
  color: var(--rbc-text-muted);
  margin: 0;
}

.rbc-btn-reserve {
  flex-shrink: 0;
  border-radius: 9999px;
  padding: 0.65rem 1rem;
  font-size: 0.8125rem;
}

.rbc-error-inline {
  font-size: 0.75rem;
  color: var(--rbc-danger);
  margin: 0.25rem 0 0;
}

.rbc-contact-header {
  margin-bottom: 0.5rem;
}

.rbc-field-hint {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--rbc-text-muted);
}

.rbc-phone-wrap {
  display: flex;
  overflow: hidden;
  border: 1px solid var(--rbc-border);
  border-radius: 0.75rem;
}

.rbc-phone-prefix {
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  background: #f9fafb;
  font-size: 0.875rem;
  color: var(--rbc-text);
  border-right: 1px solid var(--rbc-border);
}

.rbc-phone-wrap input {
  border: none;
  border-radius: 0;
  flex: 1;
}

.rbc-guest-box,
.rbc-section {
  margin-bottom: 1.25rem;
}

.rbc-guest-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid #f3f4f6;
  background: #f9fafb;
}

.rbc-guest-title {
  font-weight: 600;
  margin: 0 0 0.15rem;
}

.rbc-guest-sub {
  font-size: 0.875rem;
  color: #374151;
  margin: 0;
}

.rbc-qty-controls-lg {
  border: 1px solid var(--rbc-border);
  border-radius: 0.75rem;
  background: #fff;
  padding: 0.15rem 0.35rem;
}

.rbc-choice-grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .rbc-choice-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.rbc-choice-btn {
  padding: 1rem;
  border: 2px solid var(--rbc-border);
  border-radius: 1rem;
  background: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--rbc-text);
  cursor: pointer;
  text-align: left;
}

.rbc-choice-btn.selected {
  border-color: #111;
  background: #fff;
}

.rbc-choice-btn.locked {
  background: #fff8d6;
  border-color: #fff0a8;
  color: #6b7280;
  cursor: not-allowed;
}

.rbc-summary-steps {
  display: flex;
  justify-content: space-between;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

.rbc-summary-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  background: none;
  border: none;
  padding: 0;
  font-size: 0.625rem;
  font-weight: 500;
  color: #9ca3af;
  cursor: pointer;
}

.rbc-summary-step.active {
  color: var(--rbc-text);
}

.rbc-summary-step.done {
  color: #16a34a;
}

.rbc-summary-step.locked {
  cursor: not-allowed;
  opacity: 0.6;
}

.rbc-summary-step:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.rbc-summary-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  background: #f3f4f6;
  font-size: 0.625rem;
}

.rbc-summary-step.active .rbc-summary-step-num {
  background: #111;
  color: #fff;
}

.rbc-summary-block {
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid #f3f4f6;
  background: #f9fafb;
  margin-bottom: 0.75rem;
}

.rbc-summary-val {
  font-weight: 600;
  text-align: right;
}

.rbc-pay-banner {
  margin: 0.75rem 0;
  padding: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  font-size: 0.875rem;
}

.rbc-pay-banner-title {
  font-weight: 600;
  color: #166534;
  margin: 0 0 0.15rem;
}

.rbc-pay-banner-sub {
  color: #15803d;
  margin: 0;
  font-size: 0.8125rem;
}

@media (min-width: 1024px) {
  .rbc-actions-mobile-hide {
    display: none;
  }
}

@media (max-width: 1023px) {
  .rbc-sidebar .rbc-btn-block {
    display: none;
  }
}

.rbc-theatre-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .rbc-theatre-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.rbc-theatre-meta {
  font-size: 0.8125rem;
  color: var(--rbc-text-muted);
  margin-bottom: 0.75rem;
}

.rbc-slot-grid {
  display: grid;
  gap: 0.5rem;
}

.rbc-slot-btn {
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--rbc-border);
  border-radius: 0.5rem;
  background: var(--rbc-card);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--rbc-text);
  cursor: pointer;
  text-align: center;
}

.rbc-slot-btn.available:hover {
  border-color: var(--rbc-theme);
  background: #fffbeb;
}

.rbc-slot-btn.selected {
  border-color: #22c55e;
  background: #fff;
  color: #16a34a;
  box-shadow: 0 0 0 1px #22c55e;
  font-weight: 600;
}

.rbc-slot-btn.booked {
  background: #f3f4f6;
  color: #9ca3af;
  cursor: not-allowed;
  text-decoration: line-through;
}

.rbc-slot-btn.unavailable {
  background: #f9fafb;
  color: #9ca3af;
  cursor: not-allowed;
}

.rbc-slot-btn.tomorrow {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1e40af;
  font-weight: 600;
}

/* Contact form */
.rbc-form-group {
  margin-bottom: 1rem;
}

.rbc-form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--rbc-text);
  margin-bottom: 0.35rem;
}

.rbc-form-group input,
.rbc-form-group select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--rbc-border);
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  color: var(--rbc-text);
}

.rbc-form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .rbc-form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.rbc-checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.75rem 0;
  font-size: 0.875rem;
  color: var(--rbc-text);
}

/* Occasion grid */
.rbc-occasion-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 1024px) {
  .rbc-occasion-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.rbc-occasion-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 2px solid var(--rbc-border);
  border-radius: 0.75rem;
  cursor: pointer;
  background: var(--rbc-card);
  transition: border-color 0.15s;
  overflow: hidden;
}

.rbc-occasion-img {
  width: 100%;
  height: 96px;
  object-fit: cover;
  display: block;
  background: #e5e7eb;
}

.rbc-occasion-body {
  padding: 0.75rem;
}

.rbc-occasion-card:hover,
.rbc-occasion-card.selected {
  border-color: var(--rbc-theme);
  background: #fffbeb;
}

.rbc-occasion-card.selected .rbc-occasion-body {
  background: #fffbeb;
}

.rbc-occasion-label {
  font-weight: 700;
  color: var(--rbc-text);
  margin: 0 0 0.25rem;
}

.rbc-occasion-desc {
  font-size: 0.8125rem;
  color: var(--rbc-text-muted);
  margin: 0;
}

/* Addon cards */
.rbc-addon-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .rbc-addon-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .rbc-addon-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.rbc-addon-card {
  border: 1px solid var(--rbc-border);
  border-radius: 1rem;
  padding: 1rem;
  background: var(--rbc-card);
}

.rbc-addon-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
  background: #e5e7eb;
}

.rbc-addon-name {
  font-weight: 700;
  color: var(--rbc-text);
  margin: 0 0 0.5rem;
}

.rbc-variant-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.rbc-variant-pill {
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--rbc-border);
  border-radius: 9999px;
  font-size: 0.75rem;
  background: var(--rbc-card);
  color: var(--rbc-text);
  cursor: pointer;
}

.rbc-variant-pill.selected {
  border-color: var(--rbc-theme);
  background: var(--rbc-theme);
  font-weight: 600;
}

.rbc-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.rbc-qty-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rbc-qty-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--rbc-border);
  border-radius: 0.5rem;
  background: var(--rbc-card);
  font-weight: 700;
  color: var(--rbc-text);
  cursor: pointer;
}

.rbc-qty-value {
  font-weight: 700;
  min-width: 1.5rem;
  text-align: center;
  color: var(--rbc-text);
}

/* Summary sidebar */
.rbc-summary-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--rbc-text);
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--rbc-border);
}

.rbc-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--rbc-text);
  margin-bottom: 0.5rem;
}

.rbc-summary-row.muted {
  color: var(--rbc-text-muted);
}

.rbc-summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 700;
  color: var(--rbc-text);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--rbc-border);
}

.rbc-coupon-row {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rbc-border);
}

.rbc-coupon-input {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.rbc-coupon-input input {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--rbc-border);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: var(--rbc-text);
}

.rbc-timer {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--rbc-danger);
  margin-top: 0.75rem;
}

/* Payment modal */
.rbc-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.rbc-modal {
  background: var(--rbc-card);
  border-radius: 1rem;
  max-width: 32rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.rbc-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.rbc-modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--rbc-text);
  margin: 0;
}

.rbc-modal-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--rbc-text-muted);
  line-height: 1;
}

.rbc-terms-body {
  font-size: 0.875rem;
  color: var(--rbc-text);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.rbc-terms-body p {
  margin: 0 0 0.5rem;
}

.rbc-agree-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--rbc-border);
  border-radius: 0.75rem;
  font-size: 0.875rem;
  color: var(--rbc-text);
  margin-bottom: 1rem;
}

.rbc-error {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: var(--rbc-danger);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.rbc-success-box {
  text-align: center;
  padding: 2rem 1rem;
}

.rbc-success-box h2 {
  color: var(--rbc-text);
  margin: 0 0 0.5rem;
}

.rbc-success-box p {
  color: var(--rbc-text-muted);
  margin: 0 0 1rem;
}

.rbc-loading {
  text-align: center;
  padding: 2rem;
  color: var(--rbc-text-muted);
}

.rbc-hidden {
  display: none !important;
}

.rbc-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.rbc-skip-link {
  font-size: 0.875rem;
  color: var(--rbc-text-muted);
  text-decoration: none;
}

.rbc-skip-link:hover {
  color: var(--rbc-text);
}
