@charset "UTF-8";
/* /register (newSite/login/registerUser.xhtml) only. Same visual language as the support/dissatisfaction dialogs. */

.rg-page {
	--rg-green: #087b49;
	--rg-green-dark: #066a3f;
	--rg-green-soft: #e8f4ed;
	--rg-border: #cfe0d6;
	--rg-text: #233c31;
	--rg-muted: #5b7468;
	--rg-danger: #c0392b;
	box-sizing: border-box;
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 24px 16px 48px;
	direction: rtl;
	color: var(--rg-text);
}

.rg-page *,
.rg-page *::before,
.rg-page *::after {
	box-sizing: border-box;
}

/* ---------- Hero ---------- */
.rg-hero {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
	text-align: center;
}

.rg-hero-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 18px;
	background: linear-gradient(135deg, #087b49, #0ea169);
	color: #fff;
	font-size: 26px;
	box-shadow: 0 10px 24px rgba(8, 123, 73, .25);
}

.rg-hero-title {
	margin: 0;
	color: #14523a;
	font-size: 22px;
	font-weight: 800;
	line-height: 1.7;
}

.rg-steps {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 8px;
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
	counter-reset: rg-step;
}

.rg-steps li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px 4px 12px;
	border: 1px solid var(--rg-border);
	border-radius: 999px;
	background: #fff;
	color: var(--rg-muted);
	font-size: 12px;
	counter-increment: rg-step;
}

.rg-steps li {
	transition: background .2s, border-color .2s, color .2s;
}

.rg-steps li::before {
	content: counter(rg-step);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--rg-green-soft);
	color: var(--rg-green);
	font-size: 11px;
	font-weight: 700;
}

/* Completed step: green pill with a tick. */
.rg-steps li.rg-done {
	border-color: #9fd0b6;
	background: var(--rg-green-soft);
	color: #0b5c38;
	font-weight: 700;
}

.rg-steps li.rg-done::before {
	content: "\2713";
	background: var(--rg-green);
	color: #fff;
}

/* ---------- Cards ---------- */
.rg-card {
	margin-bottom: 18px;
	padding: 20px;
	border: 1px solid #dbe9e1;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 4px 18px rgba(18, 52, 36, .06);
}

.rg-card-head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: -4px 0 18px;
	padding-bottom: 14px;
	border-bottom: 1px solid #edf3ef;
}

.rg-step-no {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	border-radius: 10px;
	background: var(--rg-green);
	color: #fff;
	font-size: 14px;
	font-weight: 800;
}

.rg-card.rg-done {
	border-color: #b7dcc8;
}

.rg-card.rg-done .rg-step-no {
	font-size: 0;
}

.rg-card.rg-done .rg-step-no::before {
	content: "\2713";
	font-size: 16px;
}

.rg-card-title {
	margin: 0;
	color: #14523a;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.7;
}

.rg-row-2 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	align-items: start;
	margin-bottom: 18px;
}

.rg-row-2 > .rg-card {
	margin-bottom: 0;
	height: 100%;
}

.rg-row-3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin-bottom: 18px;
}

.rg-row-3 > .rg-card {
	margin-bottom: 0;
}

/* ---------- Field grid ---------- */
.rg-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px 18px;
}

.rg-grid-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rg-field-wide-2 {
	grid-column: span 2;
}

.rg-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.rg-pair {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.rg-label,
.rg-page .ui-outputlabel.rg-label {
	display: block;
	margin: 0;
	color: #294c38;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.8;
	text-align: right;
}

.rg-req,
.rg-page .ui-outputlabel-rfi {
	margin-inline-start: 3px;
	color: var(--rg-danger);
}

/* ---------- Controls (PrimeFaces + legacy classes) ---------- */
.rg-page input.ui-inputfield,
.rg-page textarea.ui-inputfield,
.rg-page .ui-password input,
.rg-page .ui-selectonemenu {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	height: 48px;
	margin: 0 !important;
	padding: 0 14px !important;
	border: 1px solid var(--rg-border) !important;
	border-radius: 12px !important;
	background: #fff !important;
	background-image: none !important;
	box-shadow: none !important;
	color: var(--rg-text) !important;
	font-family: inherit;
	font-size: 14px !important;
	text-shadow: none !important;
	transition: border-color .15s, box-shadow .15s;
}

.rg-page textarea.ui-inputfield {
	height: auto;
	min-height: 112px;
	padding: 12px 14px !important;
	line-height: 1.9;
	resize: vertical;
}

.rg-page input.ui-inputfield::placeholder,
.rg-page textarea.ui-inputfield::placeholder {
	color: #9aaea4;
	opacity: 1;
}

.rg-page input.ui-inputfield:hover,
.rg-page textarea.ui-inputfield:hover,
.rg-page .ui-selectonemenu:hover {
	border-color: #a9cbb8 !important;
}

.rg-page input.ui-inputfield:focus,
.rg-page textarea.ui-inputfield:focus,
.rg-page .ui-selectonemenu.ui-state-focus {
	border-color: var(--rg-green) !important;
	box-shadow: 0 0 0 3px rgba(8, 123, 73, .14) !important;
	outline: none;
}

.rg-page input.ui-state-error,
.rg-page textarea.ui-state-error,
.rg-page .ui-selectonemenu.ui-state-error,
.rg-page .rg-has-error input.ui-inputfield {
	border-color: #dc3545 !important;
	background-color: #fff8f8 !important;
}

/* Select: chevron on the left, legacy nice-select decorations off. */
.rg-page .ui-selectonemenu {
	display: flex !important;
	align-items: center;
	padding: 0 14px 0 40px !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a7a63' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: left 14px center !important;
	background-size: 16px 16px !important;
	cursor: pointer;
}

.rg-page .ui-selectonemenu::before,
.rg-page .ui-selectonemenu::after {
	content: none !important;
	display: none !important;
}

.rg-page .ui-selectonemenu .ui-selectonemenu-label {
	width: 100% !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--rg-text) !important;
	font-size: 14px !important;
	line-height: 1.9;
	text-align: right;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	cursor: pointer;
}

.rg-page .ui-selectonemenu .ui-selectonemenu-trigger {
	display: none !important;
}

.ui-selectonemenu-panel.rg-ddl-panel {
	direction: rtl;
	border: 1px solid #cfe0d6 !important;
	border-radius: 12px !important;
	padding: 6px !important;
	background: #fff !important;
	box-shadow: 0 12px 32px rgba(18, 52, 36, .16) !important;
	overflow: hidden;
}

.ui-selectonemenu-panel.rg-ddl-panel .ui-selectonemenu-items-wrapper {
	max-height: 260px !important;
	overflow-y: auto;
}

.ui-selectonemenu-panel.rg-ddl-panel .ui-selectonemenu-filter-container {
	width: 100%;
	margin-bottom: 6px;
}

.ui-selectonemenu-panel.rg-ddl-panel .ui-selectonemenu-filter {
	width: 100% !important;
	height: 40px;
	padding: 0 12px !important;
	border: 1px solid #cfe0d6 !important;
	border-radius: 9px !important;
	box-shadow: none !important;
}

.ui-selectonemenu-panel.rg-ddl-panel .ui-selectonemenu-list {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
}

.ui-selectonemenu-panel.rg-ddl-panel .ui-selectonemenu-item {
	margin: 0 !important;
	padding: 10px 12px !important;
	border: 0 !important;
	border-radius: 8px !important;
	background: transparent !important;
	color: #233c31 !important;
	font-size: 14px !important;
	line-height: 1.9 !important;
	text-align: right !important;
	text-shadow: none !important;
}

.ui-selectonemenu-panel.rg-ddl-panel .ui-selectonemenu-item.ui-state-highlight,
.ui-selectonemenu-panel.rg-ddl-panel .ui-selectonemenu-item:hover {
	background: #e8f4ed !important;
	color: #0b5c38 !important;
	font-weight: 600;
}

/* Input with an add-on button/icon (national code refresh, date picker). */
.rg-input-group {
	position: relative;
	display: flex;
	align-items: stretch;
}

.rg-input-group input.ui-inputfield {
	padding-left: 52px !important;
}

.rg-input-addon {
	position: absolute;
	top: 6px;
	bottom: 6px;
	left: 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	border-radius: 9px;
	background: var(--rg-green-soft);
	color: var(--rg-green) !important;
	font-size: 17px;
	text-decoration: none !important;
	cursor: pointer;
	transition: background .15s;
}

a.rg-input-addon:hover {
	background: #d6ebdf;
}

a.rg-input-addon:focus-visible {
	outline: 2px solid var(--rg-green);
	outline-offset: 2px;
}

.rg-input-addon-static {
	pointer-events: none;
	background: transparent;
	color: #7f988b !important;
}

/* p:password wraps the input in a span. */
.rg-page .ui-password {
	display: block;
	width: 100%;
}

/* Inline validation */
.rg-hint-error:empty {
	display: none;
}

.rg-hint-error {
	color: var(--rg-danger);
	font-size: 12px;
	line-height: 1.7;
}

.rg-page .ui-message {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
}

.rg-page .ui-message-error-detail,
.rg-page .ui-message-error {
	color: var(--rg-danger) !important;
	font-size: 12px;
}

/* ---------- Introducer: segmented choice ---------- */
.rg-page .rg-segment,
.rg-page .rg-segment tbody {
	display: block;
	width: 100%;
	border: 0;
}

.rg-page .rg-segment tbody {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px;
	padding: 4px;
	border-radius: 12px;
	background: #f2f8f4;
}

.rg-page .rg-segment tr,
.rg-page .rg-segment td {
	display: block;
	padding: 0;
	border: 0;
	background: transparent;
}

.rg-page .rg-segment td {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 42px;
	padding: 6px 10px;
	border-radius: 9px;
	cursor: pointer;
}

.rg-page .rg-segment td:has(.ui-state-active),
.rg-page .rg-segment td:has(input:checked) {
	background: #fff;
	box-shadow: 0 2px 8px rgba(18, 52, 36, .1);
}

.rg-page .rg-segment label {
	margin: 0;
	color: var(--rg-text);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.6;
	cursor: pointer;
}

.rg-page .rg-segment .ui-radiobutton-box {
	border-color: #a9cbb8;
}

.rg-page .rg-segment .ui-radiobutton-box.ui-state-active {
	border-color: var(--rg-green);
	background: var(--rg-green);
}

.rg-page #registerUserForm\:IntroducerData,
.rg-page [id$="IntroducerData"] {
	margin-top: 4px;
}

.rg-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 6px;
	color: var(--rg-green) !important;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none !important;
}

.rg-link:hover {
	text-decoration: underline !important;
}

/* ---------- Terms + submit ---------- */
.rg-submit-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
	align-items: center;
	gap: 18px 28px;
}

.rg-terms {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.rg-check {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 16px;
	border: 1.5px solid #dfe9e3;
	border-radius: 14px;
	background: #fff;
	cursor: pointer;
	user-select: none;
	transition: border-color .15s, background .15s, box-shadow .15s;
}

.rg-check:hover {
	border-color: #a9cbb8;
	background: #fbfefc;
}

/* Checked */
.rg-check:has(.ui-chkbox-box.ui-state-active) {
	border-color: var(--rg-green);
	background: #f1f9f4;
	box-shadow: 0 0 0 3px rgba(8, 123, 73, .08);
}

/* Left unchecked after submit */
.rg-check:has(.ui-chkbox-box.ui-state-error),
.rg-check:has(.ui-state-error) {
	border-color: #e8a0a0;
	background: #fff8f8;
}

.rg-check .ui-chkbox {
	flex: 0 0 auto;
	margin-top: 2px;
}

/* The checkbox keeps Bootstrap's "form-check-input" class: on this wrapper div it drew a second
   1em bordered square behind the box and shifted it. Neutralise it here. */
.rg-check .ui-chkbox.form-check-input {
	float: none !important;
	width: auto !important;
	height: auto !important;
	margin: 2px 0 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	box-shadow: none !important;
	-webkit-appearance: none;
	appearance: none;
	vertical-align: top;
}

.rg-check .ui-chkbox-box {
	position: relative;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 24px !important;
	height: 24px !important;
	border: 2px solid #a9cbb8 !important;
	border-radius: 7px !important;
	background: #fff !important;
	background-image: none !important;
	box-shadow: none !important;
	transition: background .15s, border-color .15s;
}

.rg-check .ui-chkbox-box.ui-state-hover {
	border-color: var(--rg-green) !important;
}

.rg-check .ui-chkbox-box.ui-state-active {
	border-color: var(--rg-green) !important;
	background: var(--rg-green) !important;
}

.rg-check .ui-chkbox-box.ui-state-focus {
	box-shadow: 0 0 0 3px rgba(8, 123, 73, .2) !important;
}

/* Own tick (PF 6.2 sprite / PF 15 font icon are hidden). */
.rg-check .ui-chkbox-icon {
	position: static !important;
	width: 7px !important;
	height: 12px !important;
	margin: -3px 0 0 !important;
	border: solid transparent;
	border-width: 0 2.5px 2.5px 0;
	background: none !important;
	transform: rotate(45deg);
	font-size: 0 !important;
}

.rg-check .ui-chkbox-icon::before {
	content: none !important;
}

.rg-check .ui-chkbox-box.ui-state-active .ui-chkbox-icon {
	border-color: #fff;
}

.rg-check-text {
	flex: 1 1 auto;
	color: var(--rg-text);
	font-size: 13.5px;
	line-height: 2;
	text-align: right;
}

.rg-check-text a {
	color: var(--rg-green);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.rg-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0 !important;
	padding: 0 !important;
}

.rg-actions .ui-messages {
	margin: 0;
}

.rg-page .rg-actions .btn.btn-success.rg-submit {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 54px;
	margin: 0;
	border: 0;
	border-radius: 14px;
	background: linear-gradient(135deg, #087b49, #0ea169);
	color: #fff !important;
	font-size: 16px;
	font-weight: 800;
	text-decoration: none;
	box-shadow: 0 10px 22px rgba(8, 123, 73, .24);
	transition: transform .15s, box-shadow .15s;
}

.rg-page .rg-actions .btn.btn-success.rg-submit:hover {
	box-shadow: 0 12px 26px rgba(8, 123, 73, .32);
	transform: translateY(-1px);
}

.rg-page .rg-actions .btn.btn-success.rg-submit:focus-visible {
	outline: 3px solid rgba(8, 123, 73, .35);
	outline-offset: 3px;
}

/* ---------- SMS confirmation dialog ---------- */
.rg-sms-dialog.ui-dialog {
	width: min(440px, calc(100vw - 32px)) !important;
	border: 0;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 24px 80px rgba(18, 52, 36, .24);
	direction: rtl;
}

.rg-sms-dialog .ui-dialog-titlebar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 56px;
	padding: 0 18px;
	border: 0;
	border-radius: 0;
	background: linear-gradient(135deg, #087b49, #0ea169);
}

.rg-sms-dialog .ui-dialog-title {
	color: #fff;
	font-size: 15px;
	font-weight: 700;
}

.rg-sms-dialog .ui-dialog-titlebar-icon {
	position: static !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 34px !important;
	height: 34px !important;
	margin: 0 !important;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .16);
}

.rg-sms-dialog .ui-dialog-titlebar-icon .ui-icon {
	position: static !important;
	margin: 0 !important;
	filter: invert(1) brightness(2);
}

.rg-sms-dialog .ui-dialog-content {
	padding: 20px !important;
	background: #fff;
}

.rg-sms-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.rg-sms-text {
	color: #294c38;
	font-size: 13.5px;
	line-height: 2;
	text-align: right;
}

.rg-sms-form input.rg-sms-code {
	width: 100% !important;
	height: 52px;
	border: 1px solid #cfe0d6 !important;
	border-radius: 12px !important;
	box-shadow: none !important;
	font-size: 22px !important;
	font-weight: 700;
	letter-spacing: 6px;
	text-align: center;
	direction: ltr;
}

.rg-sms-form input.rg-sms-code:focus {
	border-color: #087b49 !important;
	box-shadow: 0 0 0 3px rgba(8, 123, 73, .14) !important;
	outline: none;
}

.rg-sms-form .ui-button.rg-sms-submit {
	width: 100%;
	height: 48px;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 12px !important;
	background: #087b49 !important;
	background-image: none !important;
	color: #fff !important;
	font-weight: 700;
	text-shadow: none !important;
}

.rg-sms-form .ui-button.rg-sms-submit .ui-button-text {
	padding: 0;
	font-size: 15px;
	line-height: 48px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.rg-row-2 {
		grid-template-columns: minmax(0, 1fr);
	}

	.rg-row-2 > .rg-card {
		height: auto;
	}
}

@media (max-width: 1100px) {
	.rg-row-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rg-row-3 > .rg-card:last-child {
		grid-column: 1 / -1;
	}

	.rg-row-3 > .rg-card:last-child .rg-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.rg-grid-3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/* Two columns: keep pairs side by side, only the address spans the row. */
	.rg-grid-3 .rg-field-wide-2 {
		grid-column: auto;
	}

	.rg-grid-3 .rg-field-full {
		grid-column: 1 / -1;
	}

	.rg-submit-card {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 680px) {
	.rg-page {
		padding: 16px 12px 32px;
	}

	.rg-hero-title {
		font-size: 19px;
	}

	/* Progress stays visible on phones: one scrollable line. */
	.rg-steps {
		flex-wrap: nowrap;
		justify-content: flex-start;
		width: calc(100% + 24px);
		margin: 4px -12px 0;
		padding: 2px 12px 6px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.rg-steps::-webkit-scrollbar {
		display: none;
	}

	.rg-steps li {
		flex: 0 0 auto;
		white-space: nowrap;
	}

	.rg-check {
		padding: 12px;
	}

	.rg-card {
		padding: 16px 14px;
		border-radius: 16px;
	}

	.rg-card-head {
		margin-bottom: 14px;
		padding-bottom: 12px;
	}

	.rg-row-3 {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
		margin-bottom: 14px;
	}

	.rg-row-3 > .rg-card:last-child .rg-grid,
	.rg-grid-3 {
		grid-template-columns: minmax(0, 1fr);
	}

	.rg-grid {
		gap: 14px;
	}

	.rg-field-wide-2,
	.rg-grid-3 .rg-field-wide-2,
	.rg-grid-3 .rg-field-full {
		grid-column: auto;
	}

	/* 16px stops iOS from zooming into the field. */
	.rg-page input.ui-inputfield,
	.rg-page textarea.ui-inputfield,
	.rg-page .ui-password input,
	.rg-page .ui-selectonemenu .ui-selectonemenu-label {
		font-size: 16px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rg-page .rg-actions .btn.btn-success.rg-submit {
		transition: none;
	}
}

/* ---------- /register_sponsor (registerHamiRequest.xhtml) ---------- */
.rg-page.rg-narrow {
	max-width: 760px;
}

.rg-grid-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rg-grid-2 .rg-field-full {
	grid-column: 1 / -1;
}

.rg-info {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 18px;
	padding: 14px 16px;
	border: 1px solid #cfe3f3;
	border-right: 4px solid #2b7bbf;
	border-radius: 14px;
	background: #f1f7fd;
	color: #1f3d56;
	font-size: 13.5px;
	line-height: 2;
}

.rg-info > .bi {
	flex: 0 0 auto;
	margin-top: 3px;
	color: #2b7bbf;
	font-size: 18px;
}

.rg-info p {
	margin: 0;
	text-align: right;
}

.rg-info a {
	color: var(--rg-green);
	font-weight: 700;
	text-decoration: underline;
}

.rg-actions-inline {
	margin-top: 20px !important;
}

.rg-actions-inline .rg-submit {
	max-width: 320px;
	margin-inline-start: auto !important;
}

@media (max-width: 680px) {
	.rg-grid-2 {
		grid-template-columns: minmax(0, 1fr);
	}

	.rg-grid-2 .rg-field-full {
		grid-column: auto;
	}

	.rg-actions-inline .rg-submit {
		max-width: none;
	}
}

/* Registration intro: a compact, responsive title and progress card. */
.rg-page .rg-hero {
 display:grid; grid-template-columns:56px minmax(0,1fr); align-items:center;
 gap:16px; padding:24px; margin:0 0 24px; text-align:right;
 border:1px solid #cfe1d5; border-radius:22px;
 background:linear-gradient(125deg,#f7fbf7,#e8f3eb);
 box-shadow:inset 0 1px 0 #fff,0 6px 20px rgba(18,65,40,.06);
}
.rg-page .rg-hero-icon {
 grid-column:1; grid-row:1; width:56px; height:56px; margin:0;
 border-radius:17px; font-size:26px; box-shadow:0 5px 12px rgba(8,123,73,.16);
}
.rg-page .rg-hero-title {
 grid-column:2; grid-row:1; min-width:0; margin:0; font-size:clamp(20px,2.2vw,27px);
 color:#154e36; line-height:1.7; text-wrap:balance;
}
.rg-page .rg-hero .rg-steps {
 grid-column:1 / -1; display:grid; grid-template-columns:repeat(5,minmax(0,1fr));
 gap:10px; width:100%; padding:18px 0 0; margin:2px 0 0; border-top:1px solid #cfe1d5;
}
.rg-page .rg-hero .rg-steps li {
 min-width:0; min-height:46px; justify-content:flex-start; gap:8px; padding:9px 10px;
 border:1px solid #d6e5dc; border-radius:12px; background:rgba(255,255,255,.86);
 color:#3c5e4e; font-size:13px; line-height:1.7;
}
.rg-page .rg-hero .rg-steps li::before {
 flex:0 0 26px; width:26px; height:26px; font-size:12px; margin:0;
}
.rg-page .rg-hero .rg-steps li.rg-done {
 background:#dcefe2; border-color:#94c6a9; color:#105c37;
}
@media(max-width:767px) {
 .rg-page .rg-hero { grid-template-columns:44px minmax(0,1fr); padding:18px 14px; gap:12px; border-radius:18px; margin-bottom:18px; }
 .rg-page .rg-hero-icon { width:44px; height:44px; border-radius:14px; font-size:22px; }
 .rg-page .rg-hero-title { font-size:20px; line-height:1.8; }
 .rg-page .rg-hero .rg-steps { display:flex; flex-wrap:wrap; justify-content:flex-start; gap:8px; padding-top:14px; }
 .rg-page .rg-hero .rg-steps li { flex:1 1 calc(50% - 8px); min-height:44px; padding:8px; font-size:12px; }
 .rg-page .rg-hero .rg-steps li:last-child { flex-grow:0; }
}
@media(max-width:359px) {
 .rg-page .rg-hero { padding:16px 10px; gap:10px; }
 .rg-page .rg-hero-title { font-size:18px; }
 .rg-page .rg-hero .rg-steps li { font-size:11px; gap:5px; }
}
