/* Toftalegan – tilmelding */

.toftalegan {
	/* Litir og stødd sum á tabor.fo (Blocksy-temað). Fylgir temanum, um tað verður broytt. */
	--tl-accent: var(--theme-palette-color-1, #ac1d37);
	--tl-accent-dark: var(--theme-palette-color-2, #870d21);
	--tl-heading: #460412;
	--tl-text: #000000;
	--tl-muted: #5a4a4d;
	--tl-border: #e1d9da;
	--tl-bg: var(--theme-palette-color-8, #ffffff);
	--tl-soft: var(--theme-palette-color-7, #f6f4f4);
	--tl-error: #be0d0d;
	--tl-radius: 20px;            /* kort, sum myndirnar á síðuni */
	--tl-field-radius: var(--theme-form-field-border-radius, 0px);
	--tl-btn-radius: var(--theme-button-border-radius, 0px);
	--tl-font: var(--theme-font-family, "Archivo", sans-serif);
	--tl-heading-font: "Archivo Narrow", "Archivo", sans-serif;

	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 2.5rem;
	align-items: start;
	color: var(--tl-text);
	font-family: var(--tl-font);
	font-size: 16px;
	line-height: 1.65;
	margin: 2rem 0;
}

.toftalegan h2,
.toftalegan h3,
.toftalegan h4 {
	font-family: var(--tl-heading-font);
	font-weight: 700;
	color: var(--tl-heading);
	line-height: 1.3;
}
.tl-info h2 { font-size: 2rem; }
.tl-info h3 { font-size: 1.5rem; margin: 1.5rem 0 .4rem; }
.tl-info a { color: var(--tl-accent); }
.tl-info a:hover { color: var(--tl-accent-dark); }

.toftalegan [hidden] { display: none !important; }

@media (max-width: 820px) {
	.toftalegan { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
}

/* Vinstra kolonna */
.tl-info > :first-child { margin-top: 0; }
.tl-info img { max-width: 100%; height: auto; border-radius: var(--tl-radius); }

/* Høgra kolonna */
.tl-form-wrap {
	background: var(--tl-bg);
	border: 1px solid var(--tl-border);
	border-radius: var(--tl-radius);
	padding: 1.75rem;
	box-shadow: 0 4px 24px rgba(70, 4, 18, .06);
}
@media (min-width: 821px) {
	.tl-form-wrap { position: sticky; top: 2rem; }
}
.toftalegan .tl-form-title { margin: 0 0 1rem; font-size: 1.9rem; }

/* Fanabløð */
.tl-tabs {
	display: flex;
	gap: .25rem;
	border-bottom: 2px solid var(--tl-border);
	margin-bottom: 1.25rem;
}
.toftalegan .tl-tab {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	background: none;
	border: 0;
	border-bottom: 3px solid transparent;
	margin-bottom: -2px;
	padding: .7rem .5rem;
	font-family: var(--tl-heading-font);
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--tl-muted);
	cursor: pointer;
	border-radius: 0;
}
.toftalegan .tl-tab:hover { color: var(--tl-text); background: none; }
.toftalegan .tl-tab.is-active { color: var(--tl-accent); border-bottom-color: var(--tl-accent); }
.tl-tab-no {
	display: inline-grid;
	place-items: center;
	width: 1.6rem;
	height: 1.6rem;
	border-radius: 50%;
	background: var(--tl-soft);
	font-size: .85rem;
}
.toftalegan .tl-tab.is-active .tl-tab-no { background: var(--tl-accent); color: #fff; }

.tl-hint { margin: 0 0 1rem; color: var(--tl-muted); }

/* Felt */
.tl-field { display: block; margin-bottom: 1rem; }
.tl-label { display: block; font-weight: 600; margin-bottom: .3rem; font-size: .95rem; }
.tl-req { color: var(--tl-error); }

.toftalegan input[type="text"],
.toftalegan input[type="email"],
.toftalegan input[type="tel"],
.toftalegan input[type="number"],
.toftalegan select,
.toftalegan textarea {
	width: 100%;
	box-sizing: border-box;
	padding: .6rem .75rem;
	border: 1px solid var(--tl-border);
	border-radius: var(--tl-field-radius);
	font: inherit;
	background: #fff;
	color: var(--tl-text);
}
.toftalegan input:focus,
.toftalegan select:focus,
.toftalegan textarea:focus {
	outline: none;
	border-color: var(--tl-accent);
	box-shadow: 0 0 0 3px rgba(172, 29, 55, .15);
}
.toftalegan .tl-invalid { border-color: var(--tl-error) !important; }

/* Persónar */
.tl-person {
	display: grid;
	/* Navn ovast, aldur og kyn undir (kolonnan á síðuni er smøl). */
	grid-template-columns: 1.8rem 5rem minmax(0, 1fr) 2rem;
	grid-template-areas: "no name name remove" ". age gender gender";
	gap: .6rem;
	align-items: end;
	padding: .75rem 0;
	border-bottom: 1px dashed var(--tl-border);
}
.tl-person .tl-field { margin: 0; }
.tl-person-no {
	display: grid;
	place-items: center;
	width: 1.8rem;
	height: 1.8rem;
	margin-bottom: .35rem;
	border-radius: 50%;
	background: var(--tl-soft);
	font-weight: 700;
	font-size: .85rem;
}
.toftalegan .tl-remove {
	width: 2rem;
	height: 2.4rem;
	border: 0;
	background: none;
	color: var(--tl-muted);
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	padding: 0;
}
.toftalegan .tl-remove:hover { color: var(--tl-error); background: none; }

.tl-person .tl-person-no { grid-area: no; }
.tl-person .tl-field-name { grid-area: name; }
.tl-person .tl-field-age { grid-area: age; }
.tl-person .tl-field-gender { grid-area: gender; }
.tl-person .tl-remove { grid-area: remove; }

/* Samtykki */
.tl-consents { margin: 0 0 1rem; }
.tl-check { display: grid; grid-template-columns: auto 1fr; gap: .6rem; align-items: start; margin-bottom: .6rem; font-size: .9rem; line-height: 1.5; cursor: pointer; }
.tl-check input { width: 1.1rem; height: 1.1rem; margin: .15rem 0 0; accent-color: var(--tl-accent); }
.tl-check a { color: var(--tl-accent); }
.tl-check input.tl-invalid { outline: 2px solid var(--tl-error); outline-offset: 1px; }
.tl-ticket { font-size: .9rem; }
.tl-ticket a { color: var(--tl-accent); }

.toftalegan .tl-add {
	margin-top: .75rem;
	background: none;
	border: 1px dashed var(--tl-accent);
	color: var(--tl-accent);
	border-radius: var(--tl-btn-radius);
	padding: .55rem 1rem;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
	width: 100%;
}
.toftalegan .tl-add:hover { background: var(--tl-soft); color: var(--tl-accent-dark); }

/* Gisting */
.tl-group { border: 0; padding: 0; margin: 0 0 1rem; min-width: 0; }
.tl-option {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: .25rem .75rem;
	padding: .85rem 1rem;
	margin-bottom: .5rem;
	border: 1px solid var(--tl-border);
	border-radius: var(--tl-field-radius);
	cursor: pointer;
	transition: border-color .15s, background .15s;
}
.tl-option:hover { border-color: var(--tl-accent); }
.tl-option:has(input:checked) { border-color: var(--tl-accent); background: var(--tl-soft); }
.tl-option input { width: 1.15rem; height: 1.15rem; margin: 0; accent-color: var(--tl-accent); }
.tl-option-name { font-weight: 600; }
.tl-counter { font-size: .9rem; color: var(--tl-muted); white-space: nowrap; }
.tl-count {
	display: inline-block;
	min-width: 2.2rem;
	padding: .1rem .5rem;
	border-radius: 999px;
	background: var(--tl-accent);
	color: #fff;
	text-align: center;
	font-size: 1rem;
}
.tl-note { grid-column: 2 / -1; font-size: .85rem; color: var(--tl-error); }

.tl-option.is-full,
.tl-option.is-disabled { cursor: not-allowed; opacity: .65; }
.tl-option.is-full:hover,
.tl-option.is-disabled:hover { border-color: var(--tl-border); }
.tl-full { font-weight: 700; color: var(--tl-error); }

/* Honeypot */
.tl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Knøttar */
.tl-actions { display: flex; justify-content: space-between; gap: .75rem; margin-top: 1.25rem; }
.toftalegan .tl-actions .tl-next { margin-left: auto; }
.toftalegan .tl-btn {
	background: var(--tl-accent);
	color: #fff;
	border: 0;
	border-radius: var(--tl-btn-radius);
	padding: .8rem 1.6rem;
	font: inherit;
	font-size: var(--theme-button-font-size, 15px);
	font-weight: 600;
	transition: background .15s;
	cursor: pointer;
}
.toftalegan .tl-btn:hover { background: var(--tl-accent-dark); color: #fff; }
.toftalegan .tl-btn:disabled { opacity: .6; cursor: wait; }
.toftalegan .tl-btn-secondary { background: var(--tl-soft); color: var(--tl-text); }
.toftalegan .tl-btn-secondary:hover { background: var(--tl-border); color: var(--tl-text); }

/* Boð */
.tl-message {
	margin-top: 1rem;
	padding: .75rem 1rem;
	border-radius: var(--tl-field-radius);
	background: #fbeaec;
	color: var(--tl-error);
	font-weight: 600;
}
.tl-success {
	padding: 1.25rem;
	border-radius: var(--tl-field-radius);
	background: var(--tl-soft);
	border-left: 4px solid var(--tl-accent);
}
.tl-success p { margin: 0 0 .4rem; }
.tl-success p:last-child { margin: 0; }

/* Samanroknari */
.tl-price {
	margin: 1.25rem 0 0;
	padding: 1rem 1.25rem;
	background: var(--tl-soft);
	border-left: 4px solid var(--tl-accent);
	border-radius: var(--tl-field-radius);
}
.toftalegan .tl-price-title { margin: 0 0 .5rem; font-size: 1.3rem; }
.tl-price-empty { margin: 0; color: var(--tl-muted); }
.tl-price-table { width: 100%; border-collapse: collapse; margin: 0; font-size: .95rem; }
.tl-price-table td { padding: .35rem 0; border: 0; border-bottom: 1px solid var(--tl-border); vertical-align: top; background: none; }
.tl-price-table .tl-amt { text-align: right; white-space: nowrap; padding-left: 1rem; }
.tl-price-unit { display: block; font-size: .85rem; color: var(--tl-muted); }
.tl-price-sub td { color: var(--tl-muted); }
.tl-price-total td {
	border-bottom: 0;
	padding-top: .6rem;
	font-family: var(--tl-heading-font);
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--tl-heading);
}
.tl-price-note { margin: .5rem 0 0; font-size: .9rem; color: var(--tl-accent); font-weight: 600; }

/* Ordranummar og gjald */
.tl-success .tl-order { margin-top: .9rem; font-size: 1.05rem; }
.tl-order-no { color: var(--tl-accent); letter-spacing: .03em; }
.tl-success .tl-payment-title { margin-top: .9rem; }

/* Opin / stongd */
.tl-closed {
	padding: 1.25rem;
	background: var(--tl-soft);
	border-left: 4px solid var(--tl-accent);
	border-radius: var(--tl-field-radius);
	font-weight: 600;
}
.tl-closed p { margin: 0; }
.tl-deadline {
	margin: -.25rem 0 1rem;
	font-weight: 600;
	color: var(--tl-accent);
}

/* Bíðilisti */
.toftalegan.is-waitlist .tl-only-normal,
.toftalegan:not(.is-waitlist) .tl-only-waitlist { display: none !important; }

.tl-waitlist-badge {
	display: inline-block;
	padding: .3rem .8rem;
	background: var(--tl-heading);
	color: #fff;
	font-family: var(--tl-heading-font);
	font-weight: 700;
	font-size: .95rem;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.tl-waitlist-banner {
	margin: 0 0 1.25rem;
	padding: 1rem 1.25rem;
	background: repeating-linear-gradient(-45deg, #fbf3e3, #fbf3e3 12px, #f8ecd3 12px, #f8ecd3 24px);
	border: 2px solid var(--tl-heading);
	border-radius: var(--tl-field-radius);
}
.tl-waitlist-banner p { margin: .6rem 0 0; font-weight: 600; color: var(--tl-heading); }
.toftalegan.is-waitlist .tl-form-wrap { border: 2px solid var(--tl-heading); }
.toftalegan.is-waitlist .tl-btn.tl-submit { background: var(--tl-heading); }
.toftalegan.is-waitlist .tl-btn.tl-submit:hover { background: #2c020b; }
.tl-success-waitlist { border-left-color: var(--tl-heading); }

/* Prenta tilmeldingarseðil (A4) */
.tl-print-actions { margin-top: 1rem !important; }
.tl-print { display: none; }

@media print {
	@page { size: A4; margin: 15mm; }

	body.tl-printing { background: #fff !important; margin: 0 !important; padding: 0 !important; }
	body.tl-printing > *:not(.tl-print) { display: none !important; }
	body.tl-printing .tl-print { display: block !important; }

	.tl-print {
		font-family: "Archivo", Arial, sans-serif;
		font-size: 11pt;
		line-height: 1.45;
		color: #000;
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}
	.tl-print h1 {
		margin: 0;
		font-family: "Archivo Narrow", "Archivo", Arial, sans-serif;
		font-size: 20pt;
		color: #460412;
	}
	.tl-print h2 {
		margin: 7mm 0 2mm;
		font-family: "Archivo Narrow", "Archivo", Arial, sans-serif;
		font-size: 13pt;
		color: #460412;
		border-bottom: 1.5pt solid #ac1d37;
		padding-bottom: 1mm;
	}
	.tlp-head { display: flex; align-items: center; gap: 6mm; padding-bottom: 4mm; border-bottom: 3pt solid #ac1d37; }
	.tlp-logo { max-height: 18mm; max-width: 45mm; }
	.tlp-site { font-size: 10pt; color: #555; }

	.tlp-waitlist {
		margin-top: 5mm;
		padding: 3mm 4mm;
		background: #460412;
		color: #fff;
		font-weight: 700;
		letter-spacing: .08em;
		text-align: center;
	}
	.tlp-order {
		display: flex;
		align-items: baseline;
		gap: 4mm;
		margin-top: 5mm;
		padding: 4mm 5mm;
		border: 1.5pt solid #ac1d37;
		background: #f6f4f4;
	}
	.tlp-order strong { font-size: 22pt; color: #ac1d37; letter-spacing: .04em; }
	.tlp-date { margin-left: auto; font-size: 10pt; color: #555; }

	.tl-print table { width: 100%; border-collapse: collapse; margin: 0; }
	.tl-print th, .tl-print td { padding: 1.6mm 2mm; text-align: left; vertical-align: top; border-bottom: .5pt solid #ccc; }
	.tlp-kv { margin-top: 2mm !important; }
	.tlp-kv th { width: 38mm; color: #555; font-weight: 600; }
	.tlp-qr { display: flex; align-items: center; gap: 6mm; margin-top: 6mm; padding: 3mm 4mm; border: 1pt dashed #888; break-inside: avoid; }
	.tlp-qr svg { width: 32mm; height: 32mm; flex: none; }
	.tlp-list thead th { background: #f6f4f4; font-weight: 700; border-bottom: 1pt solid #999; }
	.tlp-list td:first-child { width: auto; }
	.tlp-amt { text-align: right !important; white-space: nowrap; }
	.tlp-total td { font-weight: 700; font-size: 12pt; border-bottom: 0; border-top: 1.5pt solid #000; }
	.tlp-pay { margin-top: 6mm; padding: 4mm 5mm; border-left: 3pt solid #ac1d37; background: #f6f4f4; }
	.tl-print tr, .tlp-pay, .tlp-order { break-inside: avoid; }
}


/* -------------------------------------------------------------------------
 * Konsertbílegging
 * ---------------------------------------------------------------------- */
.toftalegan.tlk { display: block; }
.tlk .tlk-title { margin: 0; font-size: 2rem; }
.tlk-meta { margin: .2rem 0 1rem; color: var(--tl-muted); font-weight: 600; }
.tlk-info { margin-bottom: 1.25rem; }
.tlk-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2rem; align-items: start; }
@media (max-width: 900px) { .tlk-grid { grid-template-columns: minmax(0, 1fr); } }

.tlk-controls { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end; justify-content: space-between; margin-bottom: 1rem; }
.tlk-counters { display: flex; gap: 1.5rem; }
.tlk-stepper { display: flex; align-items: center; gap: .6rem; }
.toftalegan .tlk-stepper button {
	width: 36px; height: 36px; padding: 0; font-size: 1.2rem; line-height: 1;
	border: 1px solid var(--tl-border); background: #fff; color: var(--tl-text);
	border-radius: var(--tl-btn-radius); cursor: pointer;
}
.toftalegan .tlk-stepper button:hover { border-color: var(--tl-accent); color: var(--tl-accent); background: #fff; }
.tlk-n { min-width: 1.2rem; text-align: center; font-size: 1.1rem; }

.tlk-legend { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin: .5rem 0 .75rem; font-size: .9rem; color: var(--tl-muted); }
.tlk-legend span { display: inline-flex; align-items: center; gap: .4rem; }
.tlk-legend .tlk-seat { width: 16px; height: 14px; cursor: default; }

.tlk-mapwrap { overflow-x: auto; padding-bottom: .5rem; -webkit-overflow-scrolling: touch; }
.tlk-map { --seat: 22px; display: grid; grid-template-columns: 20px repeat(var(--cols, 21), var(--seat)); gap: 3px; width: max-content; margin: 0 auto; }
@media (max-width: 600px) { .tlk-map { --seat: 18px; gap: 2px; } }
.tlk-row { font-size: .75rem; font-weight: 700; color: var(--tl-muted); display: flex; align-items: center; justify-content: center; }
.toftalegan .tlk-seat {
	width: var(--seat, 22px); height: calc(var(--seat, 22px) - 2px); padding: 0; margin: 0;
	border: 1px solid #c9c0c1; border-radius: 5px 5px 3px 3px; background: #fff; cursor: pointer;
	display: inline-block; transition: transform .1s;
}
.toftalegan .tlk-seat:hover:not(:disabled) { border-color: var(--tl-accent); transform: scale(1.12); background: #fff; }
.toftalegan .tlk-seat.is-mine { background: var(--tl-accent); border-color: var(--tl-accent-dark); }
.toftalegan .tlk-seat.is-mine:hover { background: var(--tl-accent-dark); }
.toftalegan .tlk-seat.is-sold { background: #b9aeb0; border-color: #a0959a; cursor: not-allowed; }
.toftalegan .tlk-seat.is-held { background: #f2c46d; border-color: #c99a3a; cursor: not-allowed; }
.toftalegan .tlk-seat.is-blocked { background: #5d5355; border-color: #463d3f; cursor: not-allowed; }
.tlk-stage {
	margin: .6rem auto 0; max-width: 520px; padding: .6rem; text-align: center;
	background: var(--tl-heading); color: #fff; font-family: var(--tl-heading-font);
	font-weight: 700; letter-spacing: .15em; text-transform: uppercase; font-size: .85rem;
}

.tlk-side {
	background: var(--tl-bg); border: 1px solid var(--tl-border); border-radius: var(--tl-radius);
	padding: 1.25rem; position: sticky; top: 2rem;
}
.toftalegan .tlk-side h3 { margin: 0 0 .75rem; font-size: 1.4rem; }
.tlk-summary { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; font-size: .95rem; }
.tlk-summary dt { color: var(--tl-muted); font-weight: 600; }
.tlk-summary dd { margin: 0; text-align: right; }
.tlk-total {
	display: flex; justify-content: space-between; align-items: baseline;
	margin: 1rem 0; padding: .75rem 1rem; background: var(--tl-soft); border-left: 4px solid var(--tl-accent);
}
.tlk-total strong { font-family: var(--tl-heading-font); font-size: 1.4rem; color: var(--tl-heading); }
.toftalegan .tlk-side .tlk-next { width: 100%; }
.tlk-hint { margin: .6rem 0 0; font-size: .85rem; color: var(--tl-muted); }

.tlk-timer {
	margin-bottom: 1.25rem; padding: .75rem 1rem; background: #fbf3e3;
	border-left: 4px solid #c99a3a; font-weight: 600; color: var(--tl-heading);
}
.tlk-countdown { font-variant-numeric: tabular-nums; font-size: 1.1rem; }
.tlk-step-3 { max-width: 640px; }
.tl-print .tlp-seats { font-size: 13pt; font-weight: 700; }
.tl-print .tlp-note { margin-top: 6mm; font-size: 10pt; color: #555; }

/* Konsert: fartelefon og zoom */
.tlk-zoom { display: flex; align-items: center; justify-content: flex-end; gap: .4rem; margin-bottom: .4rem; }
.tlk-zoom-label { font-size: .85rem; color: var(--tl-muted); margin-right: .2rem; }
.toftalegan .tlk-zoom button {
	width: 34px; height: 34px; padding: 0; font-size: 1.2rem; line-height: 1;
	border: 1px solid var(--tl-border); background: #fff; color: var(--tl-text);
	border-radius: var(--tl-btn-radius); cursor: pointer;
}
.toftalegan .tlk-zoom button:disabled { opacity: .35; cursor: default; }
.tlk-map { gap: var(--gap, 3px); grid-template-columns: 24px repeat(var(--cols, 21), var(--seat)); }
.toftalegan .tlk-seat { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.tlk-row { position: sticky; left: 0; z-index: 2; background: var(--tl-bg); }
.tlk-mapwrap { border: 1px solid var(--tl-border); background: var(--tl-bg); padding: .5rem .5rem .75rem 0; }
.tlk-mobile-hint { display: none; }

@media (max-width: 640px) {
	.tlk-map { --seat: 34px; }
	.tlk-mapwrap { max-height: 62vh; overflow: auto; overscroll-behavior: contain; }
	.tlk-stage { position: sticky; left: 0; }
	.tlk-mobile-hint { display: block; margin: .4rem 0 0; font-size: .85rem; color: var(--tl-muted); }
	.tlk-controls { flex-direction: column; align-items: stretch; }
	.toftalegan .tlk-controls .tlk-best { width: 100%; }
	.tlk-counters { justify-content: space-between; }
	.tlk-legend { font-size: .8rem; gap: .3rem .8rem; }
	.tlk .tlk-title { font-size: 1.6rem; }

	/* Samandrátturin fylgir niðast á skerminum, meðan tú velur setur */
	.tlk-step-1 .tlk-side {
		position: sticky; bottom: 0; z-index: 10; top: auto;
		margin: 0; padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom));
		border-radius: 0; border-width: 1px 0 0; box-shadow: 0 -6px 18px rgba(70, 4, 18, .12);
		display: grid; grid-template-columns: 1fr auto; gap: .35rem .75rem; align-items: center;
	}
	.tlk-step-1 .tlk-side h3, .tlk-step-1 .tlk-side .tlk-hint, .tlk-step-1 .tlk-side .tlk-summary dt { display: none; }
	.tlk-step-1 .tlk-side .tlk-summary { grid-column: 1; display: block; font-size: .85rem; }
	.tlk-step-1 .tlk-side .tlk-summary dd { text-align: left; }
	.tlk-step-1 .tlk-side .tlk-summary .tlk-sum-tickets { color: var(--tl-muted); }
	.tlk-step-1 .tlk-side .tlk-total { grid-column: 2; grid-row: 1; margin: 0; padding: 0; background: none; border: 0; }
	.tlk-step-1 .tlk-side .tlk-total span { display: none; }
	.toftalegan .tlk-step-1 .tlk-side .tlk-next { grid-column: 1 / -1; padding: .85rem; }
}

/* Kamarsveljari (nýggja lon) */
.tl-rooms { margin-top: .9rem; padding: .9rem; border: 1px solid var(--tl-border); background: var(--tl-soft); }
.tl-rooms-floors { display: flex; gap: .4rem; margin: .5rem 0 .6rem; }
.toftalegan .tl-rooms-floor {
	padding: .4rem .9rem; border: 1px solid var(--tl-border); background: #fff; color: var(--tl-text);
	font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; border-radius: var(--tl-btn-radius);
}
.toftalegan .tl-rooms-floor.is-active { background: var(--tl-heading); color: #fff; border-color: var(--tl-heading); }
.tl-rooms-corridor { padding: .3rem; text-align: center; font-size: .75rem; color: var(--tl-muted); background: #fff; border: 1px dashed var(--tl-border); margin-bottom: 4px; }
.tl-rooms-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.toftalegan .tl-room {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
	min-height: 84px; padding: .3rem .1rem; border: 2px solid #8c8287; background: #fff; color: var(--tl-text);
	font: inherit; cursor: pointer; border-radius: 4px; touch-action: manipulation;
}
.toftalegan .tl-room strong { font-size: 1.05rem; }
.tl-room-type { font-size: .68rem; color: var(--tl-muted); line-height: 1.1; text-align: center; }
.tl-room-age { font-size: .62rem; font-weight: 700; line-height: 1.1; text-align: center; color: var(--tl-accent-dark); }
.tl-room-age.is-note { font-weight: 600; color: var(--tl-muted); }
.toftalegan .tl-room.is-selected .tl-room-age { color: #fff; }
.tl-room-state { font-size: .68rem; font-weight: 700; color: #1d7a3a; }
.toftalegan .tl-room:hover:not(:disabled) { border-color: var(--tl-accent); background: #fff; }
.toftalegan .tl-room.is-selected { background: var(--tl-accent); border-color: var(--tl-accent-dark); color: #fff; }
.toftalegan .tl-room.is-selected .tl-room-type, .toftalegan .tl-room.is-selected .tl-room-state { color: #fff; }
.toftalegan .tl-room.is-taken { background: #d9d2d3; border-color: #b0a5a8; cursor: not-allowed; }
.tl-room.is-taken .tl-room-state { color: var(--tl-muted); }
.toftalegan .tl-room.is-other { opacity: .35; cursor: not-allowed; }
.tl-rooms-note { margin-top: .4rem; font-size: .8rem; color: var(--tl-muted); }
.tl-rooms-chosen { margin: .6rem 0 0; font-weight: 700; color: var(--tl-accent); }

/* Kamarsveljari: gomlu kømurini */
.tl-rooms-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 4px; }
.toftalegan .tl-rooms-grid .tl-room { min-height: 72px; }
.toftalegan .tl-room.is-sal { grid-column: span 2; border-style: double; border-width: 4px; }

/* QuickPay */
.tl-qp { margin: .9rem 0 .4rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; }
.toftalegan a.tl-qp-btn { display: inline-block; text-decoration: none; padding: .85rem 1.6rem; font-size: 1.05rem; }
.tl-qp-note { font-size: .85rem; color: var(--tl-muted); }
