/* Fanorama Travel Booking — frontend */
.ftb-booking {
	--ftb-primary: #0b3d2e;
	--ftb-accent: #3a86ff;
	--ftb-border: #e2e8f0;
	--ftb-bg: #f8fafc;
	max-width: 760px;
	margin: 2rem auto;
	padding: 1.75rem;
	border: 1px solid var(--ftb-border);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(11, 61, 46, .06);
	font-family: inherit;
	color: #0f172a;
}
.ftb-booking__title { margin: 0 0 .25rem; font-size: 1.6rem; line-height: 1.15; }
.ftb-booking__sub { margin: 0; color: #64748b; font-size: .95rem; }
.ftb-booking__included {
	list-style: none; margin: 1.1rem 0 0; padding: 0;
	display: grid; grid-template-columns: 1fr 1fr; gap: .35rem .9rem;
}
.ftb-booking__included li { position: relative; padding-left: 1.5rem; font-size: .92rem; }
.ftb-booking__included li::before {
	content: "✓"; position: absolute; left: 0; color: var(--ftb-accent); font-weight: 700;
}
.ftb-booking__grid {
	display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.4rem 0 0;
}
.ftb-field label { display: block; font-weight: 600; font-size: .85rem; margin-bottom: .35rem; }
.ftb-field select {
	width: 100%; padding: .6rem .7rem; border: 1px solid var(--ftb-border);
	border-radius: 10px; background: #fff; font-size: 1rem; color: #0f172a;
}
.ftb-field--toggle { display: flex; flex-direction: column; }
.ftb-switch { position: relative; display: inline-block; width: 52px; height: 30px; }
.ftb-switch input { opacity: 0; width: 0; height: 0; }
.ftb-switch span {
	position: absolute; inset: 0; cursor: pointer; background: #cbd5e1;
	border-radius: 999px; transition: .2s;
}
.ftb-switch span::before {
	content: ""; position: absolute; height: 22px; width: 22px; left: 4px; top: 4px;
	background: #fff; border-radius: 50%; transition: .2s;
}
.ftb-switch input:checked + span { background: var(--ftb-accent); }
.ftb-switch input:checked + span::before { transform: translateX(22px); }

.ftb-summary {
	margin: 1.5rem 0 0; padding: 1.1rem 1.2rem; background: var(--ftb-bg);
	border-radius: 12px;
}
.ftb-summary__line {
	display: flex; justify-content: space-between; gap: 1rem;
	padding: .35rem 0; font-size: .92rem; border-bottom: 1px dashed var(--ftb-border);
}
.ftb-summary__line:last-child { border-bottom: 0; }
.ftb-summary__label em { color: #64748b; font-style: normal; font-size: .82rem; }
.ftb-summary__amount { white-space: nowrap; font-variant-numeric: tabular-nums; }
.ftb-summary__total {
	display: flex; justify-content: space-between; align-items: baseline;
	margin-top: .8rem; padding-top: .8rem; border-top: 2px solid var(--ftb-primary);
	font-size: 1.05rem;
}
.ftb-summary__total strong { font-size: 1.5rem; color: var(--ftb-primary); }

.ftb-participants { margin-top: 1.5rem; }
.ftb-participants h3 { margin: 0 0 .3rem; font-size: 1.1rem; }
.ftb-participants__hint { margin: 0 0 .8rem; color: #64748b; font-size: .85rem; }
.ftb-participant {
	display: grid; grid-template-columns: 90px 1fr 160px; gap: .6rem; align-items: center;
	margin-bottom: .6rem;
}
.ftb-participant__label { font-weight: 600; font-size: .85rem; color: #334155; }
.ftb-participant input {
	width: 100%; padding: .6rem .7rem; border: 1px solid var(--ftb-border, #e2e8f0);
	border-radius: 10px; font-size: 1rem;
}

.ftb-contact { margin-top: 1.5rem; }
.ftb-contact h3 { margin: 0 0 .2rem; font-size: 1.1rem; }
.ftb-contact__hint { margin: 0 0 .9rem; color: #64748b; font-size: .85rem; }
.ftb-contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.ftb-contact__grid .ftb-col-2 { grid-column: 1 / -1; }
.ftb-contact input {
	width: 100%; padding: .7rem .8rem; border: 1px solid var(--ftb-border);
	border-radius: 10px; font-size: 1rem;
}
.ftb-booking .ftb-terms {
	display: flex; align-items: flex-start; justify-content: flex-start;
	gap: .5rem; margin: .9rem 0; font-size: .9rem; text-align: left;
}
.ftb-booking .ftb-terms input[type="checkbox"] {
	flex: 0 0 auto; width: 18px; height: 18px; margin: .1rem 0 0; padding: 0;
}
.ftb-booking .ftb-terms__text { line-height: 1.45; }
.ftb-booking .ftb-terms label {
	display: inline; width: auto; margin: 0; padding: 0; font-weight: 400;
}
.ftb-terms__link { color: var(--ftb-accent); text-decoration: underline; }
.ftb-terms__link:hover { color: #2f6fe0; }
.ftb-submit {
	width: 100%; padding: 1rem; border: 0; border-radius: 12px; cursor: pointer;
	background: var(--ftb-accent); color: #fff; font-size: 1.1rem; font-weight: 700;
	transition: background .15s, transform .05s;
}
.ftb-submit:hover { background: #2f6fe0; }
.ftb-submit:active { transform: translateY(1px); }
.ftb-submit:disabled { opacity: .6; cursor: default; }
.ftb-error {
	margin: .8rem 0 0; padding: .7rem .9rem; background: #fef2f2; color: #b32d2e;
	border-radius: 10px; font-size: .9rem;
}
.ftb-booking__guarantee {
	margin: 1.3rem 0 0; padding-top: 1rem; border-top: 1px solid var(--ftb-border);
	font-size: .82rem; color: #64748b; text-align: center;
}
.ftb-seats {
	display: inline-block; margin: 0 0 1rem; padding: .4rem .9rem;
	background: #fff4ed; color: #c2410c; border: 1px solid #fed7aa;
	border-radius: 999px; font-size: .85rem; font-weight: 700;
}
/* Sørg for at [hidden] altid skjuler — også når et element har display:flex/inline-block. */
.ftb-booking [hidden] { display: none !important; }

.ftb-booking__soldout {
	margin-top: 1.4rem; padding: 1rem; text-align: center; font-weight: 600;
	background: #fef2f2; color: #b32d2e; border-radius: 12px;
}

/* ===== Kvittering ([ftb_receipt]) ===== */
.ftb-receipt {
	max-width: 560px; margin: 2.5rem auto; padding: 2.5rem 2rem; text-align: center;
	background: #fff; border: 1px solid #e2e8f0; border-radius: 18px;
	box-shadow: 0 12px 34px rgba(3, 12, 24, .08); font-family: inherit; color: #0f172a;
}
.ftb-receipt h2 { margin: .4rem 0 .6rem; font-size: 1.7rem; }
.ftb-receipt p { color: #475569; line-height: 1.6; margin: 0 0 1.2rem; }
.ftb-receipt__icon {
	width: 66px; height: 66px; margin: 0 auto 1rem; border-radius: 50%;
	background: #3a86ff; color: #fff; font-size: 2rem; line-height: 66px; font-weight: 700;
}
.ftb-receipt--cancel .ftb-receipt__icon { display: none; }
.ftb-receipt__box {
	text-align: left; background: #f8fafc; border-radius: 12px; padding: 1rem 1.3rem; margin: 1.4rem 0;
}
.ftb-receipt__box > div {
	display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0;
	border-bottom: 1px dashed #e2e8f0;
}
.ftb-receipt__box > div:last-child { border-bottom: 0; }
.ftb-receipt__box span { color: #64748b; }
.ftb-receipt__box strong { color: #0f172a; text-align: right; }
.ftb-receipt__guarantee { font-size: .82rem; color: #64748b; margin: 1.2rem 0 0; padding-top: 1rem; border-top: 1px solid #e2e8f0; }
.ftb-receipt__btn {
	display: inline-block; margin-top: .6rem; background: #3a86ff; color: #fff; text-decoration: none;
	font-weight: 700; padding: .8rem 1.8rem; border-radius: 10px;
}
.ftb-receipt__btn:hover { background: #2f6fe0; color: #fff; }

/* ===== Kamp-oversigt ([ftb_matches]) — FanTravel-stil ===== */
.ftb-matches {
	--ftb-navy: #0e2233;
	--ftb-green: #3a86ff;
	--ftb-ink: #0f2033;
	--ftb-muted: #64748b;
	margin: 2rem 0;
	font-family: inherit;
}
.ftb-empty {
	max-width: 560px; margin: 2rem auto; padding: 2.2rem 1.5rem; text-align: center;
	background: #fff; border: 1px solid #e2e8f0; border-radius: 16px;
	box-shadow: 0 6px 18px rgba(3,12,24,.10); color: #475569; font-family: inherit;
}
.ftb-empty__icon { font-size: 2.2rem; display: block; margin-bottom: .6rem; }
.ftb-empty__title { font-size: 1.15rem; font-weight: 700; color: #0f2033; margin: 0 0 .35rem; }
.ftb-empty__sub { margin: 0; color: #64748b; font-size: .92rem; }

/* "Vis flere kampe" */
.ftb-matches__more { text-align: center; margin: 1.6rem 0 .5rem; }
.ftb-more-btn {
	background: var(--ftb-accent, #3a86ff); color: #fff; border: 0; border-radius: 10px;
	padding: .8rem 1.8rem; font-size: 1rem; font-weight: 700; cursor: pointer;
	font-family: inherit; transition: background .15s;
}
.ftb-more-btn:hover { background: #2f6fe0; }
.ftb-more-btn:disabled { opacity: .6; cursor: default; }

/* --- Liste --- */
.ftb-matches--list { display: flex; flex-direction: column; gap: .85rem; }
.ftb-mrow {
	display: flex; align-items: stretch; gap: 1rem; text-decoration: none; color: var(--ftb-ink);
	background: #fff; border-radius: 12px; overflow: hidden;
	box-shadow: 0 6px 18px rgba(3, 12, 24, .10); transition: transform .12s, box-shadow .12s;
}
.ftb-mrow:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(3, 12, 24, .18); }
.ftb-mrow__date {
	flex: 0 0 76px; display: flex; flex-direction: column; align-items: center; justify-content: center;
	background: linear-gradient(160deg, #16324b, var(--ftb-navy)); color: #fff; padding: .8rem .4rem;
}
.ftb-mrow__day { font-size: 1.5rem; font-weight: 800; line-height: 1; }
.ftb-mrow__mon { font-size: .8rem; text-transform: lowercase; opacity: .85; }
.ftb-mrow__main { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; padding: .9rem 0; min-width: 0; }
.ftb-mrow__league { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ftb-green); font-weight: 800; }
.ftb-mrow__title { font-size: 1.15rem; font-weight: 800; margin: .15rem 0; color: var(--ftb-ink); }
.ftb-mrow__meta { font-size: .85rem; color: var(--ftb-muted); }
.ftb-mrow__price {
	display: flex; flex-direction: column; align-items: flex-end; justify-content: center;
	padding: .9rem 0; text-align: right; white-space: nowrap;
}
.ftb-mrow__price em { font-style: normal; font-size: .74rem; color: var(--ftb-muted); }
.ftb-mrow__price strong { font-size: 1.05rem; color: var(--ftb-ink); }
.ftb-mrow__btn {
	flex: 0 0 auto; align-self: center; margin-right: 1rem; padding: .7rem 1.6rem;
	background: var(--ftb-green); color: #fff; font-weight: 800; letter-spacing: .04em;
	border-radius: 9px; text-transform: uppercase; font-size: .82rem;
}
.ftb-mrow:hover .ftb-mrow__btn { background: #2f6fe0; }

/* --- Grid (kort) --- */
.ftb-matches--grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.4rem; }
.ftb-mcard {
	display: flex; flex-direction: column; text-decoration: none; color: #e8eef5;
	background: #13273d; border: 1px solid rgba(255, 255, 255, .06); border-radius: 16px; overflow: hidden;
	transition: transform .12s, box-shadow .12s;
}
.ftb-mcard:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0, 0, 0, .35); }
.ftb-mcard__img img { width: 100%; height: 160px; object-fit: cover; display: block; }
.ftb-mcard__body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.ftb-mcard__league { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ftb-green); font-weight: 800; }
.ftb-mcard__title { font-size: 1.2rem; font-weight: 800; margin: .3rem 0; color: #fff; }
.ftb-mcard__date, .ftb-mcard__venue { margin: 0; font-size: .85rem; color: #93a4b8; }
.ftb-mcard__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 1rem; }
.ftb-mcard__price { font-weight: 800; font-size: 1.15rem; color: #fff; }
.ftb-mcard__price em { font-style: normal; font-size: .68rem; color: #93a4b8; display: block; letter-spacing: .05em; }
.ftb-mcard__btn { color: var(--ftb-green); font-weight: 800; font-size: .9rem; }

@media (max-width: 640px) {
	.ftb-booking__grid, .ftb-contact__grid, .ftb-booking__included { grid-template-columns: 1fr; }
	.ftb-participant { grid-template-columns: 1fr; }
	.ftb-booking { padding: 1.25rem; }
	.ftb-mrow { flex-wrap: wrap; }
	.ftb-mrow__main { flex-basis: calc(100% - 92px); }
	.ftb-mrow__price { align-items: flex-start; width: 100%; padding: 0 1rem .6rem 92px; }
	.ftb-mrow__btn { margin: 0 1rem 1rem 92px; }
}
