/* NV bejelentő – vevői felület */
.nvr-box, .nvr-wrap {
	--nvr-accent: var(--wd-primary-color, #2f6fed);
	--nvr-ok: #1a7f37;
	--nvr-warn: #b45309;
	--nvr-bad: #b42318;
	--nvr-line: #e3e6ea;
	--nvr-soft: #f6f7f9;
	--nvr-text: inherit;
	--nvr-radius: 12px;
}
.nvr-box { margin: 0 0 2em; }
.nvr-muted { color: #6b7280; font-size: .88em; }
.nvr-box [hidden], .nvr-form [hidden] { display: none !important; }
.nvr-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }

.nvr-flow__title { margin: 0 0 .8em; }

/* ---------- Rendelés fejléc ---------- */
.nvr-order {
	display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px;
	padding: 18px 22px; margin: 0 0 18px;
	background: var(--nvr-soft); border: 1px solid var(--nvr-line); border-radius: var(--nvr-radius);
}
.nvr-order__no span { display: block; font-size: .78em; text-transform: uppercase; letter-spacing: .08em; color: #6b7280; }
.nvr-order__no strong { display: block; font-size: 2.1em; line-height: 1.1; font-weight: 800; }
.nvr-order__meta { display: flex; flex-wrap: wrap; gap: 14px 28px; margin: 0; padding: 0; }
.nvr-order__meta div { min-width: 110px; }
.nvr-order__meta dt { font-size: .76em; text-transform: uppercase; letter-spacing: .06em; color: #6b7280; margin: 0; }
.nvr-order__meta dd { margin: 2px 0 0; font-weight: 600; }

/* ---------- Határidő-kártyák ---------- */
.nvr-dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin: 0 0 22px; }
.nvr-dl__card {
	position: relative; padding: 16px 18px 14px; background: #fff;
	border: 1px solid var(--nvr-line); border-top: 4px solid var(--nvr-ok); border-radius: var(--nvr-radius);
}
.nvr-dl__card.is-soon { border-top-color: var(--nvr-warn); }
.nvr-dl__card.is-closed { border-top-color: #9ca3af; background: var(--nvr-soft); }
.nvr-dl__label { font-weight: 700; margin-bottom: 6px; }
.nvr-dl__num { font-size: 2em; font-weight: 800; line-height: 1.1; color: var(--nvr-ok); }
.nvr-dl__num span { display: block; font-size: .38em; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: #6b7280; margin-top: 3px; }
.nvr-dl__card.is-soon .nvr-dl__num { color: var(--nvr-warn); }
.nvr-dl__card.is-closed .nvr-dl__num { color: #6b7280; font-size: 1.5em; }
.nvr-dl__bar { height: 6px; margin: 12px 0 8px; background: #e5e7eb; border-radius: 99px; overflow: hidden; }
.nvr-dl__bar i { display: block; height: 100%; background: var(--nvr-ok); border-radius: 99px; }
.nvr-dl__card.is-soon .nvr-dl__bar i { background: var(--nvr-warn); }
.nvr-dl__date { font-size: .84em; color: #6b7280; }

.nvr-prev { margin: 0 0 18px; }
.nvr-prev summary { cursor: pointer; font-weight: 600; padding: 8px 0; }

/* ---------- Elrendezés ---------- */
.nvr-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.nvr-layout.is-solo { grid-template-columns: minmax(0, 1fr); }
.nvr-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.nvr-aside { position: sticky; top: 90px; }

.nvr-card { background: #fff; border: 1px solid var(--nvr-line); border-radius: var(--nvr-radius); box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.nvr-card__h { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--nvr-line); }
.nvr-card__h h3 { margin: 0; font-size: 1.1em; }
.nvr-step {
	display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
	width: 28px; height: 28px; border-radius: 50%; background: var(--nvr-accent); color: #fff; font-weight: 700; font-size: .9em;
}
.nvr-card__b { padding: 18px 20px 20px; }

/* ---------- Típus választó ---------- */
.nvr-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.nvr-type {
	position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; margin: 0;
	border: 2px solid var(--nvr-line); border-radius: 10px; cursor: pointer; background: #fff;
	transition: border-color .15s, box-shadow .15s, background .15s;
}
.nvr-type input { position: absolute; opacity: 0; pointer-events: none; }
.nvr-type__t { font-weight: 700; }
.nvr-type__d { font-size: .82em; color: #6b7280; line-height: 1.35; }
.nvr-type:hover { border-color: #9aa3b2; }
.nvr-type.is-active { border-color: var(--nvr-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--nvr-accent) 15%, transparent); background: color-mix(in srgb, var(--nvr-accent) 5%, #fff); }
.nvr-type input:focus-visible ~ .nvr-type__t { text-decoration: underline; }

/* ---------- Termékek ---------- */
.nvr-items { display: flex; flex-direction: column; gap: 10px; }
.nvr-item {
	display: grid; grid-template-columns: 32px minmax(0, 1fr) 96px; gap: 8px 14px; align-items: center;
	padding: 12px 14px; border: 1px solid var(--nvr-line); border-radius: 10px; background: #fff;
}
.nvr-item:has(input[type="checkbox"]:checked) { border-color: var(--nvr-accent); background: color-mix(in srgb, var(--nvr-accent) 4%, #fff); }
.nvr-item__c { text-align: center; }
.nvr-item__c input { width: 18px; height: 18px; }
.nvr-item__i label { font-weight: 600; display: block; cursor: pointer; }
.nvr-item__i .nvr-muted { display: block; }
.nvr-item__q { display: flex; align-items: center; gap: 6px; }
.nvr-item__q input { width: 64px; text-align: center; }
.nvr-new { grid-column: 2 / -1; position: relative; padding-top: 4px; }
.nvr-new > label { display: block; font-size: .88em; font-weight: 600; margin-bottom: 4px; }
.nvr-new__q { width: 100%; }
.nvr-new__res {
	position: absolute; z-index: 20; left: 0; right: 0; margin: 2px 0 0; padding: 4px 0; list-style: none;
	background: #fff; border: 1px solid var(--nvr-line); border-radius: 8px; box-shadow: 0 8px 24px rgba(16, 24, 40, .12); max-height: 260px; overflow: auto;
}
.nvr-new__res li { padding: 8px 12px; cursor: pointer; }
.nvr-new__res li:hover, .nvr-new__res li:focus { background: var(--nvr-soft); outline: none; }
.nvr-new__res li.is-empty { cursor: default; color: #6b7280; }
.nvr-new__sel { display: inline-block; margin-top: 6px; padding: 4px 10px; background: color-mix(in srgb, var(--nvr-ok) 10%, #fff); border: 1px solid color-mix(in srgb, var(--nvr-ok) 35%, #fff); border-radius: 99px; font-weight: 600; font-size: .9em; }
.nvr-new__clear { margin-left: 6px; border: 0; background: transparent; font-size: 1.3em; line-height: 1; cursor: pointer; color: #6b7280; }

.nvr-why { margin: 1em 0 0; font-size: .9em; }
.nvr-why summary { cursor: pointer; color: #6b7280; }

/* ---------- Mezők ---------- */
.nvr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.nvr-grid > * { margin: 0 !important; width: auto !important; float: none !important; min-width: 0; }
.nvr-grid > .nvr-cf--full, .nvr-grid > .nvr-cf:not(.nvr-cf--half), .nvr-grid > .nvr-cf-h { grid-column: 1 / -1; }
.nvr-cf-h { margin-top: .8em !important; }
.nvr-cf-h h4 { margin: 0 0 .2em; padding-bottom: .35em; border-bottom: 2px solid var(--nvr-line); font-size: 1.02em; }
.nvr-field > label, .nvr-cf__legend { display: block; font-weight: 600; margin-bottom: 5px; }
.nvr-field select, .nvr-field textarea, .nvr-field input[type="text"], .nvr-field input[type="email"],
.nvr-field input[type="tel"], .nvr-field input[type="date"], .nvr-field input[type="number"], .nvr-field input[type="file"] { width: 100%; box-sizing: border-box; }
.nvr-field .nvr-muted { display: block; margin-top: 4px; }
.nvr-cf__legend { margin-bottom: 6px; }
.nvr-field .nvr-check, .nvr-consent .nvr-check, .nvr-acks .nvr-check { font-weight: 400; display: flex; gap: 10px; align-items: flex-start; margin: 6px 0; }
.nvr-check input { margin-top: .3em; flex: 0 0 auto; }
.nvr-file-msg { display: block; margin-top: 6px; }

.nvr-acks { margin-top: 20px; padding: 14px 16px; background: var(--nvr-soft); border: 1px solid var(--nvr-line); border-radius: 10px; }
.nvr-acks h4 { margin: 0 0 8px; }
.nvr-acks .nvr-field { margin: 0 0 4px; }
.nvr-consent { margin-top: 16px; }
.nvr-submit-row { margin: 18px 0 0; }
.nvr-btn--big { padding: 14px 32px !important; font-size: 1.05em; }

/* ---------- Összesítő ---------- */
.nvr-sum { background: #fff; border: 1px solid var(--nvr-line); border-top: 4px solid var(--nvr-accent); border-radius: var(--nvr-radius); padding: 18px 20px; box-shadow: 0 4px 16px rgba(16, 24, 40, .06); }
.nvr-sum h3 { margin: 0 0 12px; }
.nvr-sum__row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--nvr-line); }
.nvr-sum__lines { list-style: none; margin: 10px 0 0; padding: 0; }
.nvr-sum__lines li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--nvr-line); font-size: .92em; }
.nvr-sum__lines li span { min-width: 0; overflow-wrap: anywhere; }
.nvr-sum__lines li strong { white-space: nowrap; }
.nvr-sum__lines li.is-fee strong { color: var(--nvr-bad); }
.nvr-sum__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: color-mix(in srgb, var(--nvr-ok) 10%, #fff); }
.nvr-sum__total span { font-weight: 700; }
.nvr-sum__total strong { font-size: 1.5em; font-weight: 800; white-space: nowrap; }
.nvr-sum__total.is-pay { background: color-mix(in srgb, var(--nvr-warn) 12%, #fff); }
.nvr-sum__total.is-pay strong { color: var(--nvr-warn); }
.nvr-sum__total.is-refund strong { color: var(--nvr-ok); }
.nvr-sum__note { margin: 10px 0 0; }
.nvr-sum__disc { margin: 8px 0 0; font-size: .8em; }

/* ---------- Bejelentés oldal, lista ---------- */
.nvr-badge {
	display: inline-block; padding: .15em .7em; border-radius: 999px; font-size: .75em; font-weight: 600; line-height: 1.6; vertical-align: middle;
	color: var(--nvr-c, #3c434a);
	background: color-mix(in srgb, var(--nvr-c, #3c434a) 12%, #fff);
	border: 1px solid color-mix(in srgb, var(--nvr-c, #3c434a) 35%, #fff);
}
.nvr-summary th { width: 28%; text-align: left; vertical-align: top; }
.nvr-calc-table td { font-size: .95em; }
.nvr-thread { display: flex; flex-direction: column; gap: 10px; margin: 0 0 1.5em; }
.nvr-msg { max-width: 85%; padding: 10px 14px; border-radius: 10px; background: #f3f4f6; }
.nvr-msg--me { align-self: flex-end; background: #eef4ff; }
.nvr-msg__h { font-size: .8em; color: #6b7280; margin-bottom: 4px; }
.nvr-btn--ghost { background: transparent !important; color: var(--nvr-bad) !important; border: 1px solid var(--nvr-bad) !important; }
.nvr-cancel { margin-top: 1.5em; }
.nvr-buttons .button { margin: 0 8px 8px 0; }

/* ---------- Mobil ---------- */
@media (max-width: 980px) {
	.nvr-layout { grid-template-columns: minmax(0, 1fr); }
	.nvr-aside { position: static; order: -1; }
}
@media (max-width: 640px) {
	.nvr-grid { grid-template-columns: minmax(0, 1fr); }
	.nvr-item { grid-template-columns: 28px minmax(0, 1fr); }
	.nvr-item__q { grid-column: 2; }
	.nvr-new { grid-column: 1 / -1; }
	.nvr-msg { max-width: 100%; }
	.nvr-order__no strong { font-size: 1.7em; }
}

.nvr-items-msg { margin: 10px 0 0; padding: 10px 14px; border-radius: 8px; background: #fef3f2; color: var(--nvr-bad); border: 1px solid #fecdca; }
.nvr-msg--shop { background: #f3f4f6; }
.nvr-item__n { display: block; }
