.ri-reg-wrap {
	max-width: 640px;
	margin: 2rem auto;
	padding: 1.5rem;
}

.ri-reg-wrap h2 {
	margin: 0 0 1rem;
}

.ri-reg-note {
	color: #555;
	margin-bottom: 1rem;
}

.ri-reg-form .ri-field {
	margin: 0 0 1rem;
}

.ri-reg-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35rem;
}

.ri-reg-form input[type="text"],
.ri-reg-form input[type="email"],
.ri-reg-form input[type="tel"],
.ri-reg-form input[type="password"],
.ri-reg-form input[type="file"],
.ri-reg-form select {
	width: 100%;
	max-width: 100%;
	padding: 0.65rem 0.75rem;
	border: 1px solid #c9c9c9;
	border-radius: 4px;
	background: #fff;
}

.ri-reg-form select:invalid,
.ri-reg-form select option[value=""] {
	color: #888;
}

.ri-reg-form select option:not([value=""]) {
	color: #111;
}

.ri-reg-form small {
	display: block;
	margin-top: 0.25rem;
	color: #666;
	font-size: 0.85rem;
}

.ri-reg-form .req {
	color: #b00020;
}

.ri-reg-form .opt {
	font-weight: 400;
	color: #777;
}

.ri-reg-form fieldset {
	border: 1px solid #ddd;
	border-radius: 6px;
	padding: 1rem;
	margin: 0 0 1.25rem;
}

.ri-consents label {
	font-weight: 400;
	display: flex;
	gap: 0.5rem;
	align-items: flex-start;
	margin-bottom: 0.65rem;
}

.ri-submit button {
	appearance: none;
	border: 1px solid #5f8f2e;
	background: #82b541;
	background-color: #82b541;
	background-image: none;
	color: #fff;
	padding: 0.8rem 1.25rem;
	border-radius: 4px;
	cursor: pointer;
	font-weight: 600;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.28),
		inset 0 -1px 0 rgba(0, 0, 0, 0.12),
		0 1px 0 rgba(0, 0, 0, 0.08);
	transition: transform 0.18s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.ri-submit button:hover {
	background: #6fa336;
	background-color: #6fa336;
	border-color: #4f7a24;
	filter: none;
	transform: scale(1.06);
}

.ri-reg-notice {
	padding: 0.85rem 1rem;
	border-radius: 4px;
	margin-bottom: 1rem;
}

.ri-reg-error {
	background: #fdecea;
	color: #611a15;
	border: 1px solid #f5c2c0;
}

.ri-reg-success {
	background: #edf7ed;
	color: #1e4620;
	border: 1px solid #c3e6cb;
}

.ri-reg-success-wrap {
	max-width: 640px;
}

.ri-reg-success-panel {
	padding: 1.35rem 1.4rem;
}

.ri-reg-success-message {
	margin: 0 0 1rem;
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.45;
}

.ri-reg-success-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
}

.ri-reg-success-links a {
	display: inline-block;
	padding: 0.55rem 0.95rem;
	border-radius: 4px;
	border: 1px solid #5f8f2e;
	background: #82b541;
	background-color: #82b541;
	background-image: none;
	color: #fff !important;
	text-decoration: none;
	font-weight: 600;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.28),
		inset 0 -1px 0 rgba(0, 0, 0, 0.12),
		0 1px 0 rgba(0, 0, 0, 0.08);
	transition: transform 0.18s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.ri-reg-success-links a:hover,
.ri-reg-success-links a:focus {
	background: #6fa336;
	background-color: #6fa336;
	border-color: #4f7a24;
	filter: none;
	transform: scale(1.06);
}

.ri-hp {
	position: absolute;
	left: -10000px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.ri-consents a {
	color: inherit;
	text-decoration: underline;
}

.ri-checkout-consents {
	margin: 1rem 0 1.25rem;
}

.ri-checkout-consents .form-row label {
	display: flex;
	gap: 0.5rem;
	align-items: flex-start;
	font-weight: 400;
}
