[type="email"],
[type="number"],
[type="password"],
[type="text"],
select,
textarea {
	border: 2px solid #cccccc;
	box-sizing: border-box;
	display: block;
	font-size: inherit;
	padding: 10px 6px;
	width: 100%;
}

.page-wrap {
	display: grid;
	color: #5f5f5f;
}

.ht-of--title,
.page-wrap {
	text-align: center;
}

.ht-rp--content {
	margin: 0 auto;
	max-width: 320px;
	padding: 0 20px;
}

.registration-success {
	color: #391;
	margin: 0 auto;
	max-width: 320px;
}

.hidden,
.hide-loader {
	display: none;
}

.registration-form {
	display: flex;
	justify-content: center;
}

.ht-rp--main-field {
	display: flex;
	justify-content: flex-start;
	gap: 2em;
}

.ht-rp--main-field :where(label) {
	display: flex;
	height: 2.5em;
	width: 8em;
}

.middleColumn {
	overflow: hidden;
	width: 20em;
}

.ht-rp--main-field {
	margin-bottom: 5px;
	margin-right: 10em;
	overflow: hidden;
}

.nolabel > :first-child {
	width: auto;
}

.password {
	display: flex;
	gap: 2em;
	margin-bottom: 5px;
	overflow: hidden;
}

.action {
	background-color: #000000;
	border: 0;
	box-sizing: border-box;
	color: #ffffff;
	cursor: pointer;
	display: inline-block;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.2ch;
	padding: 12px 16px;
	text-align: center;
	text-transform: uppercase;
	transition: opacity 0.4s;
}
.fieldgroup,
.field:where(.registration-form-checkbox) {
	width: 20em;
	text-align: left;
	margin: 0 auto 0.8em;
}

.registration-form-checkbox :where(a) {
	color: #5f5f5f;
	font-weight: bold;
	text-decoration: none;
}

.loader {
	position: fixed;
	width: 100%;
	height: 100vh;
	top: 0;
	left: 0;
	z-index: 1;
	backdrop-filter: blur(5px);
}

.loader::before {
	position: fixed;
	content: "";
	top: 50%;
	left: 50%;
	transform: translate(-50%);
	z-index: 10;
	font-size: 1.5em;
	border: 3px solid rgba(74, 165, 239, 0.1);
	border-top-color: rgba(74, 165, 239, 1);
	border-radius: 100%;
	height: 64px;
	width: 64px;
	animation: loading-spinner 0.4s infinite linear;
	box-sizing: border-box;
	display: block;
}

@media screen and (max-width: 767px) {
	.ht-rp--main-field,
	.password {
		margin: 0 0 0.5em 0;
		flex-direction: column;
		gap: 0;
	}

	.ht-rp--main-field :where(label) {
		height: auto;
		width: auto;
	}

	.middleColumn,
	.fieldgroup,
	.field:where(.registration-form-checkbox) {
		width: auto;
	}
}
