.sr-registration-form-wrapper {
	--sr-navy: #081b3a;
	--sr-navy-soft: #10294f;
	--sr-orange: #f47b20;
	--sr-orange-dark: #d86514;
	--sr-white: #ffffff;
	--sr-muted: #5b6677;
	--sr-border: #dce2eb;
	--sr-error: #b42318;
	--sr-success: #146c43;
	box-sizing: border-box;
	max-width: 760px;
	margin: 28px auto;
	padding: 0 16px;
	color: var(--sr-navy);
	font-family: inherit;
}

.sr-registration-form-wrapper *,
.sr-registration-form-wrapper *::before,
.sr-registration-form-wrapper *::after {
	box-sizing: border-box;
}

.sr-registration-card {
	overflow: hidden;
	border: 1px solid rgba(8, 27, 58, 0.12);
	border-radius: 8px;
	background: var(--sr-white);
	box-shadow: 0 18px 48px rgba(8, 27, 58, 0.14);
}

.sr-registration-header {
	padding: 30px 30px 24px;
	text-align: center;
	background: linear-gradient(135deg, var(--sr-navy) 0%, var(--sr-navy-soft) 72%, #173765 100%);
	color: var(--sr-white);
}

.sr-registration-logo {
	display: block;
	width: 96px;
	height: auto;
	margin: 0 auto 14px;
}

.sr-registration-header h2 {
	margin: 0;
	color: var(--sr-white);
	font-size: 28px;
	line-height: 1.2;
	font-weight: 800;
	letter-spacing: 0;
}

.sr-registration-header p {
	max-width: 560px;
	margin: 10px auto 0;
	color: rgba(255, 255, 255, 0.86);
	font-size: 16px;
	line-height: 1.5;
}

.sr-registration-form {
	display: grid;
	gap: 18px;
	padding: 28px 30px 32px;
	background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.sr-field {
	display: grid;
	gap: 7px;
	min-width: 0;
}

.sr-field label {
	margin: 0;
	color: var(--sr-navy);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
}

.sr-required {
	color: var(--sr-orange);
}

.sr-registration-form input[type="text"],
.sr-registration-form input[type="email"],
.sr-registration-form input[type="tel"],
.sr-registration-form input[type="number"],
.sr-registration-form select,
.sr-registration-form textarea {
	width: 100%;
	min-height: 50px;
	margin: 0;
	border: 1px solid var(--sr-border);
	border-radius: 6px;
	background: var(--sr-white);
	color: var(--sr-navy);
	font-size: 16px;
	line-height: 1.4;
	padding: 12px 14px;
	box-shadow: none;
	outline: none;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.sr-registration-form textarea {
	min-height: 118px;
	resize: vertical;
}

.sr-registration-form input:focus,
.sr-registration-form select:focus,
.sr-registration-form textarea:focus {
	border-color: var(--sr-orange);
	box-shadow: 0 0 0 3px rgba(244, 123, 32, 0.18);
}

.sr-registration-form select:disabled,
.sr-registration-form option:disabled {
	color: #8a93a3;
}

.sr-checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px;
	border: 1px solid var(--sr-border);
	border-radius: 6px;
	background: #ffffff;
	cursor: pointer;
}

.sr-checkbox-label input {
	width: 20px;
	height: 20px;
	margin: 1px 0 0;
	accent-color: var(--sr-orange);
	flex: 0 0 auto;
}

.sr-checkbox-label span {
	color: var(--sr-navy);
	font-size: 15px;
	line-height: 1.45;
}

.sr-checkbox-label a {
	color: var(--sr-orange-dark);
	font-weight: 700;
	text-decoration: underline;
}

.sr-field-error {
	min-height: 18px;
	color: var(--sr-error);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
}

.sr-field-has-error input,
.sr-field-has-error select,
.sr-field-has-error textarea,
.sr-field-has-error .sr-checkbox-label {
	border-color: var(--sr-error);
}

.sr-submit-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 54px;
	margin-top: 4px;
	border: 0;
	border-radius: 6px;
	background: var(--sr-orange);
	color: var(--sr-white);
	font-size: 17px;
	font-weight: 800;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 0;
	cursor: pointer;
	box-shadow: 0 10px 24px rgba(244, 123, 32, 0.28);
	transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.sr-submit-button:hover,
.sr-submit-button:focus {
	background: var(--sr-orange-dark);
	color: var(--sr-white);
	transform: translateY(-1px);
	box-shadow: 0 12px 28px rgba(244, 123, 32, 0.34);
}

.sr-submit-button:disabled {
	opacity: 0.72;
	cursor: wait;
	transform: none;
}

.sr-form-message {
	padding: 0 30px;
	background: #ffffff;
}

.sr-message {
	margin: 22px 0 0;
	padding: 14px 16px;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.45;
}

.sr-message-success {
	border: 1px solid rgba(20, 108, 67, 0.22);
	background: #ecf8f1;
	color: var(--sr-success);
}

.sr-message-error {
	border: 1px solid rgba(180, 35, 24, 0.22);
	background: #fff1f0;
	color: var(--sr-error);
}

.sr-hp-field {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

@media (max-width: 640px) {
	.sr-registration-form-wrapper {
		margin: 18px auto;
		padding: 0 12px;
	}

	.sr-registration-header {
		padding: 24px 18px 20px;
	}

	.sr-registration-logo {
		width: 82px;
	}

	.sr-registration-header h2 {
		font-size: 23px;
	}

	.sr-registration-header p {
		font-size: 15px;
	}

	.sr-registration-form {
		gap: 16px;
		padding: 22px 18px 24px;
	}

	.sr-form-message {
		padding: 0 18px;
	}

	.sr-submit-button {
		font-size: 15px;
	}
}
