/*
 * Your account (/account/, includes/portal.php): the sign-in panel, the signed-in line and the
 * ticket lists. Builds on the member card's .cs-account styles and the theme's .cs-form and
 * .cs-form-panel. Mobile first, no motion.
 */

.cs-portal .cs-portal__signin {
	max-width: 32rem;
}

.cs-portal .cs-portal__lead {
	margin: 0 0 1.25rem;
	font-size: 1.0625rem;
	line-height: 1.5;
}

.cs-portal .cs-portal__said {
	margin: 1rem 0 1.25rem;
	line-height: 1.5;
}

.cs-portal .cs-portal__said:empty {
	display: none;
}

.cs-portal .cs-portal__said.is-error {
	/* The theme's error colour for forms: #b3261e on light surfaces, #ff8a80 on dark ones (forms.css). */
	color: var(--csf-error, #b3261e);
}

.cs-portal .cs-portal__code {
	padding-top: 1.25rem;
	border-top: 1px solid var(--cs-line, rgba(127, 127, 127, 0.35));
}

.cs-portal .cs-portal__code input {
	max-width: 12rem;
	letter-spacing: 0.15em;
}

.cs-portal .cs-portal__who {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem 0.75rem;
	margin: 0;
	font-size: 0.9375rem;
	overflow-wrap: anywhere;
}

.cs-portal .cs-portal__signout {
	min-height: 2.75rem;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	text-decoration: underline;
	text-underline-offset: 0.2em;
	cursor: pointer;
}

.cs-portal .cs-portal__list {
	display: grid;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cs-portal .cs-portal__item {
	padding: 1rem 1.25rem;
	border: 1px solid var(--cs-line, rgba(127, 127, 127, 0.35));
	border-radius: var(--cs-radius, 3px);
}

.cs-portal .cs-portal__item p {
	margin: 0 0 0.25rem;
}

.cs-portal .cs-portal__item p:last-child {
	margin-bottom: 0;
}

.cs-portal .cs-portal__film {
	font-weight: 700;
	font-size: 1.0625rem;
}

.cs-portal .cs-portal__meta {
	color: var(--cs-soft, inherit);
	font-size: 0.9375rem;
}

.cs-portal .cs-portal__go {
	margin-top: 0.75rem !important;
}

.cs-portal .cs-portal__more {
	margin: 1rem 0 0;
}

.cs-portal .cs-portal__contact {
	font-size: 0.9375rem;
	overflow-wrap: anywhere;
}

/* The signed-in page's parts (2026-11-12): sign out at the end, points, offers, details, the card for the counter. */

.cs-portal .cs-portal__out {
	margin: 2rem 0 0;
}

.cs-portal .cs-portal__out .cs-portal__signout {
	min-height: 2.75rem;
	padding: 0.5rem 1.25rem;
	border: 1px solid currentColor;
	text-decoration: none;
}

.cs-portal .cs-points__balance {
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
	margin: 0 0 0.5rem;
}

.cs-portal .cs-points__big {
	font-size: clamp(2.5rem, 12vw, 3.5rem);
	font-weight: 700;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.cs-portal .cs-points__unit {
	font-size: 1.125rem;
}

.cs-portal .cs-points__worth {
	margin: 0 0 0.5rem;
	font-size: 1.0625rem;
	font-weight: 700;
}

.cs-portal .cs-points__note {
	margin: 0 0 0.5rem;
	color: var(--cs-soft, inherit);
	font-size: 0.9375rem;
}

.cs-portal .cs-points__history {
	width: 100%;
	margin: 1rem 0 0;
	border-collapse: collapse;
	font-size: 0.9375rem;
}

.cs-portal .cs-points__history caption {
	padding: 0 0 0.5rem;
	text-align: left;
	font-weight: 700;
}

.cs-portal .cs-points__history th,
.cs-portal .cs-points__history td {
	padding: 0.5rem 0.375rem;
	border-bottom: 1px solid var(--cs-line, rgba(127, 127, 127, 0.35));
	text-align: left;
	vertical-align: top;
}

.cs-portal .cs-points__history th:first-child,
.cs-portal .cs-points__history td:first-child {
	padding-left: 0;
	white-space: nowrap;
}

.cs-portal .cs-points__history .num {
	text-align: right;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.cs-portal .cs-portal__seen {
	margin: 0 0 1rem;
	font-size: 1.0625rem;
}

.cs-portal .cs-portal__offer {
	padding: 1rem 1.25rem;
	border: 1px solid var(--wp--preset--color--gold, #d8a83e);
	border-radius: var(--cs-radius, 3px);
}

.cs-portal .cs-portal__offer p {
	margin: 0 0 0.25rem;
}

.cs-portal .cs-portal__offer-code {
	font-size: 1.125rem;
	letter-spacing: 0.1em;
}

/* The card for the counter: big, plain, black on white so a scanner and a person read it at arm's length. */
.cs-portal .cs-portal__counter {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.5rem;
	margin: 1.5rem 0 0;
	padding: 1.25rem;
	border-radius: var(--cs-radius, 3px);
	background: #fff;
	color: #0d0d0d;
}

.cs-portal .cs-portal__counter p {
	margin: 0 0 0.25rem;
}

.cs-portal .cs-portal__counter-text {
	flex: 1 1 12rem;
}

.cs-portal .cs-portal__counter-title {
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.cs-portal .cs-portal__counter-name {
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.2;
}

.cs-portal .cs-portal__counter-level {
	font-size: 1.25rem;
}

.cs-portal .cs-portal__counter-code strong,
.cs-portal .cs-portal__code-small strong {
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.08em;
	white-space: nowrap;
}

.cs-portal .cs-portal__counter-note {
	font-size: 0.9375rem;
}

.cs-portal .cs-portal__counter-qr {
	flex: 0 0 auto;
	margin: 0 auto;
}

.cs-portal .cs-portal__counter-qr svg {
	display: block;
	width: min(14rem, 70vw);
	height: auto;
}

.cs-portal .cs-portal__details {
	max-width: 32rem;
}

.cs-portal .cs-portal__zip {
	max-width: 10rem;
}

.cs-portal .cs-portal__code-small {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 1.5rem 0 0;
}

.cs-portal .cs-portal__code-qr svg {
	display: block;
	width: 6.5rem;
	height: auto;
	border-radius: 2px;
}

.cs-portal .cs-portal__check {
	margin: 0.5rem 0 1.25rem;
}

.cs-portal .cs-portal__check .cs-check {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	font-size: 1rem;
	line-height: 1.4;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
}

.cs-portal .cs-portal__check input[type="checkbox"] {
	flex: 0 0 auto;
	width: 1.375rem;
	height: 1.375rem;
	margin: 0;
}

.cs-portal .cs-portal__counter {
	border: 2px solid #0d0d0d;
}
