/* ── Navigation ─────────────────────────────────────────────────── */

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav-primary {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.site-nav-primary a {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.15s;
}

.site-nav-primary a:hover,
.site-nav-primary a.active {
  color: var(--accent);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  list-style: none;
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
}

.nav-dropdown-toggle::-webkit-details-marker { display: none; }

.nav-dropdown-label {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem 0.55rem;
  border: 1px solid rgba(31, 26, 23, 0.18);
  border-radius: 999px;
  background: rgba(31, 26, 23, 0.04);
  transition: background 0.15s, border-color 0.15s;
  color: var(--ink);
}

.nav-dropdown:hover .nav-dropdown-label,
.nav-dropdown[open] .nav-dropdown-label {
  background: rgba(31, 26, 23, 0.09);
  border-color: rgba(31, 26, 23, 0.28);
}

.nav-dropdown-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.nav-dropdown-chevron {
  width: 0.8rem;
  height: 0.8rem;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.nav-dropdown[open] .nav-dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 160px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(46, 31, 20, 0.14);
  padding: 0.4rem;
  z-index: 200;
  /* slide-in animation */
  animation: dropdown-in 0.18s ease forwards;
  transform-origin: top right;
}

@keyframes dropdown-in {
  from { opacity: 0; transform: scale(0.95) translateY(-4px); }
  to   { opacity: 1; transform: scale(1)   translateY(0);     }
}

.nav-dropdown-item {
  display: block;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.12s;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.nav-dropdown-item:hover {
  background: rgba(157, 61, 47, 0.08);
  color: var(--accent);
}

.nav-dropdown-item.active {
  color: var(--accent);
  background: rgba(157, 61, 47, 0.06);
}

.nav-dropdown-signout {
  color: var(--muted);
}

.nav-dropdown-signout:hover {
  color: var(--accent);
}

.nav-dropdown-divider {
  height: 1px;
  background: var(--line);
  margin: 0.3rem 0.4rem;
}

.nav-signed-in-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-dark);
  max-width: 12ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-dropdown-identity {
  padding: 0.65rem 0.9rem 0.5rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  max-width: 220px;
  text-align: center;
  align-items: center;
}

.nav-dropdown-identity-link {
  display: block;
  text-decoration: none;
  text-align: center;
  border-radius: 8px;
  transition: background 100ms ease;
}

.nav-dropdown-identity-link:hover {
  background: rgba(31, 26, 23, 0.05);
}

.nav-dropdown-identity-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

.nav-dropdown-role {
  font-size: 0.86rem;
  font-weight: 400;
  color: var(--muted, #7a6a5f);
}

.nav-dropdown-role-sub {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--muted, #7a6a5f);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Mobile */
@media (max-width: 600px) {
  .site-nav {
    gap: 1.2rem;
  }

  .site-nav-primary {
    gap: 1.1rem;
  }

  .site-nav-primary a {
    font-size: 0.75rem;
  }

  .nav-dropdown-menu {
    right: -0.5rem;
  }
}


/* About section edit link and textarea */
.about-edit-link {
	float: right;
	margin-left: 0.5em;
	cursor: pointer;
	font-size: 1.1em;
	color: var(--accent-dark);
	opacity: 0.7;
	transition: opacity 0.15s;
}
.about-edit-link:hover {
	opacity: 1;
	text-decoration: underline;
}
.about-edit-form textarea {
	font-family: inherit;
	font-size: 1em;
	border-radius: 8px;
	border: 1px solid var(--line);
	padding: 0.7em;
	margin-bottom: 0.3em;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *
 *= require_tree .
 *= require_self
 */

@import url("https://cdn.jsdelivr.net/npm/flatpickr/dist/flatpickr.min.css");

:root {
	--bg: #f4efe6;
	--paper: #fbf8f1;
	--ink: #1f1a17;
	--muted: #675f56;
	--accent: #9d3d2f;
	--muted: #675f56;
	--gold: #d6a552;
	--line: rgba(31, 26, 23, 0.14);
	--accent-hover: #b14f40;
	--accent-dark: #612117;
	--shadow: 0 24px 60px rgba(46, 31, 20, 0.12);
	color-scheme: light;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	background:
		radial-gradient(circle at top left, rgba(214, 165, 82, 0.18), transparent 24%),
		linear-gradient(180deg, #f8f1e4 0%, var(--bg) 45%, #efe7da 100%);
	color: var(--ink);
	line-height: 1.5;
}

a {
	color: inherit;
	text-decoration: none;
}

input,
textarea,
select {
	width: 100%;
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 0.9rem 1rem;
	background: white;
	font: inherit;
}

textarea {
	resize: vertical;
}

.shell {
	width: min(1120px, calc(100% - 2rem));
	margin: 0 auto;
}

.shell-wide {
	width: min(1600px, calc(100% - 2rem));
	margin: 0 auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 10;
	backdrop-filter: blur(14px);
	background: rgba(251, 248, 241, 0.88);
	border-bottom: 1px solid rgba(31, 26, 23, 0.08);
}

.nav-row,
.site-nav,
.button-row,
.hero-actions,
.section-heading,
.table-actions,
.action-row {
	display: flex;
	align-items: center;
}

.button-row form,
.action-row form {
	display: inline-flex;
	margin: 0;
}

.nav-row,
.section-heading {
	justify-content: space-between;
	gap: 1rem;
}

.dashboard-toolbar {
	display: flex;
	align-items: center;
	gap: 0;
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 0.6rem 0.9rem;
	background: rgba(31, 26, 23, 0.03);
}

.dashboard-toolbar-group {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: 0 0.75rem;
}

.dashboard-toolbar-group:first-child {
	padding-left: 0;
}

.dashboard-toolbar-group:last-child {
	padding-right: 0;
}

.dashboard-toolbar-label {
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
	text-align: center;
}

.dashboard-toolbar-divider {
	width: 1px;
	align-self: stretch;
	background: var(--line);
	margin: 0 0.25rem;
	flex-shrink: 0;
}

.dashboard-toolbar-group .button-row {
	gap: 1.25rem;
}

.toolbar-link {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--accent);
	text-decoration: none;
	white-space: nowrap;
}

.toolbar-link:hover {
	text-decoration: underline;
	color: var(--accent-hover);
}

@media (max-width: 700px) {
	.dashboard-toolbar {
		flex-direction: column;
		align-items: stretch;
		gap: 0.6rem;
		width: 100%;
	}

	.dashboard-toolbar-divider {
		width: auto;
		height: 1px;
		margin: 0;
	}

	.dashboard-toolbar-group {
		padding: 0;
	}
}


.nav-row {
	padding: 1rem 0;
}

.brand-mark {
	font-size: 1.35rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent);
}

.brand-mark-image {
	display: block;
	height: 4rem;
	width: auto;
}

.site-nav {
	gap: 1rem;
	flex-wrap: wrap;
}

.site-nav-primary,
.site-nav-secondary {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
}


.site-nav-primary a,
.site-nav-secondary a,
.brand-mark {
	transition: color 140ms ease;
}

/* Highlight the active nav link in burgundy */
.site-nav-primary a.active,
.site-nav-secondary a.active {
	color: var(--accent) !important;
}

.site-nav-primary a,
.site-nav-secondary a,
.site-nav .nav-button,
.site-nav .nav-pill,
.site-nav .nav-pill-outline,
.site-nav .nav-button-subtle {
	font-size: 1.3rem;
	font-weight: 700;
}

.nav-pill,
.button-primary,
.button-secondary,
.nav-button,
.nav-pill-outline,
.nav-button-subtle {
	border-radius: 999px;
	padding: 0.8rem 1.2rem;
	font-weight: 600;
	border: 1px solid transparent;
	background: var(--accent);
	color: #fff9f3;
	transition: background-color 140ms ease, border-color 140ms ease;
}

.button-primary,
.nav-pill,
.nav-button,
.button-secondary,
.nav-pill-outline,
.nav-button-subtle {
	background: var(--accent);
	color: #fff9f3;
}

input.button-primary,
input.button-secondary,
input.button-compact {
	width: auto;
}

button.button-primary,
button.button-secondary {
	border: none;
	cursor: pointer;
	font: inherit;
	text-decoration: none;
	display: inline-block;
	line-height: normal;
}

.nav-button,
.link-button {
	border: 0;
	cursor: pointer;
	font: inherit;
}

.button-primary:hover,
.button-secondary:hover,
.nav-pill:hover,
.nav-button:hover,
.nav-pill-outline:hover,
.nav-button-subtle:hover {
	background: var(--accent-hover);
	color: #fff9f3;
}

.site-nav-primary a:hover,
.site-nav-secondary a:hover,
.brand-mark:hover {
	color: var(--accent);
}

.hero-panel,
.film-hero,
.split-layout,
.prose-grid,
.footer-grid,
.stats-grid,
.card-grid,
.stack-grid,
.form-grid {
	display: grid;
	gap: 1.5rem;
}

.hero-panel,
.film-hero {
	grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.9fr);
	align-items: stretch;
	padding: 4rem 0 2rem;
}

.film-hero-full {
	grid-template-columns: 1fr;
}

.film-detail-layout {
	display: grid;
	grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
	gap: 1.5rem;
	align-items: start;
}

.hero-copy,
.spotlight-card,
.content-panel,
.feature-card,
.event-card,
.showing-card,
.auth-card,
.stat-card,
.spotlight-band {
	background: rgba(251, 248, 241, 0.92);
	border: 1px solid rgba(31, 26, 23, 0.08);
	border-radius: 28px;
	box-shadow: var(--shadow);
}

.hero-copy {
	padding: 3rem;
	text-align: center;
}

.hero-copy h1,
.interior-hero h1,
.film-hero h1 {
	font-size: clamp(2.7rem, 5vw, 5rem);
}

.interior-hero .event-hero-title,
h1.event-hero-title {
	font-size: 1.75rem !important;
}

.hero-logo {
	display: block;
	width: min(420px, 100%);
	height: auto;
	margin: 0 auto 1rem;
	filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.18));
}

.hero-actions {
	justify-content: center;
}

.hero-text {
	font-size: 1.1rem;
	max-width: 52rem;
	margin-left: auto;
	margin-right: auto;
}

.synopsis-toggle {
	margin-top: 0.4rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--accent-dark);
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	text-decoration: underline;
	cursor: pointer;
}

.film-detail-poster {
	display: block;
	width: min(320px, 100%);
	height: auto;
	border-radius: 16px;
	margin: 0.8rem 0 1.2rem;
	border: 1px solid rgba(31, 26, 23, 0.12);
	box-shadow: var(--shadow);
}

.event-show-poster {
	display: block;
	width: min(280px, 100%);
	aspect-ratio: 2 / 3;
	object-fit: cover;
	border-radius: 16px;
	margin: 0 auto 1.2rem;
	border: 1px solid rgba(31, 26, 23, 0.12);
	box-shadow: var(--shadow);
}

.event-hero-layout {
	display: grid;
	grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
	gap: 1.8rem;
	align-items: start;
}

.event-hero-title {
	font-size: 1.75rem;
	margin-top: 0;
	margin-bottom: 0.5rem;
}

.event-index-poster {
	display: block;
	width: min(160px, 100%);
	aspect-ratio: 2 / 3;
	object-fit: cover;
	border-radius: 12px;
	margin: 0 auto 0.9rem;
	border: 1px solid rgba(31, 26, 23, 0.12);
	background: rgba(31, 26, 23, 0.06);
}

.spotlight-card,
.content-panel,
.event-card,
.showing-card,
.auth-card,
.stat-card,
.feature-card {
	padding: 1.6rem;
}

.interior-hero,
.admin-shell {
	padding-top: 3rem;
}

.section-block {
	padding: 1.25rem 0 3.5rem;
}

.compact-block {
	padding-top: 0;
}

.about-hero {
	padding-top: 1rem;
	padding-bottom: 0.35rem;
}

.about-hero h1 {
	max-width: 18ch;
	margin-bottom: 0.65rem;
}

.about-lead {
	margin: 0;
	max-width: 70ch;
	font-size: 1.1rem;
	color: #3f352f;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.about-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.2rem;
}

.about-card {
	position: relative;
	background: linear-gradient(180deg, rgba(251, 248, 241, 0.96), rgba(246, 238, 228, 0.86));
	border: 1px solid rgba(157, 61, 47, 0.16);
	box-shadow: 0 20px 44px rgba(46, 31, 20, 0.1);
}

.about-card h2 {
	margin-top: 0;
	margin-bottom: 0.75rem;
	font-size: clamp(1.45rem, 2.4vw, 2rem);
	color: var(--accent-dark);
}

.about-card p {
	margin: 0 0 0.8rem;
}

.about-card p:last-child {
	margin-bottom: 0;
}

.about-card-wide {
	grid-column: 1 / -1;
}

.about-policy-card {
	background:
		radial-gradient(circle at top right, rgba(157, 61, 47, 0.14), transparent 38%),
		linear-gradient(180deg, rgba(251, 248, 241, 0.98), rgba(246, 238, 228, 0.9));
}

.about-location-card {
	background:
		radial-gradient(circle at top left, rgba(157, 61, 47, 0.1), transparent 42%),
		linear-gradient(180deg, rgba(251, 248, 241, 0.98), rgba(246, 238, 228, 0.9));
}

.about-map-wrap {
	margin-top: 0.75rem;
	border-radius: 18px;
	overflow: hidden;
	border: 1px solid rgba(31, 26, 23, 0.14);
	box-shadow: 0 14px 30px rgba(46, 31, 20, 0.12);
}

.about-map-wrap iframe {
	display: block;
	width: 100%;
	height: 340px;
	border: 0;
}

.eyebrow,
.card-tag {
	font-size: 0.8rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent);
}

.section-link,
.danger-link {
	color: var(--accent-dark);
	font-weight: 600;
}

.table-actions {
	gap: 0.45rem;
	justify-content: flex-end;
	flex-wrap: wrap;
}

.table-actions .button_to {
	margin: 0;
}

.button-compact {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	padding: 0.45rem 0.85rem;
	font-size: 0.85rem;
	font-weight: 600;
	font-family: inherit;
	line-height: 1.1;
	background: var(--accent);
	color: #fff9f3;
	text-decoration: none;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background-color 140ms ease, border-color 140ms ease;
}

.button-compact:hover {
	background: var(--accent-hover);
	color: #fff9f3;
}

.card-grid {
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.film-card-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.55rem;
	margin: 0.9rem 0 0.75rem;
}

.film-card-actions.single-action {
	grid-template-columns: 1fr;
}

.film-card-actions .button-primary,
.film-card-actions .button-secondary {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 0.62rem 0.9rem;
	font-size: 0.86rem;
}

.stack-grid {
	grid-template-columns: 1fr;
}

.two-columns,
.split-layout,
.prose-grid,
.footer-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wide-right {
	grid-template-columns: minmax(220px, 0.6fr) minmax(0, 1.4fr);
}

.schedule-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.schedule-item,
.showing-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.showing-select-button {
	width: 100%;
	border: 0;
	padding: 1.35rem 1.6rem;
	margin: 0;
	background: transparent;
	text-align: left;
	cursor: pointer;
	font-family: "Times New Roman", Georgia, serif;
}

.showing-select-button:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 6px;
	border-radius: 10px;
}

.showing-card {
	padding: 0;
	overflow: hidden;
	transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease, background-color 140ms ease;
}

.showing-card.is-active {
	border-color: rgba(157, 61, 47, 0.38);
	background: linear-gradient(180deg, rgba(157, 61, 47, 0.08), rgba(157, 61, 47, 0.03));
	box-shadow: 0 20px 44px rgba(46, 31, 20, 0.16);
	transform: translateY(-2px);
}

.showing-card:not(.is-active) .seat-pill.now-booking {
	display: none;
}

.showing-purchase-panel {
	margin-top: 0;
	padding: 1.15rem 1.6rem 1.5rem;
	border-top: 1px solid rgba(31, 26, 23, 0.08);
	background: linear-gradient(180deg, rgba(157, 61, 47, 0.04), rgba(157, 61, 47, 0.015));
	display: grid;
	gap: 1rem;
}

.showing-stack {
	gap: 1.15rem;
}

.showing-stack-heading {
	display: grid;
	gap: 0.35rem;
	padding: 0.2rem 0 0.1rem;
}

.showing-stack-heading h2 {
	margin: 0;
}

.showing-intro-card {
	display: flex;
	align-items: center;
	min-height: 6.4rem;
	padding: 1.1rem 1.5rem;
	border-radius: 24px;
	background: linear-gradient(90deg, rgba(249, 240, 221, 0.88), rgba(251, 248, 241, 0.96));
	border: 1px solid rgba(157, 61, 47, 0.16);
	box-shadow: var(--shadow);
	color: var(--accent-dark);
}

.showing-select-hint {
	margin: 0;
	font-size: clamp(1rem, 1.6vw, 1.15rem);
	font-weight: 700;
}

.showing-header {
	align-items: center;
	min-height: 2.8rem;
}

.showing-header h3 {
	margin: 0;
	font-size: clamp(1.15rem, 2vw, 1.55rem);
	line-height: 1.2;
	font-family: "Times New Roman", Georgia, serif;
}

.showing-card.is-active .showing-header h3 {
	color: var(--accent-dark);
}

.inline-showtime-wrap .available-showing {
	background: linear-gradient(180deg, rgba(157, 61, 47, 0.07), rgba(157, 61, 47, 0.03));
	border-color: rgba(157, 61, 47, 0.2);
}

.inline-showtime-wrap .available-showing.is-active {
	border-color: rgba(157, 61, 47, 0.36);
	box-shadow: 0 20px 44px rgba(88, 33, 25, 0.14);
}

.inline-showtime-wrap .sold-out-showing {
	background: linear-gradient(180deg, #7f2b22, #6a2018);
	border-color: rgba(255, 255, 255, 0.12);
}

.inline-showtime-wrap .sold-out-showing .showing-header h3,
.inline-showtime-wrap .sold-out-showing .seat-pill.sold-out {
	color: #fff9f3;
}

.inline-showtime-wrap .sold-out-showing .showing-select-button {
	cursor: not-allowed;
}

.schedule-item {
	padding: 1rem 1.25rem;
	border-radius: 22px;
	background: rgba(251, 248, 241, 0.88);
	border: 1px solid rgba(31, 26, 23, 0.08);
}

.schedule-title,
.meta-line.strong {
	color: var(--ink);
	font-weight: 600;
}

.schedule-meta {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	color: var(--muted);
}

.detail-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.detail-list dt {
	font-size: 0.85rem;
	color: var(--muted);
}

.detail-list dd {
	margin: 0.2rem 0 0;
	font-weight: 600;
}

.compact {
	gap: 0.75rem;
}

.seat-pill {
	padding: 0.55rem 0.9rem;
	border-radius: 999px;
	background: rgba(214, 165, 82, 0.18);
	color: var(--accent-dark);
	font-weight: 600;
}

.seat-pill.sold-out,
.seat-pill.sales-closed,
.danger-link {
	color: #8a1d13;
}

.seat-pill.sales-closed {
	background: rgba(138, 29, 19, 0.1);
}

.seat-pill.external {
	color: #8a1d13;
	background: rgba(138, 29, 19, 0.1);
}

.external-toggle-line {
	margin-bottom: 0.85rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid var(--border, #e0e0e0);
}

.external-showing .showing-header {
	padding: 0.9rem 1rem;
}

.external-disclaimer {
	padding: 0.85rem 1rem 1rem;
	border-top: 1px solid rgba(138, 29, 19, 0.2);
	background: rgba(138, 29, 19, 0.04);
	border-radius: 0 0 0.5rem 0.5rem;
}

.external-disclaimer p {
	margin: 0 0 0.5rem;
	font-size: 0.9rem;
	font-weight: bold;
	color: #8a1d13;
	line-height: 1.5;
}

.external-disclaimer p:last-child {
	margin-bottom: 0;
}

.ticket-form,
.stacked-form {
	display: grid;
	gap: 1rem;
}

.two-up {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-up {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quantity-input-wrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.45rem;
	align-items: stretch;
}

.quantity-input {
	text-align: center;
}

.quantity-stepper {
	display: grid;
	grid-template-rows: 1fr 1fr;
	border: 1px solid var(--line);
	border-radius: 12px;
	overflow: hidden;
	min-width: 2.25rem;
	background: #fff;
}

.quantity-stepper-button {
	border: 0;
	background: #fff;
	cursor: pointer;
	line-height: 1;
	font-size: 0.75rem;
	padding: 0.2rem;
	color: var(--accent-dark);
}

.quantity-stepper-button + .quantity-stepper-button {
	border-top: 1px solid var(--line);
}

.quantity-stepper-button:hover {
	background: rgba(214, 165, 82, 0.14);
}

.four-up {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.checkbox-line {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.checkbox-line input {
	width: auto;
}

.pricing-mode-row {
	display: grid;
	gap: 0.4rem;
	padding: 0.85rem 1rem;
	border-radius: 16px;
	background: rgba(251, 248, 241, 0.78);
	border: 1px solid rgba(31, 26, 23, 0.1);
}

.pricing-mode-toggle {
	font-weight: 600;
}

.pricing-mode-row input[disabled] {
	opacity: 1;
	accent-color: var(--accent);
}

.pricing-mode-note {
	margin: 0;
	font-size: 0.95rem;
}

.pricing-fields {
	padding-top: 0.35rem;
}

.danger-line {
	color: #8a1d13;
}

.full-width {
	width: 100%;
	text-align: center;
}

.flash-wrap {
	padding-top: 1rem;
}

.flash-message,
.form-errors {
	border-radius: 18px;
	padding: 1rem 1.1rem;
}

.flash-message {
	background: rgba(214, 165, 82, 0.16);
	border: 1px solid rgba(214, 165, 82, 0.28);
}

.flash-message.alert,
.form-errors {
	background: rgba(157, 61, 47, 0.1);
	border: 1px solid rgba(157, 61, 47, 0.24);
}

.auth-shell {
	display: grid;
	place-items: center;
	min-height: 70vh;
}

.auth-card {
	width: min(480px, 100%);
}

.stats-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 2rem 0;
}

.admin-table-wrap {
	overflow-x: auto;
	background: rgba(251, 248, 241, 0.92);
	border-radius: 24px;
	border: 1px solid rgba(31, 26, 23, 0.08);
	box-shadow: var(--shadow);
}

.admin-table-wrap.is-resizing {
	cursor: col-resize;
	user-select: none;
}

/* Column resize handle */
.col-resize-handle {
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	width: 6px;
	cursor: col-resize;
	z-index: 1;
}

.col-resize-handle:hover,
.admin-table-wrap.is-resizing .col-resize-handle {
	background: rgba(255, 255, 255, 0.35);
}

/* Toolbar above table */
.table-resize-toolbar {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 0.5rem;
	padding: 0.6rem 1rem 0.4rem;
	position: relative;
	border-bottom: 1px solid rgba(31, 26, 23, 0.08);
	margin-bottom: 0.5rem;
}

.table-col-toggle-btn {
	font-size: 0.8rem;
}

.table-col-reset-btn {
	font-size: 0.8rem;
	opacity: 0.7;
}

.table-col-reset-btn:hover {
	opacity: 1;
}

/* Column visibility dropdown menu */
.table-col-btn-wrap {
	position: relative;
}

.table-col-menu {
	display: none;
	position: absolute;
	top: calc(100% + 2px);
	right: 0;
	background: var(--surface, #fff);
	border: 1px solid rgba(31, 26, 23, 0.12);
	border-radius: 0.6rem;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
	padding: 0.4rem 0;
	min-width: 200px;
	z-index: 200;
}

.table-col-menu.is-open {
	display: block;
}

.table-col-item {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.3rem 0.85rem;
	cursor: pointer;
	font-size: 0.875rem;
	white-space: nowrap;
}

.table-col-item:hover {
	background: rgba(31, 26, 23, 0.05);
}

.table-col-item input[type="checkbox"] {
	width: 14px;
	height: 14px;
	margin: 0;
	flex-shrink: 0;
	accent-color: #6c2a20;
	cursor: pointer;
}

.admin-table {
	width: 100%;
	border-collapse: collapse;
}

.admin-table th,
.admin-table td {
	padding: 1rem;
	border-bottom: 1px solid rgba(31, 26, 23, 0.08);
	text-align: left;
	vertical-align: middle;
}

.admin-table thead th {
	background: linear-gradient(180deg, #6c2a20, #522018);
	color: #fff9f3;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	border-bottom-color: rgba(31, 26, 23, 0.22);
}

.admin-table tbody td {
	font-size: 0.98rem;
}

.admin-table th.col-checkbox,
.admin-table td.col-checkbox {
	width: 2.5rem;
	padding: 0.6rem 0.5rem;
	text-align: center;
	vertical-align: middle;
}

.admin-table tbody tr.selected td {
	background: rgba(108, 42, 32, 0.07);
}

.admin-form,
.nested-section {
	display: grid;
	gap: 1.4rem;
}

/* Kind radio selector — side-by-side bold options */
.kind-selector-row {
	display: flex;
	gap: 2rem;
	align-items: center;
	flex-wrap: wrap;
	padding: 1rem 0 0.25rem;
}

.kind-radio-option {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	font-size: 1.15rem;
	font-weight: 700;
	cursor: pointer;
}

.kind-radio-option input[type="radio"] {
	width: 1.1rem;
	height: 1.1rem;
	cursor: pointer;
}

/* Event showing card — static options, no dropdown */
.event-options-static {
	margin-top: 0.85rem;
	display: grid;
	gap: 0.85rem;
}

/* Narrow price input for single event ticket price */
.event-price-input {
	max-width: 130px;
}



.tmdb-panel {
	display: grid;
	gap: 0.9rem;
	padding: 1.2rem;
	border-radius: 22px;
	border: 1px solid rgba(31, 26, 23, 0.12);
	background: rgba(251, 248, 241, 0.78);
}

.tmdb-search-wrap {
	display: grid;
	gap: 0.6rem;
}

.tmdb-search-results {
	display: grid;
	gap: 0.5rem;
}

.tmdb-result {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.55rem;
	border-radius: 14px;
	border: 1px solid rgba(31, 26, 23, 0.12);
	background: #fff;
	cursor: pointer;
	text-align: left;
	font: inherit;
}

.tmdb-result:hover {
	background: rgba(214, 165, 82, 0.1);
}

.tmdb-result-poster,
.tmdb-result-placeholder {
	width: 42px;
	height: 62px;
	border-radius: 8px;
	object-fit: cover;
	background: rgba(31, 26, 23, 0.08);
	flex-shrink: 0;
}

.tmdb-result-placeholder {
	display: grid;
	place-items: center;
	font-size: 0.7rem;
	color: var(--muted);
	padding: 0.2rem;
	text-align: center;
}

.scanner-shell {
	display: block;
}

.scanner-panel,
.scanner-history,
.scanner-verify {
	background: rgba(255, 255, 255, 0.65);
	border: 1px solid rgba(31, 26, 23, 0.1);
	border-radius: 20px;
	padding: 1rem;
}

.scanner-panel {
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
}

.scanner-history-section {
	margin-top: 1rem;
}

.scanner-video-wrap {
	margin: 0.3rem auto 0.9rem;
	border-radius: 14px;
	overflow: hidden;
	background: #120f0e;
	aspect-ratio: 4 / 3;
	max-width: 640px;
}

.scanner-video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.scanner-status {
	margin-bottom: 0.8rem;
}

.scanner-manual-entry {
	margin-top: 1rem;
	display: grid;
	gap: 0.55rem;
	text-align: left;
}

.scanner-manual-submit {
	justify-self: start;
}

.scanner-controls {
	margin-bottom: 0.65rem;
	justify-content: center;
	align-items: center;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 0.5rem;
}

.scanner-controls .button-primary,
.scanner-controls .button-secondary {
	flex: 0 1 auto;
	min-width: 132px;
}

.scanner-controls button[disabled] {
	opacity: 0.55;
	cursor: not-allowed;
}

.scanner-input {
	width: 100%;
	padding: 0.7rem 0.85rem;
	border: 1px solid rgba(31, 26, 23, 0.22);
	border-radius: 12px;
	font: inherit;
}

.scanner-table {
	min-width: 980px;
	width: max-content;
}

.scanner-table th,
.scanner-table td {
	white-space: nowrap;
	word-break: normal;
	overflow-wrap: normal;
}

.scanner-history-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.scan-result-card {
	margin-top: 0.95rem;
	border-radius: 12px;
	padding: 0.8rem;
	border: 1px solid rgba(31, 26, 23, 0.16);
	background: rgba(255, 255, 255, 0.82);
	min-height: 54px;
}

.scan-result-card:empty {
	display: none;
}

.scan-result-card p {
	margin: 0.2rem 0;
}

.scan-result-card.is-success,
.scanner-verify.is-valid {
	border-color: rgba(19, 102, 70, 0.55);
	background: rgba(228, 247, 240, 0.78);
}

.scan-result-card.is-warning {
	border-color: rgba(180, 126, 18, 0.6);
	background: rgba(255, 247, 220, 0.86);
}

.scan-result-card.is-error,
.scanner-verify.is-invalid {
	border-color: rgba(163, 56, 44, 0.6);
	background: rgba(255, 238, 234, 0.75);
}

.tmdb-result-title {
	font-weight: 600;
	color: var(--ink);
}

.poster-preview-wrap {
	margin-top: 0.6rem;
}

.poster-preview {
	width: 110px;
	height: 160px;
	border-radius: 12px;
	object-fit: cover;
	border: 1px solid rgba(31, 26, 23, 0.12);
	background: rgba(31, 26, 23, 0.06);
}

.is-hidden {
	display: none;
	border-radius: 12px;
	font: inherit;
	min-width: 0;
}

.admin-showing-card .showing-date-time-row input[type="date"],
.event-date-time-row input[type="date"] {
	width: 11.5rem;
	max-width: 100%;
}

.admin-showing-card .showing-date-time-row input[type="date"],
.admin-showing-card .showing-time-selects select,
.event-date-time-row input[type="date"],
.event-time-selects select {
	height: 3.05rem;
	padding-top: 0.45rem;
	padding-bottom: 0.45rem;
}

.flatpickr-calendar {
	border-radius: 16px;
	border: 1px solid rgba(31, 26, 23, 0.18);
	box-shadow: 0 20px 40px rgba(31, 26, 23, 0.2);
	font-size: 1.05rem;
}

.flatpickr-months .flatpickr-month,
.flatpickr-current-month {
	font-size: 1.02rem;
}

.flatpickr-day {
	border-radius: 10px;
	max-width: 42px;
	height: 38px;
	line-height: 38px;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
	background: var(--accent);
	border-color: var(--accent);
}

.flatpickr-day:hover,
.flatpickr-day:focus {
	background: rgba(157, 61, 47, 0.14);
	border-color: rgba(157, 61, 47, 0.25);
}

.flatpickr-day.today {
	border-color: rgba(157, 61, 47, 0.4);
}

.flatpickr-prev-month,
.flatpickr-next-month {
	color: var(--accent-dark);
}

.admin-showing-card .showing-time-selects,
.event-time-selects {
	grid-template-columns: repeat(3, max-content);
	gap: 0.6rem;
}

.admin-showing-card .showing-time-selects select,
.event-time-selects select {
	width: auto;
	min-width: 5.2rem;
	padding-right: 1.8rem;
}

/* Card payment fields */
.card-fields {
	border: 1px solid rgba(31, 26, 23, 0.15);
	border-radius: 12px;
	padding: 1.25rem;
	margin: 0;
	background: linear-gradient(180deg, rgba(157, 61, 47, 0.04), rgba(157, 61, 47, 0.015));
}

.card-fields input {
	font-family: Arial, Helvetica, sans-serif;
	letter-spacing: 0.02em;
}

.card-fields legend {
	font-weight: 600;
	font-size: 0.875rem;
	padding: 0 0.4rem;
	color: var(--ink);
}

/* Confirmation page */
.confirmation-panel {
	max-width: 560px;
	margin: 2rem auto;
}

.confirmation-header {
	margin-bottom: 1.5rem;
}

.confirmation-code {
	font-size: 1.1rem;
	color: var(--ink);
}

.confirmation-details {
	display: grid;
	gap: 0.75rem;
	margin: 0 0 1.5rem;
}

.confirmation-details > div {
	display: flex;
	justify-content: space-between;
	border-bottom: 1px solid rgba(31, 26, 23, 0.08);
	padding-bottom: 0.5rem;
}

.confirmation-details dt {
	font-weight: 600;
	color: var(--ink-muted, #7a6f69);
	font-size: 0.875rem;
}

.confirmation-details dd {
	margin: 0;
}

.confirmation-note {
	font-size: 0.875rem;
	color: var(--ink-muted, #7a6f69);
	margin-bottom: 1.5rem;
}

.confirmation-actions {
	display: flex;
	gap: 1rem;
}

.showing-notes-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.5rem;
	align-items: center;
}

.showing-remove-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.1rem;
	height: 2.1rem;
	border-radius: 999px;
	border: 1px solid rgba(138, 29, 19, 0.3);
	background: rgba(138, 29, 19, 0.1);
	color: #8a1d13;
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
}

.showing-remove-button:hover {
	background: rgba(138, 29, 19, 0.18);
}

.ticket-total {
	font-size: 1.05rem;
	font-weight: 700;
	margin: 0.6rem 0 0.25rem;
}

.payment-confirmation-modal {
	border: 1px solid rgba(31, 26, 23, 0.12);
	border-radius: 18px;
	padding: 1.25rem;
	width: min(540px, calc(100% - 2rem));
	background: var(--paper);
	box-shadow: var(--shadow);
}

.payment-confirmation-modal::backdrop {
	background: rgba(31, 26, 23, 0.42);
}

.checkout-error-modal {
	max-width: min(640px, calc(100% - 2rem));
	border: 1px solid rgba(157, 61, 47, 0.34);
	border-radius: 18px;
	padding: 1.35rem 1.4rem 1.2rem;
	background: linear-gradient(180deg, rgba(255, 246, 243, 0.98), rgba(251, 237, 231, 0.98));
	box-shadow: 0 26px 58px rgba(46, 31, 20, 0.3);
	color: var(--ink);
}

.checkout-error-overlay {
	position: fixed;
	inset: 0;
	z-index: 1100;
	background: rgba(20, 14, 12, 0.7);
	display: grid;
	place-items: center;
	padding: 1rem;
}

.checkout-error-modal h3 {
	margin: 0 0 0.45rem;
	font-size: clamp(1.3rem, 2.4vw, 1.7rem);
	color: #7a2419;
}

.checkout-error-modal p {
	margin: 0 0 0.65rem;
}

.checkout-error-modal ul {
	margin: 0 0 1rem;
	padding-left: 1.2rem;
	display: grid;
	gap: 0.4rem;
}


.payment-confirmation-list {
	display: grid;
	gap: 0.55rem;
	margin: 1rem 0 1.2rem;
}

.payment-confirmation-list > div {
	display: flex;
	justify-content: space-between;
	gap: 0.75rem;
	padding-bottom: 0.35rem;
	border-bottom: 1px solid rgba(31, 26, 23, 0.08);
}

.payment-confirmation-list dt,
.payment-confirmation-list dd {
	margin: 0;
}

.payment-confirmation-list dd {
	text-align: right;
}

.seat-selection-wrap {
	border: 1px solid rgba(31, 26, 23, 0.12);
	border-radius: 16px;
	padding: 1rem;
	background: rgba(251, 248, 241, 0.78);
}

.admin-seat-map-details {
	border: 1px solid rgba(31, 26, 23, 0.12);
	border-radius: 16px;
	background: rgba(251, 248, 241, 0.78);
}

.admin-showing-card {
	padding: 1.4rem 1.6rem;
}

.showing-card-header {
	display: flex;
	align-items: flex-end;
	gap: 0.75rem;
}

.showing-card-header .showing-date-time-row {
	flex: 1;
}

.showing-options-panel {
	margin-top: 0.85rem;
}

.showing-options-summary {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	padding: 0.28rem 0.65rem;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--accent-dark);
	border: 1px solid rgba(139, 90, 43, 0.3);
	border-radius: 6px;
	background: rgba(139, 90, 43, 0.07);
	cursor: pointer;
	list-style: none;
	user-select: none;
}

.showing-options-summary::-webkit-details-marker {
	display: none;
}

.showing-options-summary:hover {
	background: rgba(139, 90, 43, 0.14);
}

.showing-options-summary::after {
	content: "▶";
	font-size: 0.65em;
	margin-left: 0.2rem;
	transition: transform 0.15s ease;
	display: inline-block;
}

.showing-options-panel[open] > .showing-options-summary::after {
	transform: rotate(90deg);
}

.showing-options-panel > .showing-options-summary {
	margin-bottom: 0.85rem;
}

.options-modified-badge {
	font-size: 0.72rem;
	font-weight: 700;
	color: #c45e0a;
	letter-spacing: 0.04em;
	margin-left: 0.3rem;
}


.free-movie-toggle-line {
	margin-bottom: 0.8rem;
}

.free-movie-quantity-row {
	display: grid;
	gap: 0.5rem;
}

.is-muted {
	opacity: 0.45;
	pointer-events: none;
}

.admin-seat-map-details > summary {
	cursor: pointer;
	padding: 0.85rem 1rem;
	font-weight: 700;
	color: var(--ink);
	list-style: none;
}

.admin-seat-map-details > summary::-webkit-details-marker {
	display: none;
}

.admin-seat-map-details > summary::before {
	content: "+";
	display: inline-block;
	width: 1rem;
	margin-right: 0.4rem;
}

.admin-seat-map-details[open] > summary::before {
	content: "−";
}

.admin-seat-map-details .seat-selection-wrap {
	border: 0;
	border-top: 1px solid rgba(31, 26, 23, 0.12);
	border-radius: 0 0 16px 16px;
	background: transparent;
}

.seat-selection-wrap h4 {
	margin: 0;
	font-size: 1.1rem;
}

.seat-selection-hint {
	margin: 0 0 0.75rem;
	padding: 0.55rem 0.8rem;
	border-radius: 12px;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--accent-dark);
	background: rgba(157, 61, 47, 0.1);
	border: 1px solid rgba(157, 61, 47, 0.22);
}

.form-error-inline {
	margin: 0.5rem 0 0.75rem;
	padding: 0.55rem 0.8rem;
	border-radius: 12px;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--accent-dark);
	background: rgba(157, 61, 47, 0.1);
	border: 1px solid rgba(157, 61, 47, 0.22);
}

/* ── Purchase status colors ───────────────────────────────── */
.purchase-status--paid {
	color: #2a7a3b;
	font-weight: 600;
}
.purchase-status--payment_failed,
.purchase-status--canceled {
	color: #b91c1c;
	font-weight: 700;
}
.purchase-status--refunded {
	color: #6b7280;
	font-weight: 600;
}
.purchase-status--pending_payment {
	color: #b45309;
	font-weight: 600;
}

.screen-label {
	text-align: center;
	font-size: 1rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent-dark);
	margin-bottom: 0.75rem;
	padding: 0.45rem 0.7rem;
	border: 2px solid rgba(97, 33, 23, 0.35);
	border-radius: 999px;
	background: rgba(157, 61, 47, 0.12);
}

.screen-label-rear {
	margin-top: 0.85rem;
	margin-bottom: 0;
}

.seat-map {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr) minmax(0, 0.8fr);
	gap: 0.8rem;
}

.seat-section {
	display: grid;
	gap: 0.25rem;
}

.seat-section-label {
	margin: 0;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-align: center;
}

.seat-row {
	display: grid;
	gap: 0.25rem;
	align-items: center;
}

.seat-row-label {
	font-size: 0.65rem;
	font-weight: 700;
	color: #999;
	text-align: right;
	padding-right: 1px;
}

.seat-section-left .seat-row,
.seat-section-right .seat-row {
	grid-template-columns: 1rem repeat(5, minmax(0, 1fr));
}

.seat-section-center .seat-row {
	grid-template-columns: 1rem repeat(10, minmax(0, 1fr));
}

.seat-button {
	border: 1px solid rgba(31, 26, 23, 0.2);
	border-radius: 7px;
	padding: 0.25rem 0;
	font-size: 0.7rem;
	line-height: 1;
	background: #fff;
	cursor: pointer;
}

.seat-button.selected {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
}

.seat-button.admin-selected {
	background: #2f5f91;
	border-color: #2f5f91;
	color: #fff;
}

.seat-button.unavailable {
	background: rgba(31, 26, 23, 0.16);
	border-color: rgba(31, 26, 23, 0.12);
	color: rgba(31, 26, 23, 0.5);
	cursor: not-allowed;
}

.poster-thumb {
	width: 56px;
	height: 82px;
	border-radius: 8px;
	object-fit: cover;
	border: 1px solid rgba(31, 26, 23, 0.12);
	background: rgba(31, 26, 23, 0.06);
}

.poster-thumb-link {
	display: block;
	line-height: 0;
	border-radius: 8px;
	transition: opacity 0.15s ease, box-shadow 0.15s ease;
}

.poster-thumb-link:hover {
	opacity: 0.82;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.poster-cell {
	width: 68px;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}

.drag-handle-col {
	width: 28px;
	padding-right: 0;
}

.drag-handle {
	display: inline-block;
	cursor: grab;
	color: rgba(31, 26, 23, 0.65);
	font-size: 1.2rem;
	line-height: 1;
	padding: 0 4px;
	user-select: none;
}

.drag-handle:hover {
	color: rgba(31, 26, 23, 0.9);
}

.drag-ghost {
	opacity: 0.45;
	background: rgba(31, 26, 23, 0.06);
}

.sortable-toolbar {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 0.5rem;
}

.sortable-save-btn {
	transition: opacity 0.15s ease;
}

.sortable-save-btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.feature-poster {
	width: 100%;
	aspect-ratio: 2 / 3;
	object-fit: cover;
	border-radius: 16px;
	margin-bottom: 0.9rem;
	border: 1px solid rgba(31, 26, 23, 0.12);
	background: rgba(31, 26, 23, 0.06);
}

.spotlight-band {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.6fr);
	gap: 1.5rem;
	padding: 1.8rem;
}
.nav-button-subtle {
	font-size: 0.9rem;
}

.nav-divider {
  color: var(--line);
  padding: 0 0.25rem;
}

.nav-customer-name {
  font-weight: 600;
}

.nav-text-link {
  font-size: 0.9rem;
  color: var(--accent-dark);
  text-decoration: underline;
}

.signin-prompt {
	font-size: clamp(1rem, 1.5vw, 1.15rem);
  margin-bottom: 0.5rem;
}

.signin-prompt p {
	margin: 0;
	line-height: 1.45;
}

.signin-prompt a {
  font-weight: 600;
  color: var(--accent-dark);
  text-decoration: underline;
}

.auth-footer {
  text-align: center;
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.dashboard-welcome {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin-top: 0.25rem;
  margin-bottom: 1rem;
}

.showtime-note {
  background: rgba(139, 90, 43, 0.08);
  border-left: 3px solid var(--accent);
  color: var(--accent-dark);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.6rem 0.85rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.showtime-note p {
  margin: 0 0 0.35rem;
}

.showtime-note-bullets {
  margin: 0;
  padding-left: 1.2rem;
}

.showtime-note-bullets li {
  margin-bottom: 0.2rem;
}

.showtime-note p + .showtime-note-bullets {
  margin-top: 0.35rem;
}

.showing-options-row {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}

.assigned-seating-toggle {
  padding-top: 1.6rem;
}

.capacity-override-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.capacity-override-wrap label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted, #666);
}

.capacity-override-wrap input {
  width: 9rem;
}

.cutoff-minutes-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cutoff-minutes-wrap label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted, #666);
}

.cutoff-minutes-input-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.cutoff-minutes-input-row input {
  width: 5rem;
}

.input-unit {
  font-size: 0.85rem;
  color: var(--text-muted, #666);
  white-space: nowrap;
}

.auth-oauth-divider {
	position: relative;
	text-align: center;
	margin: 0.9rem 0;
	color: var(--muted);
}

.auth-oauth-divider::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	border-top: 1px solid rgba(31, 26, 23, 0.14);
}

.auth-oauth-divider span {
	position: relative;
	padding: 0 0.5rem;
	background: rgba(251, 248, 241, 0.92);
}

.auth-card a.button-secondary.full-width {
	display: flex;
	justify-content: center;
	align-items: center;
}

.auth-guest-button {
	margin-top: 0.45rem;
}

.auth-signup-callout {
	margin-top: 1.1rem;
	font-size: 1.1rem;
	font-weight: 800;
	color: var(--accent-dark);
}

.auth-signup-callout a {
	font-weight: 900;
	text-decoration-thickness: 2px;
}

.guest-checkout-modal {
	max-width: min(560px, calc(100% - 2rem));
}

.guest-checkout-list {
	margin: 0.8rem 0 1rem;
	padding-left: 1.1rem;
	color: var(--ink);
}

.guest-checkout-list li + li {
	margin-top: 0.45rem;
}

.report-filter-panel {
	margin-bottom: 1.5rem;
}

.report-filter-grid {
	grid-template-columns: repeat(5, minmax(0, 1fr));
	align-items: end;
}

.report-filter-grid label {
	font-size: 0.8rem;
}

.report-filter-grid input,
.report-filter-grid select {
	font-size: 0.875rem;
	padding: 0.45rem 0.65rem;
}

.report-filter-actions {
	display: flex;
	gap: 0.75rem;
	align-items: center;
	justify-content: flex-end;
	margin-top: 1rem;
}

.report-filter-actions .button-primary,
.report-filter-actions .button-secondary {
	display: inline-flex;
	justify-content: center;
	text-align: center;
}

.report-stats-grid {
	margin-top: 0;
	margin-bottom: 1.5rem;
}

.status-pill {
	display: inline-flex;
	align-items: center;
	padding: 0.3rem 0.7rem;
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 600;
	background: rgba(31, 26, 23, 0.08);
	color: var(--ink);
}

.status-succeeded,
.status-paid {
	background: rgba(51, 128, 77, 0.18);
	color: #1d5a2f;
}

.status-requires_action,
.status-pending_payment {
	background: rgba(214, 165, 82, 0.22);
	color: #7f5214;
}

.status-failed,
.status-payment_failed,
.status-canceled {
	background: rgba(157, 61, 47, 0.16);
	color: #8a1d13;
}

.status-refunded {
	background: rgba(77, 96, 136, 0.2);
	color: #2f4a81;
}

.status-free {
	background: rgba(99, 60, 180, 0.15);
	color: #4a1d8a;
}

.status-reservation_cancelled {
	background: rgba(120, 100, 80, 0.15);
	color: #5a4020;
}

.status-reserved {
	background: rgba(30, 100, 180, 0.14);
	color: #1a4f8a;
}

.seats-popover {
	padding: 0.6rem 1rem;
	border-radius: 10px;
	border: 1px solid rgba(31, 26, 23, 0.12);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
	font-size: 0.875rem;
	max-width: 320px;
	line-height: 1.5;
}

.muted {
	color: var(--muted);
}

.site-footer {
	padding: 1.25rem 0 1.75rem;
	border-top: 1px solid rgba(31, 26, 23, 0.08);
}

.footer-grid {
	gap: 0.75rem 2.25rem;
	align-items: start;
}

.site-footer h2 {
	margin: 0.2rem 0 0.55rem;
}

.site-footer .eyebrow {
	margin: 0 0 0.35rem;
}

.site-footer p {
	margin: 0 0 0.5rem;
}

.site-footer p:last-child {
	margin-bottom: 0;
}

@media (max-width: 900px) {
	.hero-panel,
	.film-hero,
	.split-layout,
	.wide-right,
	.prose-grid,
	.footer-grid,
	.spotlight-band,
	.stats-grid,
	.two-up,
	.three-up,
	.four-up {
		grid-template-columns: 1fr;
	}

	.hero-panel {
		padding: 1.35rem 0 1rem;
	}

	.hero-copy {
		padding: 1.6rem 1.2rem;
	}

	.hero-logo {
		margin-bottom: 0.35rem;
	}

	.hero-copy .eyebrow {
		margin-bottom: 0.5rem;
	}

	.hero-actions {
		margin-top: 0.15rem;
		flex-direction: column;
		align-items: stretch;
		gap: 0.8rem;
	}

	.hero-actions .button-primary,
	.hero-actions .button-secondary {
		width: 100%;
		justify-content: center;
	}

	.synopsis-text.is-collapsed {
		display: -webkit-box;
		line-clamp: 4;
		-webkit-line-clamp: 4;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	.film-card-actions {
		grid-template-columns: 1fr 1fr;
	}

	.about-grid {
		grid-template-columns: 1fr;
	}

	.seat-selection-wrap {
		overflow-x: auto;
	}

	.seat-map {
		grid-template-columns: max-content max-content max-content;
		min-width: 680px;
		padding-bottom: 0.4rem;
		width: max-content;
	}

	.screen-label,
	.screen-label-rear {
		width: max(100%, 680px);
	}

	.film-detail-layout {
		grid-template-columns: 1fr;
	}

	.seat-section-center {
		min-width: 320px;
	}

	.seat-section-left,
	.seat-section-right {
		min-width: 150px;
	}

	.schedule-item,
	.showing-header,
	.section-heading,
	.button-row,
	.action-row {
		align-items: flex-start;
		flex-direction: column;
	}

	.nav-row {
		align-items: center;
		flex-direction: row;
		gap: 0.75rem;
		padding: 0.75rem 0;
		flex-wrap: wrap;
		justify-content: center;
	}

	.brand-mark {
		display: inline-block;
		font-size: 1.15rem;
		letter-spacing: 0.05em;
		flex-shrink: 0;
		font-weight: 700;
	}

	.brand-mark-image {
		height: 3.5rem;
	}

	.site-nav {
		display: flex;
		flex-wrap: wrap;
		gap: 0.35rem;
		width: auto;
		flex: 1;
		justify-content: center;
	}

	.site-nav-primary,
	.site-nav-secondary {
		align-items: center;
		flex-wrap: nowrap;
		gap: 0.55rem;
		max-width: 100%;
		overflow-x: auto;
		padding-bottom: 0.1rem;
		white-space: nowrap;
	}

	.site-nav-secondary {
		flex-basis: 100%;
		justify-content: flex-end;
	}

	.film-form-actions {
		align-items: center;
		flex-direction: row;
		flex-wrap: nowrap;
		gap: 0.45rem;
		justify-content: flex-start;
	}

	.film-form-actions .button-primary,
	.film-form-actions .button-secondary {
		padding: 0.52rem 0.82rem;
		font-size: 0.86rem;
		white-space: nowrap;
	}

	.admin-showing-card,
	.tmdb-panel {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.admin-showing-card .showing-date-time-row,
	.event-date-time-row {
		grid-template-columns: 1fr;
		row-gap: 0.9rem;
		column-gap: 0;
	}

	.admin-showing-card .showing-date-time-row input[type="date"],
	.event-date-time-row input[type="date"] {
		width: 100%;
	}

	.admin-showing-card .showing-time-selects,
	.event-time-selects {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		width: 100%;
	}

	.admin-showing-card .showing-time-selects select,
	.event-time-selects select {
		width: 100%;
		min-width: 0;
	}

	.admin-table {
		min-width: 640px;
		width: max-content;
	}

	.admin-table th:last-child,
	.admin-table td:last-child {
		min-width: 150px;
	}

	.admin-table .table-actions {
		flex-wrap: nowrap;
	}

	.site-nav-primary a,
	.site-nav-secondary a,
	.site-nav .nav-button,
	.site-nav .nav-pill,
	.site-nav .nav-pill-outline,
	.site-nav .nav-button-subtle {
		font-size: 1.1rem;
	}

	.site-nav form,
	.site-nav-primary form,
	.site-nav-secondary form {
		display: inline-flex;
		margin: 0;
	}

	.nav-pill,
	.nav-button,
	.nav-pill-outline,
	.nav-button-subtle {
		padding: 0.58rem 0.9rem;
	}

	.report-filter-grid {
		grid-template-columns: 1fr;
	}

	.report-filter-actions {
		justify-content: stretch;
		flex-direction: column;
		align-items: stretch;
	}

	.scanner-shell {
		display: block;
	}

	.scanner-panel {
		padding: 0.85rem;
	}

	.scanner-controls {
		align-items: center;
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: center;
	}

	.button-row.scanner-controls {
		align-items: center;
		flex-direction: row;
		justify-content: center;
	}

	.scanner-controls .button-primary,
	.scanner-controls .button-secondary {
		flex: 0 1 auto;
		min-width: 132px;
	}

	.scanner-history .scanner-table th,
	.scanner-history .scanner-table td {
		padding: 0.65rem 0.7rem;
		font-size: 0.86rem;
	}

	.scanner-history-wrap {
		overflow-x: auto;
	}

	.scanner-controls .button-primary,
	.scanner-controls .button-secondary {
		flex: 0 1 auto;
		min-width: 132px;
	}
}

/* ── Purchase Modal Overlay ───────────────────────────────── */
.purchase-modal-overlay {
	display: none;
	position: fixed;
	inset: 0;
	width: 100vw;
	height: 100vh;
	z-index: 1000;
	background: rgba(0, 0, 0, 0.5);
	align-items: center;
	justify-content: center;
}
.purchase-modal-overlay.is-open {
	display: flex;
}

/* ── Modal ─────────────────────────────────────────────────── */
dialog.modal-overlay {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	border: none;
	padding: 0;
	background: rgba(0, 0, 0, 0.55);
	z-index: 1000;
}

dialog.modal-overlay[open] {
	display: flex;
	align-items: center;
	justify-content: center;
}

dialog.modal-overlay::backdrop {
	display: none;
}

.modal-box {
	background: var(--surface, #fff);
	border-radius: 0.75rem;
	padding: 2rem;
	max-width: 480px;
	width: 90%;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.modal-box h2 {
	margin-top: 0;
	font-size: 1.2rem;
}

.modal-box ul {
	margin: 0.5rem 0 1rem;
	padding-left: 1.25rem;
}

.delete-choice-options {
	margin-bottom: 1rem;
}

.delete-choice-option {
	display: block;
	cursor: pointer;
	margin-bottom: 0.5rem;
	line-height: 1.5;
}

.delete-choice-option input[type="radio"] {
	margin-right: 0.4rem;
	vertical-align: middle;
}

.wide-card > .button-secondary,
.wide-card > .button-primary {
	display: block;
	width: fit-content;
	margin: 0 auto;
}

.button-danger {
	background: #c0392b;
	color: #fff;
	border: none;
	border-radius: 2rem;
	padding: 0.6rem 1.4rem;
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
}

.button-danger:hover {
	background: #a93226;
}
