/* Public site, browsing: navbar, home, event calendar, event cards, image
   lightbox, footer. Loaded after shared/base.css, before public/booking.css. */

/* for event page */
.highlight {
  background-color: #ddd;
  border: 1px solid black !important;
  color: white;
  text-decoration: none;
}

.date-highlight {
  background-color: rgb(170, 50, 16) !important;
  text-decoration: none;
}

/* para scroll css */
#scrollBox::-webkit-scrollbar {
  display: none;
}

#scrollBox {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ══════════════════════════════════════════════════════════════════════════
   Event Calendar Page — Public Site Redesign
   All classes prefixed rm- to avoid collision with existing styles.
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Event Calendar Page Layout ───────────────────────────────────────── */
.rm-page-bg {
  background: #f5f6fa;
  min-height: 100vh;
}

/* ── Hero Banner ─────────────────────────────────────────────────────── */
.rm-page-hero {
  background: linear-gradient(135deg, var(--rm-ink) 0%, #2a3045 100%);
  padding: 1.25rem 0;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 16px 16px;
}
/* Decorative half-circles */
.rm-page-hero::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -60px;
  width: 140px;
  height: 140px;
  background: var(--rm-orange);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.08;
}
.rm-page-hero::after {
  content: '';
  position: absolute;
  bottom: -35px;
  left: -45px;
  width: 100px;
  height: 100px;
  background: var(--rm-cyan);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.07;
}
.rm-hero-half {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.rm-hero-half-1 {
  width: 60px;
  height: 60px;
  top: 50%;
  right: 12%;
  transform: translateY(-50%);
  background: transparent;
  border: 2px solid var(--rm-cyan);
  opacity: 0.1;
}
.rm-hero-half-2 {
  width: 50px;
  height: 50px;
  bottom: -25px;
  right: 30%;
  background: var(--rm-orange);
  opacity: 0.05;
}

.rm-hero-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  white-space: nowrap;
}
.rm-hero-title i {
  color: var(--rm-orange);
  margin-right: 5px;
  font-size: 1.1rem;
}

.rm-hero-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin: 0.15rem 0 0;
}

/* ── Home Page ──────────────────────────────────────────────────────── */

/* Slim hero variant */
.rm-page-hero-slim {
  padding: 0.6rem 0;
  border-radius: 0 0 12px 12px;
}
.rm-page-hero-slim .rm-hero-title {
  font-size: 1.05rem;
  white-space: nowrap;
}
.rm-page-hero-slim .rm-hero-title i {
  font-size: 0.95rem;
  margin-right: 4px;
}
.rm-page-hero-slim .rm-hero-desc {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  line-height: 1;
}
.rm-page-hero-slim .rm-hero-half-1 { top: 40%; }
.rm-page-hero-slim .rm-hero-half-2 { bottom: -20px; }

/* Left column typography */
.rm-home-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--rm-ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.rm-home-subtitle {
  font-size: 0.78rem;
  color: #8892a6;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.rm-home-lead {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--rm-ink);
  font-weight: 500;
}
.rm-home-body {
  font-size: 0.94rem;
  line-height: 1.7;
  color: #6b7280;
}
.rm-home-body em { color: var(--rm-ink); font-weight: 500; font-style: italic; }

/* ── Picker card ─────────────────────────────────────────────────────── */
.rm-picker { position: relative; display: flex; flex-direction: column; }

.rm-picker-header {
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid #f0f1f4;
}
.rm-picker-eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--rm-orange);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.5rem;
}
.rm-picker-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--rm-ink);
  margin: 0 0 0.35rem;
  letter-spacing: -0.01em;
}
.rm-picker-sub {
  font-size: 0.9rem;
  color: #8892a6;
  margin: 0;
  line-height: 1.5;
}

/* Search input */
.rm-picker-form { margin: 0; }
.rm-picker-field-wrap { position: relative; }
.rm-picker-field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid #e4e6ea;
  background: #fff;
  border-radius: 8px;
  padding: 0 0.85rem;
  height: 40px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.rm-picker-field:focus-within {
  border-color: var(--rm-orange);
  box-shadow: 0 0 0 3px rgba(var(--rm-orange-rgb),0.08);
}
.rm-picker-field-icon {
  color: #8892a6;
  font-size: 0.88rem;
  flex-shrink: 0;
}
.rm-picker-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.92rem;
  color: var(--rm-ink);
  padding: 0;
  min-width: 0;
  line-height: 1;
}
.rm-picker-input::placeholder { color: #a8afbd; }

/* Autocomplete dropdown */
.rm-picker-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  margin: 0;
  padding: 0.3rem;
  list-style: none;
  background: #fff;
  border: 1px solid #e4e6ea;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(30,33,48,0.10);
  max-height: 240px;
  overflow-y: auto;
  z-index: 20;
}
.rm-picker-suggest-item {
  padding: 0.55rem 0.7rem;
  border-radius: 6px;
  cursor: pointer;
  color: #3d4557;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.rm-picker-suggest-item i { color: #8892a6; }
.rm-picker-suggest-item:hover,
.rm-picker-suggest-item.is-active {
  background: var(--rm-orange-tint);
  color: var(--rm-ink);
}
.rm-picker-suggest-item.is-active i { color: var(--rm-orange); }
.rm-picker-suggest-empty {
  padding: 0.75rem;
  color: #8892a6;
  font-size: 0.88rem;
  text-align: center;
}

/* City card grid */
.rm-picker-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin: 0;
}

.rm-picker-city {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.85rem;
  background: #fff;
  border: 1px solid #e4e6ea;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  min-width: 0;
}
.rm-picker-city:hover {
  border-color: var(--rm-orange);
  background: #fffaf6;
  color: inherit;
}
.rm-picker-city.is-hidden { display: none; }

.rm-picker-city-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: var(--rm-orange-tint);
  color: var(--rm-orange);
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease;
}
.rm-picker-city:hover .rm-picker-city-icon {
  background: var(--rm-orange);
  color: #fff;
}

.rm-picker-city-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
}
.rm-picker-city-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--rm-ink);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rm-picker-city-meta {
  font-size: 0.72rem;
  color: #8892a6;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.rm-picker-city-arrow {
  color: #c5cad4;
  font-size: 0.85rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease, color 0.15s ease;
}
.rm-picker-city:hover .rm-picker-city-arrow {
  color: var(--rm-orange);
  opacity: 1;
  transform: translateX(0);
}

/* Empty / none states */
.rm-picker-empty,
.rm-picker-none {
  text-align: center;
  padding: 1.5rem 1rem;
  color: #8892a6;
  font-size: 0.9rem;
}
.rm-picker-empty i,
.rm-picker-none i {
  display: block;
  font-size: 1.5rem;
  color: #c5cad4;
  margin-bottom: 0.5rem;
}
.rm-picker-empty p,
.rm-picker-none p { margin: 0; }

/* Responsive */
@media (max-width: 991.98px) {
  .rm-picker-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
  .rm-picker-grid { grid-template-columns: 1fr; }
}

/* ── Compact Professional Navbar ─────────────────────────────────────── */
.rm-navbar {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  position: relative;
}
.rm-navbar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rm-orange) 0%, var(--rm-cyan) 50%, var(--rm-orange) 100%);
}
.rm-navbar-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.rm-navbar-logo {
  transition: transform 0.25s ease, filter 0.25s ease;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.06));
}
.rm-navbar-logo:hover {
  transform: scale(1.04);
  filter: drop-shadow(0 2px 4px rgba(var(--rm-orange-rgb),0.2));
}

/* ── Navbar city filter (event calendar page only) ───────────────────── */
.rm-navbar-city-wrap {
  flex-shrink: 0;
}
.rm-navbar-city-icon {
  color: var(--rm-orange);
  font-size: 1rem;
  flex-shrink: 0;
}
.rm-navbar-city-select {
  background-color: #fff;
  border: 1px solid #dee2e6;
  color: #212529;
  font-size: 0.82rem;
  font-weight: 500;
  min-width: 140px;
  max-width: 180px;
  border-radius: 6px;
  padding: 5px 28px 5px 10px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.rm-navbar-city-select option {
  background-color: #fff;
  color: #212529;
}
.rm-navbar-city-select:focus {
  border-color: var(--rm-orange);
  box-shadow: 0 0 0 2px rgba(var(--rm-orange-rgb),0.2);
  outline: none;
}

/* Narrow phones: shrink logo + city select together so the header stays
   balanced when both are inline on the same row. */
@media (max-width: 480px) {
  .rm-navbar-logo {
    width: 105px !important;
  }
  .rm-navbar-city-select {
    font-size: 0.75rem;
    min-width: 110px;
    max-width: 140px;
    padding: 4px 24px 4px 8px;
  }
  .rm-navbar-city-icon {
    font-size: 0.9rem;
  }
}

/* ── Navbar Event Calendar shortcut (receipt page only) ──────────────── */
.rm-navbar-cal-btn {
  background-color: var(--rm-cyan);
  color: var(--rm-ink);
  font-weight: 600;
  border: none;
  border-radius: 6px;
  padding: 6px 14px;
}
.rm-navbar-cal-btn:hover,
.rm-navbar-cal-btn:focus {
  background-color: #4aabb9;
  color: var(--rm-ink);
  box-shadow: 0 0 0 2px rgba(var(--rm-cyan-rgb),0.25);
}

/* ── Dark Calendar Section ───────────────────────────────────────────── */
.rm-calendar-section {
  background: linear-gradient(135deg, var(--rm-ink) 0%, #2a3045 100%);
  padding: 0.85rem 0;
  position: relative;
  overflow: hidden;
}
.rm-calendar-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--rm-orange) 0%, var(--rm-cyan) 50%, var(--rm-orange) 100%);
  opacity: 0.7;
}
.rm-cal-decor-1 {
  position: absolute;
  top: -45px;
  right: -50px;
  width: 130px;
  height: 130px;
  background: var(--rm-orange);
  border-radius: 50%;
  opacity: 0.06;
  pointer-events: none;
}
.rm-cal-decor-2 {
  position: absolute;
  bottom: -25px;
  left: 30%;
  width: 75px;
  height: 75px;
  background: var(--rm-cyan);
  border-radius: 50%;
  opacity: 0.05;
  pointer-events: none;
}

.rm-calendar-box {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Chips row: slide arrows + scrollable chips */
.rm-cal-chips-row {
  display: flex;
  align-items: stretch;
  gap: 4px;
}
.rm-cal-chips-row .rm-cal-chips-scroll {
  flex: 1;
  min-width: 0;
  scroll-behavior: smooth;
}
.rm-cal-slide-arrow {
  flex-shrink: 0;
  width: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.85);
  border-radius: 6px;
  font-size: 0.7rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.15s ease;
}
.rm-cal-slide-arrow:hover {
  background: rgba(var(--rm-orange-rgb), 0.2);
  border-color: var(--rm-orange);
  color: var(--rm-orange);
}

/* ── Date Chips (Horizontal Scroll) ──────────────────────────────────── */
.rm-cal-chips-scroll {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 2px 2px 4px;
  /* Hide the scrollbar — navigation is handled by the ‹ › arrow buttons +
     native touch-swipe on mobile. Scroll functionality is preserved. */
  scrollbar-width: none;         /* Firefox */
  -ms-overflow-style: none;      /* IE / old Edge */
}
.rm-cal-chips-scroll::-webkit-scrollbar {
  display: none;                 /* Chrome / Safari / new Edge */
}

.rm-cal-chip {
  flex: 0 0 auto;
  min-width: 56px;
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
  transition: all 0.15s ease;
  user-select: none;
}
.rm-cal-chip:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(var(--rm-orange-rgb), 0.6);
  box-shadow: 0 2px 8px rgba(var(--rm-orange-rgb), 0.25);
}

.rm-cal-chip-day {
  font-size: 0.6rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.rm-cal-chip-num {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin: 1px 0;
}
.rm-cal-chip-month {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--rm-orange);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* Past-date chip — visible but muted (user can scroll left to reach them) */
.rm-cal-chip-past {
  opacity: 0.55;
}

/* Selected state */
.rm-cal-chip-selected {
  background: linear-gradient(135deg, var(--rm-orange) 0%, #ff9659 100%);
  border-color: var(--rm-orange);
  box-shadow: 0 4px 12px rgba(var(--rm-orange-rgb), 0.4);
}
.rm-cal-chip-selected .rm-cal-chip-day,
.rm-cal-chip-selected .rm-cal-chip-num,
.rm-cal-chip-selected .rm-cal-chip-count,
.rm-cal-chip-selected .rm-cal-chip-month {
  color: #fff;
}

/* Tabs wrapper: centers the segmented control, spinner overlaps on the right */
.rm-cal-tabs-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.rm-cal-tabs-spinner {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
}

/* Compact pill segmented control.
   Track = full pill, very small footprint. Active segment is filled orange.
   In Mode B the active segment becomes a month picker (‹ Month Year ›). */
.rm-cal-tabs {
  display: inline-flex;
  align-items: stretch;
  padding: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  gap: 0;
}
.rm-cal-tab {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  padding: 4px 14px;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 999px;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  line-height: 1.4;
}
.rm-cal-tab-icon {
  font-size: 0.7rem;
  opacity: 0.85;
}
.rm-cal-tab:hover:not(.rm-cal-tab-active) {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.rm-cal-tab-active {
  background: linear-gradient(135deg, var(--rm-orange) 0%, #ff9659 100%) !important;
  color: #fff !important;
  box-shadow: 0 2px 6px rgba(var(--rm-orange-rgb), 0.3) !important;
}

/* Active pill in Mode B = month picker embedded in place */
.rm-cal-tab-picker {
  padding: 0;
  overflow: hidden;
}
.rm-cal-picker-arrow {
  background: transparent;
  border: none;
  color: #fff;
  width: 26px;
  font-size: 0.72rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}
.rm-cal-picker-arrow:hover {
  background: rgba(0, 0, 0, 0.2);
}
.rm-cal-picker-label {
  padding: 4px 8px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.2px;
  min-width: 74px;
  text-align: center;
  user-select: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

/* Slide arrows: disabled state (when scrollLeft at boundary) */
.rm-cal-slide-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* Today indicator (when not selected) */
.rm-cal-chip-today:not(.rm-cal-chip-selected) {
  border-color: var(--rm-cyan);
  border-width: 2px;
}

/* Empty state — matches chip strip height so section stays consistent */
.rm-cal-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 60px;
  padding: 2px 8px 6px;
  color: rgba(255, 255, 255, 0.5);
}
.rm-cal-empty i {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.3);
}
.rm-cal-empty p {
  font-size: 0.78rem;
  margin: 0;
}

/* ── Section Heading ──────────────────────────────────────────────────── */
.rm-section-heading {
  border-left: 4px solid var(--rm-orange);
  margin: 0 0 1.25rem;
}

/* ── Price Badge ─────────────────────────────────────────────────────── */
.rm-price-badge {
  display: inline-block;
  background: var(--rm-orange-tint);
  color: var(--rm-orange);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 50px;
  border: 1px solid rgba(var(--rm-orange-rgb),0.2);
  white-space: nowrap;
  flex-shrink: 0;
}
.rm-price-free {
  background: #f0fdf4;
  color: #22c55e;
  border-color: rgba(34,197,94,0.2);
}

/* ── Event Card (compact side-by-side) ───────────────────────────────── */
.rm-event-card {
  transition: box-shadow 0.2s, transform 0.2s;
  padding: 0.9rem !important;
  overflow: hidden;
}

/* Grey venue strip that bleeds to the card edges. Negative margins
   pull it out of the card's padding, own padding gives it presence,
   and .rm-event-card's overflow:hidden clips the corners to match
   the card's rounded-4 radius. */
.rm-event-venue-strip {
  margin: -0.9rem -0.9rem 0.9rem;
  padding: 0.55rem 0.9rem;
  background: #f5f5f5;
  border-bottom: 1px solid #e5e5e5;
  font-size: 0.875rem;
}
.rm-event-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1) !important;
  transform: translateY(-2px);
}
.rm-event-title {
  font-size: 1rem;
  line-height: 1.3;
}

/* Top row: image (left) + details (right) — image stays fixed size */
.rm-event-top {
  display: flex;
  gap: 10px;
  margin-bottom: 0.4rem;
  align-items: flex-start;
}
.rm-event-img-col {
  flex: 0 0 35%;
  max-width: 35%;
}
.rm-event-details-col {
  flex: 1;
  min-width: 0;
}

.rm-event-img-wrap .carousel,
.rm-event-img-wrap .carousel-inner {
  border-radius: 8px;
  height: 100%;
}
.rm-event-img-placeholder {
  height: 100%;
  background: #f5f5f5;
  border-radius: 8px;
}

/* ── Image Carousel Polish ───────────────────────────────────────────── */
.rm-event-carousel {
  height: 100%;
}
/* Carousel indicators (dots at bottom) */
.rm-event-img-wrap .carousel-indicators {
  margin-bottom: 0.4rem;
  margin-left: 0;
  margin-right: 0;
}
.rm-event-img-wrap .carousel-indicators [data-bs-target] {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  margin: 0 3px;
  background-color: rgba(255, 255, 255, 0.6);
  opacity: 1;
  transition: all 0.2s ease;
}
.rm-event-img-wrap .carousel-indicators .active {
  background-color: var(--rm-orange);
  width: 18px;
  border-radius: 4px;
}
/* Prev/Next controls — hidden by default, fade in on hover */
.rm-event-img-wrap .carousel-control-prev,
.rm-event-img-wrap .carousel-control-next {
  width: 28px;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.rm-event-img-wrap:hover .carousel-control-prev,
.rm-event-img-wrap:hover .carousel-control-next {
  opacity: 1;
}
.rm-event-img-wrap .carousel-control-prev-icon,
.rm-event-img-wrap .carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.45);
  border-radius: 50%;
  padding: 10px;
  background-size: 50% 50%;
}

/* Time slots: wrap nicely, tight gaps for many pills */
.rm-event-details-col .field-group {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 0.4rem;
}

/* Description strip below image + action area */
.rm-event-desc-strip {
  line-height: 1.6;
  color: #555;
  font-size: 0.92rem;
}

/* Divider above the slot cards row */
.rm-event-showtimes.mt-2 {
  margin-top: 0.25rem !important;
}
.rm-event-showtimes {
  padding-top: 0.3rem;
}

/* ── New "Book now" section — vertical slot cards + aside ──────────
   Replaces the earlier orange pill / 2x2 grid design. Both single-slot
   and multi-slot events render through the same layout.
   Structure:
     .rm-book-section
       .rm-book-section-header  → "Book now" + divider
       .rm-book-section-body
         .rm-book-cards-scroll  → horizontally-scrollable row of cards
           .rm-slot-card        → one per schedule
         .rm-book-section-aside → "N slots available" + prev/next arrows
*/
.rm-book-section-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
}
.rm-book-section-divider {
  border: 0;
  border-top: 1px solid #e5e7eb;
  height: 0;
  opacity: 1;
}
.rm-book-cards-scroll {
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.rm-book-cards-scroll::-webkit-scrollbar { display: none; }

.rm-slot-count {
  color: #6b7280;
  white-space: nowrap;
  line-height: 1.15;
  text-align: right;
  font-size: 0.75rem;
}
.rm-book-arrows {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}
.rm-book-arrow {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #ffffff;
  color: #6b7280;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.rm-book-arrow:hover {
  color: var(--rm-orange);
  border-color: var(--rm-orange);
}
.rm-book-arrow[disabled],
.rm-book-arrow.rm-book-arrow-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── Slot card — 4-line vertical stack ─────────────────────────────
   Day of week (muted uppercase) / Date (bold dark) / Time (muted) /
   Price (bold orange). Shared shell so bookable and disabled variants
   line up in the same row without height drift.
   Colour tokens scoped to this block use the reference orange #f26522
   instead of the site brand orange #F08143. */
.rm-slot-card {
  flex: 0 0 auto;
  min-width: 96px;
  padding: 10px 12px;
  background: #ffffff;
  border: 1px solid #f26522;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  line-height: 1.15;
  text-align: center;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}
.rm-slot-card-day {
  font-size: 0.65rem;
  font-weight: 600;
  color: #999999;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.rm-slot-card-date {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1a1a1a;
}
.rm-slot-card-time {
  font-size: 0.75rem;
  font-weight: 500;
  color: #666666;
}
.rm-slot-card-price {
  font-size: 0.8rem;
  font-weight: 700;
  color: #f26522;
  margin-top: 2px;
}
.rm-slot-card-status {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-top: 2px;
}

/* Bookable — click cursor. Hover / focus / selected states use the
   reference colour tokens: peach wash + orange border, brighter day
   colour on the top line. */
.rm-slot-card-bookable {
  cursor: pointer;
}
.rm-slot-card-bookable:hover {
  background: #fff3ed;
  border-color: #f9b899;
}
.rm-slot-card-bookable:hover .rm-slot-card-day {
  color: #c4510f;
}
.rm-slot-card-bookable:focus-visible {
  outline: none;
  border: 1.5px solid #f26522;
  box-shadow: 0 0 0 3px rgba(249, 184, 153, 0.33);
}
.rm-slot-card-bookable.highlight {
  background: #fff3ed;
  border: 1.5px solid #f26522;
}
.rm-slot-card-bookable.highlight .rm-slot-card-day {
  color: #c4510f;
}
.rm-slot-card-bookable.highlight .rm-slot-card-time {
  color: #555555;
}

/* Disabled variants (past / closed / sale-not-open / not-available /
   soldout) all share the same greyed-out look: light-grey wash, half
   opacity, price shown with a strikethrough. The status label sits
   below the strikethrough price. */
.rm-slot-card-disabled {
  background: #f7f7f7;
  border-color: #c8c8c8;
  cursor: not-allowed;
}
.rm-slot-card-disabled .rm-slot-card-day  { color: #bbbbbb; }
.rm-slot-card-disabled .rm-slot-card-date { color: #999999; }
.rm-slot-card-disabled .rm-slot-card-time { color: #bbbbbb; }
.rm-slot-card-disabled .rm-slot-card-price {
  color: #bbbbbb;
  text-decoration: line-through;
}
.rm-slot-card-disabled .rm-slot-card-status {
  color: #999999;
}
.rm-slot-card-notopen .rm-slot-card-status {
  color: #0d6efd;
}
.rm-opens-banner {
  background: #eaf2ff;
  border: 1px solid #b6d4ff;
  border-radius: 10px;
  padding: 12px 14px;
}
.rm-opens-banner-title {
  color: #0d6efd;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.rm-opens-banner-sub {
  color: #6c757d;
  font-size: 0.85rem;
  margin-top: 4px;
}

/* Legacy — pill flip / grid classes below are unused by the new layout
   but kept so admin previews / other views that still reference the
   classes render correctly. */
.rm-slot-content {
  color: inherit;
  white-space: nowrap;
}
/* Bookable pill layout — everything visible upfront, single-click books.
   3 columns: left cell · dot · right cell. Two rows: date | price on top,
   time | Book Now below. Dots line up vertically because the middle
   column is dedicated to them. */
.rm-slot-grid {
  display: inline-grid;
  grid-template-columns: max-content auto max-content;
  column-gap: 4px;
  row-gap: 5px;
  align-items: center;
  line-height: 1.0;
}
.rm-slot-cell {
  color: inherit;
  white-space: nowrap;
  font-size: 0.72rem;   /* matches the original .rm-time-pill.rm-combo-pill size */
}
.rm-slot-cell-left  { justify-self: start; text-align: left; }
.rm-slot-cell-right { justify-self: start; text-align: left; }
.rm-slot-grid-dot {
  justify-self: center;
  opacity: 0.5;
}

.rm-slot-headline {
  font-size: 0.75rem;
  color: inherit;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.rm-slot-dot {
  color: currentColor;
  margin: 0 0.25rem;
  font-weight: 900;
  font-size: 1.1em;
  line-height: 1;
  opacity: 0.55;
}

/* ── Quick Info Chips (Lang · Type · Duration) ───────────────────────── */
.rm-event-quick-info {
  font-size: 0.75rem;
  color: #777;
  font-weight: 500;
  letter-spacing: 0.2px;
}
.rm-age-pill {
  display: inline-block;
  padding: 0 5px;
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--rm-orange);
  background: rgba(var(--rm-orange-rgb), 0.08);
  border: 1px solid rgba(var(--rm-orange-rgb), 0.4);
  border-radius: 6px;
  letter-spacing: 0.2px;
  vertical-align: middle;
}

/* ── Meta Block (date, venue, producer with icons) ───────────────────── */
.rm-event-meta-block {
  margin-bottom: 0.5rem;
}
.rm-meta-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.75rem;
  color: #555;
  margin-bottom: 4px;
  line-height: 1.35;
}
.rm-meta-row i {
  color: #6b7280;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 0.9rem;
}
.rm-meta-row-sm i {
  font-size: 0.72rem;
  margin-top: 0;
}
.rm-meta-row-sm {
  font-size: 0.75rem;
}

/* ── Socials cluster (next to quick-info on desktop, below on mobile) ── */
/* justify-content is controlled by Bootstrap responsive utility classes on
   the element itself:
     justify-content-start      → left-align on mobile/tablet (stacked layout)
     justify-content-lg-end     → right-align on desktop (inline layout) */
.rm-event-socials-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.rm-social-footer-link {
  color: #6b7280;
  font-size: 0.8rem;
  cursor: pointer;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #f5f5f5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.rm-social-footer-link:hover {
  background: #f26522;
  color: #ffffff;
  transform: translateY(-1px);
}
.rm-social-footer-link:hover .bi-instagram,
.rm-social-footer-link:hover .bi-facebook,
.rm-social-footer-link:hover .bi-twitter-x,
.rm-social-footer-link:hover .bi-youtube,
.rm-social-footer-link:hover .bi-globe { color: #ffffff !important; }
.rm-social-footer-link i {
  display: inline-block;
  vertical-align: middle;
}
/* All social icons share the same neutral grey — brand colours retired
   to match the reference design. */
.rm-social-footer-link .bi-instagram,
.rm-social-footer-link .bi-facebook,
.rm-social-footer-link .bi-twitter-x,
.rm-social-footer-link .bi-youtube,
.rm-social-footer-link .bi-globe { color: #6b7280 !important; }


/* ── Load More Events Button ─────────────────────────────────────────── */
.rm-load-more-btn {
  background: #fff;
  border: 1.5px solid var(--rm-orange);
  color: var(--rm-orange);
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}
.rm-load-more-btn:hover {
  background: var(--rm-orange);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(var(--rm-orange-rgb), 0.25);
}
.rm-load-more-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* ── Book Now Button ──────────────────────────────────────────────────── */
.rm-book-form {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}
.rm-status-housefull {
  background: #fef4f4;
  color: #c53030;
  border: 1px solid rgba(197, 48, 48, 0.18);
}
.rm-status-closed {
  background: #f5f6f7;
  color: #6b7280;
  border: 1px solid rgba(107, 114, 128, 0.18);
}

/* Cancelled/postponed event card: muted title + quick-info/meta rows, and
   the banner that replaces showtimes + description. Palette reuses the
   House Full red (rm-status-housefull) rather than introducing a new one. */
.rm-title-cancelled {
  color: #9ca3af !important;
}
.rm-cancelled-muted,
.rm-cancelled-muted .rm-meta-row,
.rm-cancelled-muted .rm-meta-row-sm {
  color: #b0b5bc !important;
}
.rm-cancelled-muted i {
  color: #c7cbd1 !important;
}
.rm-cancelled-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  background: #fef4f4;
  border: 1px solid rgba(197, 48, 48, 0.18);
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
}
.rm-cancelled-banner > .bi {
  color: #c53030;
  font-size: 1.1rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}
.rm-cancelled-banner-title {
  color: #c53030;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 0.15rem;
}
.rm-cancelled-banner-text {
  color: #8a4a4a;
  font-size: 0.82rem;
  line-height: 1.35;
}

/* Whole cancelled card: faint grey fill + greyscale poster. */
.rm-event-card-cancelled {
  background-color: #f6f6f7 !important;
}
/* The filter goes on .img-wrapper only: it already composites both the
   blurred ::before backdrop and the <img> inside it. Filtering the <img>
   as well stacked the two, landing the poster at opacity 0.55² ≈ 0.3. */
.rm-event-card-cancelled .rm-event-img-wrap .img-wrapper,
.rm-event-card-cancelled .rm-event-img-placeholder {
  filter: grayscale(1) opacity(0.55);
}
/* Shared image lightbox lives outside the card in the DOM (see
   eventcalendar.php) — a cancelled poster needs its own flag, toggled on
   .rm-lightbox-stage by JS, to stay greyed out when opened full-size.
   A solid overlay is used instead of a CSS filter: `filter` on #rmLightboxImg
   did not reliably repaint inside this modal (Chromium quirk with
   filter + overflow:hidden + Bootstrap's transform-animated dialog). */
.rm-lb-stage-cancelled::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: rgba(90, 90, 95, 0.65);
}

/* Remaining seats hint inside bookable time pills */
/* Availability badge — replaced the raw "N/M seats left" count. Level is
   computed in EventCalendarRepository::markFullSchedules(); block + fit-content
   keeps it on its own line under the showtime, as the old count was. */
.rm-avail-badge {
  display: block;
  width: fit-content;
  margin: 2px auto 0;
  padding: 0.02rem 0.35rem;
  background: transparent;
  border-radius: 999px;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.rm-avail-available {
  color: #15803d;
  border: 1px solid rgba(21, 128, 61, 0.35);
}
.rm-avail-filling-fast {
  color: #b45309;
  border: 1px solid rgba(180, 83, 9, 0.35);
}
.rm-avail-sold-out {
  color: #b91c1c;
  border: 1px solid rgba(185, 28, 28, 0.35);
}

/* ── Responsive adjustments ───────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .rm-section-heading {
    margin-top: 1rem;
  }
}
@media (max-width: 767.98px) {
  .rm-cal-chip {
    min-width: 50px;
    padding: 5px 6px;
  }
  .rm-cal-chip-num {
    font-size: 1rem;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   Footer
   ══════════════════════════════════════════════════════════════════════════ */
.rm-footer {
  background: linear-gradient(180deg, var(--rm-ink) 0%, #171926 100%);
  color: rgba(255,255,255,0.7);
  position: relative;
  overflow: hidden;
  margin-top: auto;
}

/* Orange accent line at top */
.rm-footer-edge {
  height: 3px;
  background: linear-gradient(90deg, var(--rm-orange) 0%, var(--rm-cyan) 50%, var(--rm-orange) 100%);
}

.rm-footer-main {
  padding: 2.5rem 0 1.5rem;
}

/* Brand */
.rm-footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.75rem;
}
.rm-footer-brand i {
  font-size: 1.6rem;
  color: var(--rm-orange);
}
.rm-footer-brand span {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.3px;
}

.rm-footer-about {
  font-size: 0.84rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.25rem;
  max-width: 320px;
}

/* Social icons */
.rm-footer-socials {
  display: flex;
  gap: 8px;
}
.rm-footer-socials a {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  text-decoration: none;
}
.rm-footer-socials a:hover {
  background: var(--rm-orange);
  border-color: var(--rm-orange);
  color: #fff;
  transform: translateY(-2px);
}

/* Column headings */
.rm-footer-heading {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--rm-orange);
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 8px;
}
.rm-footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--rm-orange);
  border-radius: 2px;
}

/* Links */
.rm-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.rm-footer-links li {
  margin-bottom: 0.6rem;
}
.rm-footer-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.84rem;
  transition: color 0.15s, padding-left 0.15s;
}
.rm-footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

/* Contact icon accent */
.rm-footer-icon {
  color: var(--rm-cyan);
  margin-right: 4px;
  font-size: 0.78rem;
}

/* Bottom bar */
.rm-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}
.rm-footer-tagline {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
}
.rm-heart {
  color: var(--rm-orange);
  font-size: 0.7rem;
  animation: rm-pulse 2s ease-in-out infinite;
}

/* Decorative half-circles clipped at edges */
.rm-footer-half {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.07;
}
/* Large orange half — bottom-right, clipped right */
.rm-footer-half-1 {
  width: 280px;
  height: 280px;
  bottom: -60px;
  right: -140px;
  background: var(--rm-orange);
}
/* Medium cyan half — top-left, clipped left */
.rm-footer-half-2 {
  width: 180px;
  height: 180px;
  top: 20px;
  left: -90px;
  background: var(--rm-cyan);
}
/* Small orange half — bottom-left corner */
.rm-footer-half-3 {
  width: 100px;
  height: 100px;
  bottom: -50px;
  left: 8%;
  background: var(--rm-orange);
  opacity: 0.04;
}
/* Tiny cyan ring — right side, mid-height */
.rm-footer-half-4 {
  width: 60px;
  height: 60px;
  top: 40%;
  right: 5%;
  background: transparent;
  border: 2px solid var(--rm-cyan);
  opacity: 0.08;
}

/* Footer responsive */
@media (max-width: 767.98px) {
  .rm-footer-main {
    padding: 2rem 0 1rem;
  }
  .rm-footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   SEAT SELECTION PAGE
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Progress Bar ───────────────────────────────────────────────────────── */
.rm-progress-active {
  color: var(--rm-orange) !important;
}
/* ── Image Lightbox (click any card image → full view) ───────────────── */
.rm-lightbox {
  background: rgba(0, 0, 0, 0.92);
}
.rm-lightbox .modal-dialog {
  max-width: 95vw;
}
.rm-lightbox .modal-content {
  background: transparent;
  border: 0;
  box-shadow: none;
}
.rm-lightbox .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
  opacity: 0.9;
}
.rm-lightbox-stage {
  position: relative;
  width: min(90vw, calc(85vh * 3 / 4), 500px);
  aspect-ratio: 3 / 4;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
  background-color: #000;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
/* Blurred backdrop fills the canvas for images that don't match 3:4 */
.rm-lightbox-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--rm-lb-bg);
  background-size: cover;
  background-position: center;
  filter: blur(30px) brightness(0.55);
  transform: scale(1.2);
  z-index: 0;
}
.rm-lb-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}
.rm-lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
  z-index: 5;
}
.rm-lb-nav:hover,
.rm-lb-nav:focus {
  background: rgba(255, 255, 255, 0.3);
  outline: none;
}
.rm-lb-prev { left: 8px; }
.rm-lb-next { right: 8px; }
.rm-lb-nav[hidden] { display: none; }
.rm-lb-counter {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}
@media (max-width: 576px) {
  .rm-lb-nav { width: 28px; height: 28px; font-size: 1rem; }
  .rm-lb-img { max-height: 80vh; }
}

