/*
	Формы регистрации и восстановления.

	Оболочка страницы — секция, бейдж, заголовок, разделитель — собрана из классов
	темы, см. разметку. Здесь только поля: для них у темы ничего подходящего нет.

	Почему поля НЕ через .ld-sf, как форма подписки на главной: та написана под
	одно поле на цветном фоне, и вид у неё соответствующий — без рамки, зато
	с большой мягкой тенью. Десять таких полей подряд на белом фоне читаться
	перестают: границ не видно, вместо формы каша из теней. Поэтому поле здесь
	выглядит как поле: белое, с настоящей рамкой, без эффектов.
*/

/* ---------- строка формы ---------- */

.otso-row {
	margin-bottom: 36px;
}

.otso-row:last-of-type {
	margin-bottom: 0;
}

.otso-label {
	display: block;
	margin-bottom: 10px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	color: #2b2b2b;
}

/* ---------- поля ---------- */

.otso-input,
.otso-textarea,
.otso-select {
	display: block;
	width: 100%;
	font-family: inherit;
	font-size: 15px;
	line-height: 1.4;
	color: #222;
	background-color: #fff;
	border: 1px solid #cfd6e0;
	border-radius: 4px;
	transition: border-color 0.15s ease;
}

.otso-input,
.otso-select {
	height: 50px;
	padding: 0 16px;
}

.otso-textarea {
	min-height: 120px;
	padding: 13px 16px;
	resize: vertical;
}

.otso-input::placeholder,
.otso-textarea::placeholder {
	color: #a8b0bb;
}

/* Ничего не всплывает и не светится — только рамка становится заметнее. */
.otso-input:hover,
.otso-textarea:hover,
.otso-select:hover {
	border-color: #aab4c2;
}

.otso-input:focus,
.otso-textarea:focus,
.otso-select:focus {
	outline: none;
	border-color: #24d0a0;
}

.otso-select {
	padding-right: 44px;
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23555555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='m3 6 5 5 5-5'/%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-size: 14px;
}

/* ---------- подписи под полем ---------- */

.otso-hint {
	margin: 8px 0 0;
	font-size: 13px;
	line-height: 1.5;
	color: #7d8794;
}

.otso-error {
	display: block;
	margin-top: 8px;
	font-size: 13px;
	line-height: 1.5;
	color: #d03b3b;
}

/* Пустую подпись валидации видно быть не должно: asp-validation-for рисует
   <span> всегда, а текст в нём появляется только после неудачной отправки. */
.otso-error:empty {
	display: none;
}

/* ---------- ссылка, открывающая окно ---------- */

/*
	Пунктир — общепринятый знак «не переход на другую страницу, а раскрытие
	на месте». Сплошное подчёркивание здесь врало бы: никуда не уводит.
*/
.otso-link {
	padding: 0;
	font: inherit;
	color: #1a9e78;
	background: none;
	border: 0;
	border-bottom: 1px dashed #1a9e78;
	cursor: pointer;
}

.otso-link:hover {
	color: #24d0a0;
	border-bottom-color: #24d0a0;
}

/* ---------- пароль ---------- */

.otso-password {
	position: relative;
}

.otso-password .otso-input {
	padding-right: 48px;
}

.otso-password__toggle {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 50px;
	padding: 0;
	color: #8a91a0;
	background: none;
	border: 0;
	cursor: pointer;
}

.otso-password__toggle:hover {
	color: #2b2b2b;
}

/* ---------- галочки и переключатели ---------- */

.otso-choice {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
	font-size: 15px;
	line-height: 1.4;
	color: #2b2b2b;
	cursor: pointer;
}

.otso-choice:last-child {
	margin-bottom: 0;
}

.otso-choice--top {
	align-items: flex-start;
}

.otso-choice--top .otso-check {
	margin-top: 2px;
}

.otso-check {
	flex: none;
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: #24d0a0;
	cursor: pointer;
}

/* ---------- капча ---------- */

.otso-captcha-img {
	display: block;
	max-width: 230px;
	height: auto;
	margin-bottom: 12px;
	border: 1px solid #cfd6e0;
	border-radius: 4px;
}

/* ---------- кнопка отправки ---------- */

.otso-submit {
	display: block;
	width: 100%;
	height: 54px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 600;
	color: #fff;
	background-color: #24d0a0;
	border: 0;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.otso-submit:hover {
	background-color: #1fb98d;
}

/* ---------- окно со способами оплаты ---------- */

.otso-dialog {
	width: calc(100% - 32px);
	max-width: 520px;
	padding: 0;
	color: #454545;
	border: 0;
	border-radius: 6px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.otso-dialog::backdrop {
	background: rgba(0, 0, 0, 0.5);
}

.otso-dialog__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 24px;
	border-bottom: 1px solid #e6eaf0;
}

.otso-dialog__head h2 {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	color: #2b2b2b;
}

.otso-dialog__close {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 30px;
	height: 30px;
	padding: 0;
	font-size: 20px;
	line-height: 1;
	color: #8a91a0;
	background: none;
	border: 0;
	cursor: pointer;
}

.otso-dialog__close:hover {
	color: #2b2b2b;
}

.otso-dialog__body {
	max-height: min(70vh, 620px);
	padding: 20px 24px 24px;
	overflow-y: auto;
}

.otso-pay {
	margin: 0;
	padding: 0;
	list-style: none;
}

.otso-pay li {
	margin-bottom: 18px;
}

.otso-pay__name {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 600;
	color: #2b2b2b;
}

.otso-pay__row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.otso-pay__value {
	flex: 1 1 auto;
	min-width: 0;
	padding: 9px 12px;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 12.5px;
	line-height: 1.45;
	color: #2b2b2b;
	word-break: break-all;
	background: #f4f6f9;
	border-radius: 4px;
}

.otso-copy {
	flex: none;
	height: 34px;
	padding: 0 14px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	color: #2b2b2b;
	background: #fff;
	border: 1px solid #cfd6e0;
	border-radius: 4px;
	cursor: pointer;
	transition: border-color 0.15s ease;
}

.otso-copy:hover {
	border-color: #24d0a0;
}

.otso-prices {
	margin: 0;
	padding: 0;
	font-size: 14px;
	line-height: 1.7;
	color: #454545;
	list-style: none;
}

/* ---------- остатки от bootstrap ---------- */

/* Страницы «спасибо» (RegisterThankYou, RecoverThankYou) обёрнуты в .container. */
.container {
	width: 100%;
	max-width: 1140px;
	padding-right: 0.75rem;
	padding-left: 0.75rem;
	margin-right: auto;
	margin-left: auto;
}
