/* BN Reklamesalg – forside */
:root { --bnrs-farve: #1a7f37; }

/* Reklamer */
.bnrs-plads { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 16px auto; clear: both; }
.bnrs-reklame { position: relative; max-width: 100%; line-height: 0; }
.bnrs-reklame img { max-width: 100%; height: auto; display: block; border-radius: 4px; }
.bnrs-label { position: absolute; top: 4px; right: 4px; z-index: 2; background: rgba(0,0,0,.55); color: #fff; font: 600 10px/1.4 system-ui, sans-serif; letter-spacing: .04em; text-transform: uppercase; padding: 1px 6px; border-radius: 3px; pointer-events: none; }
.bnrs-plads-top .bnrs-reklame { max-width: 728px; }
.bnrs-plads-side .bnrs-reklame { max-width: 300px; }
.bnrs-ledig a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 90px; width: 100%; max-width: 728px; padding: 14px; border: 2px dashed color-mix(in srgb, var(--bnrs-farve) 45%, #ccc); border-radius: 6px; color: var(--bnrs-farve); text-decoration: none; font-family: system-ui, sans-serif; background: color-mix(in srgb, var(--bnrs-farve) 4%, #fff); transition: background .15s; }
.bnrs-ledig a:hover { background: color-mix(in srgb, var(--bnrs-farve) 10%, #fff); }
.bnrs-ledig strong { font-size: 17px; }
.bnrs-ledig span { font-size: 13px; color: #666; }
.bnrs-plads-side.bnrs-ledig a { min-height: 250px; max-width: 300px; }

/* Salgsside */
.bnrs-salg { font-family: inherit; max-width: 980px; margin: 0 auto; }
.bnrs-salg h3 { display: flex; align-items: center; gap: 10px; margin: 32px 0 12px; font-size: 20px; }
.bnrs-trin { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--bnrs-farve); color: #fff; font-size: 15px; flex: none; }
.bnrs-intro { font-size: 17px; color: #444; }
.bnrs-kort-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.bnrs-kort { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px 16px 16px 44px; border: 2px solid #e2e2e2; border-radius: 10px; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.bnrs-kort:hover { border-color: color-mix(in srgb, var(--bnrs-farve) 50%, #e2e2e2); }
.bnrs-kort input { position: absolute; left: 16px; top: 19px; accent-color: var(--bnrs-farve); width: 18px; height: 18px; margin: 0; }
.bnrs-kort:has(input:checked) { border-color: var(--bnrs-farve); box-shadow: 0 0 0 3px color-mix(in srgb, var(--bnrs-farve) 18%, transparent); }
.bnrs-kort strong { font-size: 16px; }
.bnrs-kort span { font-size: 14px; color: #555; }
.bnrs-kort em { font-size: 13px; font-style: normal; color: var(--bnrs-farve); font-weight: 600; }
.bnrs-kort small { font-size: 12px; color: #777; }
.bnrs-kort .bnrs-pris { font-size: 22px; color: var(--bnrs-farve); }
.bnrs-kort[hidden] { display: none; }
.bnrs-udsolgt { opacity: .5; cursor: not-allowed; }
.bnrs-udsolgt em { color: #b32d2e; }

.bnrs-faner { display: inline-flex; gap: 4px; padding: 4px; background: #f0f0f0; border-radius: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.bnrs-faner label { cursor: pointer; }
.bnrs-faner input { position: absolute; opacity: 0; pointer-events: none; }
.bnrs-faner span { display: block; padding: 8px 18px; border-radius: 7px; font-weight: 600; }
.bnrs-faner small { display: block; font-weight: 400; font-size: 12px; color: #666; }
.bnrs-faner input:checked + span { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.12); color: var(--bnrs-farve); }
.bnrs-faner input:focus-visible + span { outline: 2px solid var(--bnrs-farve); }

.bnrs-felter { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.bnrs-felter p { margin: 0 0 10px; }
.bnrs-felter .bnrs-hel, .bnrs-felter .bnrs-forhaand { grid-column: 1 / -1; }
.bnrs-felter label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.bnrs-felter input[type="text"], .bnrs-felter input[type="email"], .bnrs-felter input[type="url"], .bnrs-felter input[type="tel"] { width: 100%; padding: 10px 12px; border: 1px solid #ccc; border-radius: 6px; font-size: 15px; box-sizing: border-box; }
.bnrs-felter input:focus { border-color: var(--bnrs-farve); outline: 2px solid color-mix(in srgb, var(--bnrs-farve) 25%, transparent); }
.bnrs-felter small { color: #666; }
.bnrs-forhaand { position: relative; display: inline-block; line-height: 0; margin: 4px 0 14px; max-width: 100%; border: 1px solid #ddd; border-radius: 6px; padding: 8px; background: #fafafa; }
.bnrs-forhaand img { max-width: 100%; max-height: 260px; }
.bnrs-forhaand .bnrs-label { top: 12px; right: 12px; }

.bnrs-total { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; padding: 18px 20px; background: color-mix(in srgb, var(--bnrs-farve) 6%, #fff); border-radius: 10px; }
.bnrs-total > div { font-size: 18px; }
.bnrs-total > div strong { font-size: 26px; color: var(--bnrs-farve); }
.bnrs-total > div small { display: block; font-size: 12px; color: #666; }
.bnrs-total select { padding: 10px; border-radius: 6px; }
.bnrs-accept { font-size: 14px; }
.bnrs-knap { background: var(--bnrs-farve); color: #fff; border: 0; border-radius: 8px; padding: 13px 28px; font-size: 16px; font-weight: 700; cursor: pointer; transition: filter .15s; }
.bnrs-knap:hover { filter: brightness(1.1); }
.bnrs-knap:disabled { opacity: .6; cursor: wait; }
.bnrs-hp { position: absolute !important; left: -9999px !important; height: 1px; overflow: hidden; }

.bnrs-besked { padding: 14px 18px; border-radius: 8px; background: #fff8e1; border-left: 4px solid #f0b400; margin: 0 0 18px; }
.bnrs-besked ul { margin: 0; padding-left: 18px; }
.bnrs-ok { background: #e9f7ee; border-color: var(--bnrs-farve); }
.bnrs-fejl { background: #fdecec; border-color: #b32d2e; }

/* Annoncørside */
.bnrs-hoved { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.bnrs-hoved h2 { margin: 0 0 4px; }
.bnrs-hoved p { margin: 0; color: #666; }
.bnrs-status { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; background: #eee; color: #444; white-space: nowrap; }
.bnrs-status-aktiv { background: #e3f4e8; color: #1a7f37; }
.bnrs-status-afventer_betaling, .bnrs-status-afventer_godkendelse { background: #fff3cd; color: #8a6100; }
.bnrs-status-udloebet, .bnrs-status-pause { background: #eceff3; color: #50575e; }
.bnrs-status-afvist { background: #fdecec; color: #b32d2e; }
.bnrs-tal { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 16px 0; }
.bnrs-tal > div { background: #fff; border: 1px solid #e4e4e4; border-radius: 10px; padding: 14px 16px; }
.bnrs-tal b { display: block; font-size: 26px; color: var(--bnrs-farve); line-height: 1.2; }
.bnrs-tal span { font-size: 13px; color: #666; }
.bnrs-graf { display: flex; align-items: flex-end; gap: 3px; height: 110px; padding: 8px; background: #fafafa; border: 1px solid #eee; border-radius: 8px; }
.bnrs-graf-s { flex: 1; height: 100%; display: flex; align-items: flex-end; }
.bnrs-graf-s span { display: block; width: 100%; background: var(--bnrs-farve); border-radius: 3px 3px 0 0; min-height: 0; }
.bnrs-graf-s:hover span { filter: brightness(1.2); }
.bnrs-graf-akse { display: flex; justify-content: space-between; font-size: 12px; color: #888; margin-top: 4px; }
.bnrs-boks { border: 1px solid #e4e4e4; border-radius: 10px; padding: 16px; margin-bottom: 12px; background: #fff; }
.bnrs-boks form { margin: 8px 0; }
.bnrs-bank { font-size: 14px; background: #fafafa; padding: 10px 12px; border-radius: 6px; }
.bnrs-tabel { width: 100%; border-collapse: collapse; font-size: 14px; }
.bnrs-tabel td { padding: 8px; border-bottom: 1px solid #eee; }
.bnrs-tabel td:last-child { text-align: right; white-space: nowrap; }
.bnrs-lille { font-size: 13px; color: #777; margin-top: 28px; }

@media (max-width: 640px) {
	.bnrs-felter { grid-template-columns: 1fr; }
	.bnrs-total { flex-direction: column; align-items: stretch; }
	.bnrs-knap { width: 100%; }
	.bnrs-faner { display: flex; }
	.bnrs-faner label { flex: 1; }
}
