/* RendezvényPR – kérdőív. Mobil első; minden kezelőelem legalább 44 px magas. */

.rpr-wizard { background: var(--rpr-light); color: var(--rpr-navy); padding: 16px 16px 100px; max-width: 1100px; margin: 0 auto; container: rprwiz / inline-size; }

/* Lépésjelző */
.rpr-stepper { display: flex; list-style: none; margin: 0 0 24px; padding: 0; gap: 4px; counter-reset: s; }
.rpr-stepper__item { flex: 1 1 0; min-width: 0; }
.rpr-stepper__btn { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; min-height: 44px; padding: 6px 2px; background: none; border: 0; border-bottom: 4px solid #D5DADF; color: var(--rpr-grey); font: inherit; font-size: .75rem; text-align: center; cursor: default; }
button.rpr-stepper__btn { cursor: pointer; }
.rpr-stepper__num { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 2px; background: #D5DADF; color: var(--rpr-navy); font-weight: 700; font-size: .85rem; }
.rpr-stepper__item.is-done .rpr-stepper__btn { border-bottom-color: var(--rpr-navy); color: var(--rpr-navy); }
.rpr-stepper__item.is-done .rpr-stepper__num { background: var(--rpr-navy); color: var(--rpr-light); }
.rpr-stepper__item.is-current .rpr-stepper__btn { border-bottom-color: var(--rpr-accent); color: var(--rpr-navy); font-weight: 700; }
.rpr-stepper__item.is-current .rpr-stepper__num { background: var(--rpr-accent); color: var(--rpr-navy); }
.rpr-stepper__label { display: none; }
.rpr-stepper__item.is-current .rpr-stepper__label { display: block; }

/* Elrendezés */
.rpr-wiz-body { display: block; }
.rpr-wiz-title { margin-top: 0; }
.rpr-wiz-title:focus { outline: none; }
.rpr-lead { font-size: 1.05rem; }
.rpr-form h3 { margin-top: 28px; }
.rpr-field { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.rpr-field legend { font-weight: 500; margin-bottom: 6px; padding: 0; }
.rpr-opt { color: var(--rpr-grey); font-weight: 400; }
.rpr-grid { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
.rpr-static { margin: 0; font-weight: 500; }
.rpr-label { display: block; font-weight: 500; margin-bottom: 6px; }
.rpr-check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 400; cursor: pointer; margin: 0; }
.rpr-check input { width: 22px; height: 22px; flex: 0 0 auto; accent-color: var(--rpr-navy); }
.rpr-checks { display: grid; grid-template-columns: 1fr; }
.rpr-error { color: #B3261E; font-size: .9rem; margin: 6px 0 0; font-weight: 500; }
.rpr-visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.rpr-urlstate { font-size: .9rem; margin: 6px 0 0; min-height: 1.2em; }
.rpr-urlstate.is-ok { color: #1E7B45; }
.rpr-urlstate.is-unverified, .rpr-urlstate.is-checking { color: #7A5300; }
.rpr-urlstate.is-error, .rpr-urlstate.is-unreachable, .rpr-urlstate.is-invalid { color: #B3261E; }

/* Értesítések: a szín mellett jel és szöveg is jelzi az állapotot. */
.rpr-notice { padding: 12px 14px; border-left: 4px solid; margin: 0 0 18px; }
.rpr-notice--bad { background: #FDECEA; border-color: #B3261E; color: #5F1410; }
.rpr-notice--warn { background: #FFF4D6; border-color: var(--rpr-accent); color: #4A3500; }
.rpr-notice a { color: inherit; font-weight: 700; }

/* Kalkulátor */
.rpr-calc { margin: 0 0 18px; }
.rpr-calc p { margin: 0 0 10px; }
.rpr-calc.is-ok, .rpr-calc.is-warn, .rpr-calc.is-bad { padding: 14px; border-left: 6px solid; }
.rpr-calc.is-ok { background: #E8F5EC; border-color: #1E7B45; color: #123D24; }
.rpr-calc.is-ok p::before { content: "✓ "; font-weight: 700; }
.rpr-calc.is-warn { background: #FFF4D6; border-color: var(--rpr-accent); color: #4A3500; }
.rpr-calc.is-warn p::before { content: "! "; font-weight: 700; }
.rpr-calc.is-bad { background: #FDECEA; border-color: #B3261E; color: #5F1410; }
.rpr-calc.is-bad p::before { content: "✕ "; font-weight: 700; }
.rpr-days { margin: 6px 0 0; color: var(--rpr-grey); }

/* Sablonkártyák: mobilon 2 oszlop */
.rpr-cards { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.rpr-card { border: 2px solid #D5DADF; border-radius: 2px; background: #fff; display: flex; flex-direction: column; overflow: hidden; }
.rpr-card.is-selected { border-color: var(--rpr-accent); box-shadow: 0 0 0 2px var(--rpr-accent); }
.rpr-card__img { aspect-ratio: 3 / 4; background: var(--rpr-navy); overflow: hidden; display: flex; align-items: flex-start; justify-content: center; }
.rpr-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.rpr-card__ph { align-self: center; color: var(--rpr-accent); font-family: var(--rpr-font-head); font-size: 1.6rem; text-transform: uppercase; padding: 8px; text-align: center; }
.rpr-card__body { padding: 10px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.rpr-card__body h3 { margin: 0; font-size: 1.3rem; }
.rpr-card__actions { display: flex; flex-direction: column; gap: 6px; margin-top: auto; }
.rpr-card__actions .rpr-btn { width: 100%; padding: 8px 10px; font-size: .9rem; }
.rpr-cover { margin-top: 12px; }
.rpr-cover__up { margin: 8px 0 0; }

/* Fájlok */
.rpr-drop { border: 2px dashed var(--rpr-navy); border-radius: 2px; padding: 28px 16px; text-align: center; background: #F4F6F8; margin: 0 0 16px; }
.rpr-drop.is-over { background: #FFF4D6; border-color: var(--rpr-accent); }
.rpr-drop p { margin: 0 0 12px; }
.rpr-counters { display: flex; gap: 20px; flex-wrap: wrap; margin: 0 0 12px; }
.rpr-files { list-style: none; margin: 0 0 16px; padding: 0; }
.rpr-files li { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #E1E5E9; padding: 6px 0; }
.rpr-files__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rpr-files__size { color: var(--rpr-grey); font-size: .85rem; white-space: nowrap; }
.rpr-files__rm { padding: 6px 12px; font-size: .85rem; }

/* Feltöltés folyamatjelző */
.rpr-bar { flex: 0 0 100%; height: 6px; background: #E1E5E9; border-radius: 2px; overflow: hidden; margin-top: 4px; }
.rpr-bar span { display: block; height: 100%; width: 0; background: var(--rpr-accent); transition: width .2s; }
.rpr-files li { flex-wrap: wrap; }
.rpr-files__status { font-size: .85rem; color: var(--rpr-grey); white-space: nowrap; }
.rpr-files__item.is-done .rpr-files__status { color: #1E7B45; }
.rpr-files__item.is-error .rpr-files__status { color: #B3261E; font-weight: 500; white-space: normal; flex: 0 0 100%; order: 5; }

/* Fizetés */
.rpr-refund { background: #F4F6F8; border-left: 4px solid var(--rpr-navy); padding: 12px 14px; margin: 0 0 18px; font-size: .92rem; }
.rpr-refund p { margin: 4px 0 0; }
.rpr-btn--lg { width: 100%; min-height: 52px; font-size: 1.1rem; }
.rpr-wiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }

/* Összesítő: mobilon alul rögzített sáv, szélesen oldalsáv */
.rpr-summary { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--rpr-navy); color: var(--rpr-light); box-shadow: 0 -4px 16px rgba(0, 0, 0, .25); }
.rpr-summary__toggle { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 56px; padding: 8px 16px; background: var(--rpr-navy); color: var(--rpr-light); border: 0; border-top: 3px solid var(--rpr-accent); font: inherit; font-size: 1rem; cursor: pointer; }
.rpr-summary__toggle strong { color: var(--rpr-accent); font-size: 1.25rem; }
.rpr-summary__body { display: none; padding: 4px 16px 16px; max-height: 60vh; overflow-y: auto; }
.rpr-summary.is-open .rpr-summary__body { display: block; }
.rpr-summary h3 { color: var(--rpr-accent); }
.rpr-lines { margin: 0; }
.rpr-lines > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.rpr-lines dt, .rpr-lines dd { margin: 0; }
.rpr-lines small { color: #B6BFC9; }
.rpr-lines__sep { border-top: 1px solid #3A4A5A; margin-top: 4px; }
.rpr-lines__total { border-top: 2px solid var(--rpr-accent); margin-top: 6px; font-weight: 700; font-size: 1.1rem; }
.rpr-lines__total dd { color: var(--rpr-accent); }
.rpr-summary .rpr-help { color: #B6BFC9; }

/* Előnézeti ablak */
.rpr-modal { position: fixed; inset: 0; z-index: 100000; background: rgba(27, 39, 51, .88); overflow-y: auto; padding: 16px; }
.rpr-modal__box { position: relative; max-width: 460px; margin: 0 auto; background: var(--rpr-navy); padding: 56px 0 0; }
.rpr-modal__close { position: absolute; top: 8px; right: 8px; }
.rpr-modal__box img { display: block; width: 100%; height: auto; }
.rpr-modal__frame { display: block; width: 100%; height: calc(100vh - 110px); border: 0; background: #fff; }
.rpr-modal__ph { color: var(--rpr-light); padding: 32px 20px; text-align: center; }

@container rprwiz (min-width: 640px) {
	.rpr-stepper__label { display: block; }
	.rpr-stepper__btn { flex-direction: row; justify-content: center; gap: 8px; font-size: .9rem; }
	.rpr-grid { grid-template-columns: 1fr 2fr; }
	.rpr-checks { grid-template-columns: repeat(2, 1fr); }
	.rpr-cards { grid-template-columns: repeat(3, 1fr); }
}

@container rprwiz (min-width: 900px) {
	.rpr-wiz-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
	.rpr-summary { position: sticky; top: 24px; bottom: auto; left: auto; right: auto; box-shadow: none; }
	.rpr-summary__toggle { cursor: default; pointer-events: none; border-top: 0; }
	.rpr-summary__body { display: block; }
	.rpr-cards { grid-template-columns: repeat(3, 1fr); }
}
