/*
 * 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.
 *


 */

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

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

* {
	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);
}

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

p {
	color: var(--muted);
	line-height: 1.7;
}

h1,
h2,
h3 {
	margin-top: 0;
	line-height: 1.1;
	font-weight: 600;
}

label {
	display: block;
	margin-bottom: 0.45rem;
	font-size: 0.95rem;
	font-weight: 600;
}

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;
}

.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;
}

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

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

.brand-mark {
	font-size: 1.35rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.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;
}

.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;
}

.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);
}

.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;
}

.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);
}

.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;
}

.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));
}

.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(255, 251, 244, 0.98), rgba(251, 248, 241, 0.94));
	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);
	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(228, 244, 231, 0.95), rgba(216, 238, 220, 0.9));
	border-color: rgba(53, 120, 70, 0.24);
}

.inline-showtime-wrap .available-showing.is-active {
	border-color: rgba(53, 120, 70, 0.46);
	box-shadow: 0 20px 44px rgba(41, 98, 57, 0.2);
}

.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,
.danger-link {
	color: #8a1d13;
}

.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 {
	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: top;
}

.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-form,
.nested-section {
	display: grid;
	gap: 1.4rem;
}

.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;
}

.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;
}

.admin-showing-card {
	box-shadow: none;
	padding: 1.1rem 1.25rem 1.2rem;
	overflow: visible;
}

.admin-showing-card .form-grid {
	gap: 1rem;
}

.admin-showing-card .showing-date-time-row,
.event-date-time-row {
	grid-template-columns: max-content max-content;
	align-items: start;
	justify-content: flex-start;
	column-gap: 1.25rem;
}

.admin-showing-card .showing-date-time-row > div,
.event-date-time-row > div {
	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;
}

.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);
}

.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);
}

.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-seat-map-details > summary {
	cursor: pointer;
	padding: 0.85rem 1rem;
	font-weight: 700;
	color: var(--accent-dark);
	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);
}

.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;
}

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

.seat-section-center .seat-row {
	grid-template-columns: 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);
}

.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;
}

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

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

.report-filter-actions {
	display: flex;
	gap: 0.75rem;
	align-items: 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;
}

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

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

@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;
	}

	.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;
	}

	.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 {
		font-size: 0.95rem;
	}

	.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 {
		flex-direction: column;
		align-items: stretch;
	}
}
