/**
 * Sikeres Idősödés Tagság — checkout űrlap.
 * Semleges paletta: törtfehér felületek, meleg szürke keretek, grafit gomb.
 * A betűtípust a témától örökli, minden más önálló.
 */

.si-checkout,
.si-checkout * {
	box-sizing: border-box;
}

.si-checkout {
	max-width: 560px;
	margin: 0 auto;
	color: #37352f;
	line-height: 1.55;
	font-size: 16px;
}

/* Ár */
.si-checkout__price {
	text-align: center;
	margin: 0 0 22px;
	font-size: 1.05em;
	color: #6f6d66;
}

.si-checkout__price strong {
	display: block;
	font-size: 2em;
	color: #37352f;
	letter-spacing: -0.02em;
}

/* Szekciók */
.si-checkout fieldset {
	border: 1px solid #e6e4de;
	border-radius: 12px;
	background: #fdfdfc;
	padding: 22px 24px 10px;
	margin: 0 0 20px;
	min-width: 0;
}

.si-checkout legend {
	font-weight: 700;
	font-size: 1em;
	color: #37352f;
	padding: 0 10px;
	margin-left: -4px;
}

/* Fiók blokk */
.si-checkout__account--logged-in {
	background: #f4f4f1;
	border: 1px solid #e6e4de;
	border-radius: 12px;
	padding: 14px 18px;
	margin: 0 0 20px;
	font-size: 0.95em;
}

.si-checkout__account--logged-in a {
	color: #6f6d66;
	text-decoration: underline;
}

.si-checkout__intro {
	margin: 0 0 16px;
	font-size: 0.88em;
	color: #8a877e;
}

.si-checkout__intro a {
	color: #37352f;
	text-decoration: underline;
}

/* Mezők */
.si-field {
	margin: 0 0 16px;
}

.si-field > label {
	display: block;
	font-size: 0.85em;
	font-weight: 600;
	color: #6f6d66;
	margin-bottom: 6px;
	letter-spacing: 0.01em;
}

.si-field-row {
	display: flex;
	gap: 14px;
}

.si-field-row .si-field {
	flex: 1;
	min-width: 0;
}

.si-field-row .si-field--short {
	flex: 0 0 34%;
}

.si-input {
	display: block;
	width: 100%;
	padding: 11px 14px;
	font: inherit;
	font-size: 0.98em;
	color: #37352f;
	background: #fff;
	border: 1px solid #d9d6cf;
	border-radius: 8px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	appearance: none;
}

.si-input:focus {
	outline: none;
	border-color: #a09d94;
	box-shadow: 0 0 0 3px rgba(55, 53, 47, 0.08);
}

.si-input::placeholder {
	color: #b5b2a9;
}

.si-desc {
	display: block;
	margin-top: 5px;
	font-size: 0.8em;
	color: #a09d94;
}

/* Ország combobox */
.si-combobox {
	position: relative;
}

.si-combobox .si-input {
	padding-right: 38px;
}

.si-combobox__arrow {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: #a09d94;
	font-size: 0.8em;
	cursor: pointer;
	user-select: none;
	padding: 4px;
}

.si-combobox__list {
	position: absolute;
	z-index: 40;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	max-height: 230px;
	overflow-y: auto;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: #fff;
	border: 1px solid #d9d6cf;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(55, 53, 47, 0.12);
}

.si-combobox__list li {
	padding: 9px 12px;
	border-radius: 6px;
	cursor: pointer;
	font-size: 0.95em;
	color: #37352f;
	margin: 0;
}

.si-combobox__list li:hover,
.si-combobox__list li.is-active {
	background: #f0efeb;
}

/* Magánszemély / céges váltó */
.si-type-switch {
	display: flex;
	gap: 10px;
	margin: 2px 0 18px;
}

.si-type-switch label {
	flex: 1;
	text-align: center;
	padding: 10px 12px;
	border: 1px solid #d9d6cf;
	border-radius: 8px;
	background: #fff;
	color: #6f6d66;
	font-size: 0.92em;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.15s ease;
	user-select: none;
}

.si-type-switch label:has(input:checked) {
	background: #37352f;
	border-color: #37352f;
	color: #fff;
}

.si-type-switch input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

/* ÁSZF */
.si-checkout__terms {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin: 4px 0 18px;
	font-size: 0.88em;
	color: #6f6d66;
	cursor: pointer;
}

.si-checkout__terms input {
	margin-top: 3px;
	flex: none;
	width: 17px;
	height: 17px;
	accent-color: #37352f;
}

/* Gomb */
.si-checkout__submit {
	display: block;
	width: 100%;
	padding: 15px 20px;
	background: #37352f;
	color: #fff;
	border: none;
	border-radius: 8px;
	font: inherit;
	font-size: 1.05em;
	font-weight: 700;
	letter-spacing: 0.01em;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.05s ease;
}

.si-checkout__submit:hover {
	background: #23221e;
	color: #fff;
}

.si-checkout__submit:active {
	transform: translateY(1px);
}

.si-checkout__hint {
	margin: 12px 0 0;
	text-align: center;
	font-size: 0.82em;
	color: #a09d94;
}

/* Értesítések */
.si-notice {
	padding: 14px 18px;
	border-radius: 10px;
	margin: 0 0 18px;
	font-size: 0.95em;
	border: 1px solid;
}

.si-notice--error {
	background: #faf3f2;
	border-color: #e5cfcb;
	color: #8c4a42;
}

.si-notice--success {
	background: #f2f6f2;
	border-color: #cfdecf;
	color: #44603f;
}

.si-notice a {
	color: inherit;
	text-decoration: underline;
}

/* Tartalom-lista az űrlap alatt */
.si-checkout__schedule {
	margin-top: 30px;
	margin-bottom: 48px;
	padding: 22px 24px;
	border: 1px solid #e6e4de;
	border-radius: 12px;
	background: #f9f9f7;
}

.si-checkout__schedule h3 {
	margin: 0 0 14px;
	font-size: 1.1em;
	color: #37352f;
}

.si-checkout__schedule-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.si-checkout__schedule-list li {
	display: flex;
	align-items: baseline;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px dashed #e6e4de;
}

.si-checkout__schedule-list li:last-child {
	border-bottom: none;
}

.si-schedule-badge {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #e9e7e1;
	color: #6f6d66;
	font-size: 0.72em;
	font-weight: 700;
	transform: translateY(3px);
}

.si-schedule-title {
	font-weight: 600;
	color: #37352f;
}

.si-schedule-when {
	color: #8a877e;
	font-size: 0.88em;
}

/* Sikeres fizetés képernyő */
.si-success {
	max-width: 620px;
	margin: 24px auto 64px;
	padding: 44px 36px;
	text-align: center;
	border: 1px solid #e6e4de;
	border-radius: 16px;
	background: #fdfdfc;
	color: #37352f;
	line-height: 1.55;
}

.si-success__icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #eaf2e9;
	color: #44603f;
	font-size: 30px;
	font-weight: 700;
}

.si-success__title {
	margin: 0 0 12px;
	font-size: 1.5em;
	color: #37352f;
	letter-spacing: -0.01em;
}

.si-success__lead {
	margin: 0 auto 28px;
	max-width: 480px;
	color: #6f6d66;
}

.si-success h3 {
	margin: 0 0 14px;
	font-size: 1em;
	color: #37352f;
}

/* Azonnal elérhető tartalmak — hangsúlyos CTA-k */
.si-success__now {
	margin: 0 0 28px;
	padding: 22px;
	border-radius: 12px;
	background: #f2f6f2;
	border: 1px solid #cfdecf;
}

.si-success__cta {
	display: block;
	margin: 0 0 10px;
	padding: 14px 20px;
	border-radius: 8px;
	background: #37352f;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.15s ease;
}

.si-success__cta:last-child {
	margin-bottom: 0;
}

.si-success__cta:hover {
	background: #23221e;
	color: #fff;
}

/* Később érkező tartalmak */
.si-success__upcoming {
	margin: 0 0 28px;
	text-align: left;
	padding: 20px 22px;
	border-radius: 12px;
	background: #f9f9f7;
	border: 1px solid #e6e4de;
}

.si-success__upcoming ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.si-success__upcoming li {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	padding: 9px 0;
	border-bottom: 1px dashed #e6e4de;
}

.si-success__upcoming li:last-child {
	border-bottom: none;
}

.si-success__upcoming .si-desc {
	margin-top: 10px;
	text-align: center;
}

/* Fiók-blokk */
.si-success__account {
	margin-top: 8px;
	padding-top: 24px;
	border-top: 1px solid #eeece6;
}

.si-success__account p {
	margin: 0 auto 14px;
	max-width: 420px;
	font-size: 0.92em;
	color: #6f6d66;
}

.si-success__account-btn {
	display: inline-block;
	padding: 13px 34px;
	border: 1px solid #37352f;
	border-radius: 8px;
	background: #fff;
	color: #37352f;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.15s ease;
}

.si-success__account-btn:hover {
	background: #37352f;
	color: #fff;
}

/* Mobil */
@media (max-width: 520px) {
	.si-success {
		padding: 30px 20px;
	}

	.si-checkout fieldset {
		padding: 18px 16px 6px;
	}

	.si-field-row {
		flex-direction: column;
		gap: 0;
	}

	.si-field-row .si-field--short {
		flex: 1;
	}
}
