.dpf-user-registration {
	max-width: 420px;
	margin: 0;
	color: #2a3340;
	font-size: 16px;
	line-height: 1.5;
	position: relative;
}

.dpf-user-registration *,
.dpf-user-registration *::before,
.dpf-user-registration *::after {
	box-sizing: border-box;
}

.dpf-user-registration__notice {
	margin-bottom: 18px;
	padding: 14px 16px;
	border-radius: 12px;
	border: 1px solid transparent;
}

.dpf-user-registration__notice--error {
	background: #fff1f0;
	border-color: #f1c5c1;
	color: #9c2f2f;
}

.dpf-user-registration__notice--success {
	background: #eef9f0;
	border-color: #b8dcbf;
	color: #1f6b34;
}

.dpf-user-registration__message-list {
	margin: 0;
	padding-left: 18px;
}

.dpf-user-registration__messages:empty {
	display: none;
}

.dpf-user-registration-form {
	display: grid;
	gap: 18px;
}

.dpf-user-registration__field {
	display: grid;
	gap: 6px;
}

.dpf-user-registration__label {
	font-weight: 500;
	color: #5c6672;
}

.dpf-user-registration__required {
	color: #7b8a98;
	margin-left: 4px;
}

.dpf-user-registration__input {
	width: 100%;
	min-height: 52px;
	padding: 14px 16px;
	border: 1px solid #8da0b6;
	border-radius: 3px;
	background: #eef4ff;
	color: #1f2c3b;
	box-shadow: none;
}

.dpf-user-registration__input:focus {
	border-color: #5678a8;
	outline: 2px solid rgba(86, 120, 168, 0.2);
	outline-offset: 0;
	background: #f7faff;
}

.dpf-user-registration__password-wrap {
	position: relative;
	display: flex;
	align-items: center;
}

.dpf-user-registration__input--password {
	padding-right: 52px;
}

.dpf-user-registration .dpf-user-registration__toggle {
	position: absolute;
	right: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid #d1ddea !important;
	border-radius: 999px;
	background: #f8fbff !important;
	color: #687486;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	box-shadow: none !important;
	outline: none;
}

.dpf-user-registration .dpf-user-registration__toggle:hover,
.dpf-user-registration .dpf-user-registration__toggle:focus {
	border-color: #9cb1c8 !important;
	background: #ffffff !important;
	color: #415469;
	transform: none;
}

.dpf-user-registration__toggle-icon {
	width: 18px;
	height: 18px;
	stroke: currentColor;
	stroke-width: 1.7;
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.dpf-user-registration .dpf-user-registration__submit {
	width: fit-content;
	min-width: 96px;
	padding: 12px 24px;
	border: 0 !important;
	border-radius: 999px;
	background: #2f9d55 !important;
	color: #ffffff !important;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out;
	appearance: none;
	-webkit-appearance: none;
	box-shadow: none !important;
	text-shadow: none;
	text-decoration: none;
}

.dpf-user-registration .dpf-user-registration__submit:hover,
.dpf-user-registration .dpf-user-registration__submit:focus {
	background: #257c43;
	color: #ffffff;
	transform: translateY(-1px);
}

.dpf-user-registration .dpf-user-registration__submit:disabled {
	opacity: 0.75;
	cursor: wait;
	transform: none;
}

.dpf-user-registration__overlay[hidden] {
	display: none;
}

.dpf-user-registration__overlay {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.35);
}

.dpf-user-registration__overlay-indicator {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 16px 20px;
	border-radius: 16px;
	background: #ffffff;
	border: 1px solid #d7e0e8;
	box-shadow: 0 16px 40px rgba(31, 44, 59, 0.14);
	color: #1f2c3b;
}

.dpf-user-registration__spinner {
	width: 20px;
	height: 20px;
	border: 2px solid #d5dfe8;
	border-top-color: #2f9d55;
	border-radius: 50%;
	animation: dpf-user-registration-spin 0.8s linear infinite;
}

.dpf-user-registration__overlay-text {
	font-weight: 600;
}

@keyframes dpf-user-registration-spin {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

.dpf-user-registration__trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

@media (max-width: 480px) {
	.dpf-user-registration {
		max-width: 100%;
	}

	.dpf-user-registration__submit {
		width: 100%;
		justify-content: center;
	}
}