/* prime.phoneauth */
.prime-phoneauth-tabs {
	display: flex;
	gap: 0;
	margin: 0 0 18px;
	width: 240px;
	border: 2px solid #a64221;
	border-radius: 5px;
	overflow: hidden;
	background: #fff;
	box-sizing: border-box;
}
.prime-phoneauth-tabs button {
	flex: 1;
	border: 0;
	background: #fff;
	padding: 9px 6px;
	min-height: 38px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	color: #a64221;
	cursor: pointer;
	box-sizing: border-box;
}
.prime-phoneauth-tabs button + button {
	border-left: 2px solid #a64221;
}
.prime-phoneauth-tabs button:hover {
	background: #f7ece8;
}
.prime-phoneauth-tabs button.is-active {
	background: #a64221;
	color: #fff;
}
.prime-phoneauth-tabs button.is-active:hover {
	background: #8e371b;
	color: #fff;
}
.prime-phoneauth-panel {
	display: none;
}
.prime-phoneauth-panel.is-active {
	display: block;
}
.prime-phoneauth-error {
	color: #a64221;
	font-size: 13px;
	line-height: 1.4;
	margin: 0 0 10px;
}
.prime-phoneauth-wait {
	font-size: 14px;
	line-height: 1.45;
}
.prime-phoneauth-wait p {
	margin: 0 0 8px;
}
.prime-phoneauth-number {
	display: inline;
	font-size: 16px;
	font-weight: 700;
	color: #a64221;
	margin: 0;
	letter-spacing: 0.02em;
}
.prime-phoneauth-steps {
	margin: 8px 0 14px 18px;
	padding: 0;
	font-size: 12px;
	color: #555;
}
.prime-phoneauth-back {
	border: 0;
	background: none;
	color: #7a6a4a;
	text-decoration: underline;
	cursor: pointer;
	font-size: 13px;
	padding: 0;
}
.prime-phoneauth-test {
	display: block;
	width: 238px;
	height: 40px;
	margin: 12px 0 8px;
	border: 2px dashed #a64221;
	background: #fff;
	color: #a64221;
	font-weight: 700;
	cursor: pointer;
	border-radius: 5px;
}
.prime-phoneauth-status {
	font-size: 13px;
	margin: 8px 0 0 160px;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 12px;
}
.prime-phoneauth-status.is-ok {
	color: #2d6a3e;
}
.prime-phoneauth-status.is-wait {
	color: #8a7a55;
}
.personal_page .prime-phoneauth-status .prime-phoneauth-prompt__btn.is-compact {
	height: 34px;
	padding: 0 14px;
	font-size: 13px;
	line-height: 30px;
	border-width: 2px;
}
.personal_page .prime-phoneauth-wait {
	margin: 10px 0 0 160px;
	max-width: 320px;
}
.prime-phoneauth-modal {
	position: fixed;
	inset: 0;
	z-index: 10060;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	box-sizing: border-box;
}
.prime-phoneauth-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
}
.prime-phoneauth-modal__box {
	position: relative;
	z-index: 1;
	background: #fffdf6;
	border: 1px solid #e0c36a;
	border-left: 4px solid #a64221;
	border-radius: 8px;
	box-shadow: 0 0 35px rgba(0, 0, 0, 0.45);
	padding: 28px 24px 22px;
	max-width: 480px;
	width: 100%;
}
.prime-phoneauth-modal__title {
	font-size: 20px;
	font-weight: 700;
	color: #a64221;
	margin: 0 0 10px;
	text-align: center;
}
.prime-phoneauth-modal__text {
	font-size: 14px;
	line-height: 1.5;
	color: #404040;
	margin: 0 0 12px;
}
.prime-phoneauth-modal__accounts {
	margin: 0 0 18px;
	padding: 10px 14px;
	list-style: none;
	background: #fff;
	border: 1px solid #ead9a8;
	border-radius: 5px;
}
.prime-phoneauth-modal__accounts li {
	font-size: 14px;
	line-height: 1.45;
	color: #1f1f1f;
	word-break: break-all;
	padding: 4px 0;
}
.prime-phoneauth-modal__accounts li + li {
	border-top: 1px solid #f0e6c8;
}
.prime-phoneauth-modal__actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.prime-phoneauth-modal__btn {
	display: block;
	width: 100%;
	height: auto;
	min-height: 42px;
	line-height: 1.3;
	padding: 8px 12px;
	text-align: center;
	border: 3px solid #a64221;
	border-radius: 5px;
	color: #a64221;
	font-size: 15px;
	font-weight: 700;
	background: #fff;
	cursor: pointer;
	box-sizing: border-box;
}
.prime-phoneauth-modal__btn.is-ghost {
	border-width: 1px;
	font-weight: 600;
	font-size: 14px;
}
.prime-phoneauth-modal__btn:hover {
	background: #a64221;
	color: #fff;
}
.prime-phoneauth-modal__wait {
	text-align: center;
}
.prime-phoneauth-modal__wait .prime-phoneauth-number {
	display: inline;
	font-size: 16px;
	margin: 0;
}
.prime-phoneauth-modal__wait .prime-phoneauth-test {
	width: 100%;
	margin: 8px 0 12px;
}
.prime-phoneauth-modal__wait .prime-phoneauth-back {
	display: inline-block;
}
.personal_enter .auth .prime-phoneauth-tabs {
	width: 240px;
}
.personal_enter .auth .prime-phoneauth-panel[data-panel="phone"] {
	width: 240px;
}
.personal_enter .auth .prime-phoneauth-wait {
	width: 240px;
	margin: 0;
	box-sizing: border-box;
	font-size: 13px;
	line-height: 1.45;
	color: #404040;
}
.personal_enter .auth .prime-phoneauth-wait p {
	margin: 0 0 8px;
}
.personal_enter .auth .prime-phoneauth-number {
	width: 240px;
	margin: 10px 0 14px;
	text-align: center;
	font-size: 20px;
	line-height: 1.25;
	letter-spacing: 0.01em;
	text-decoration: none;
	box-sizing: border-box;
}
.personal_enter .auth .prime-phoneauth-steps {
	margin: 0 0 16px;
	padding: 0 0 0 18px;
	list-style: decimal;
}
.personal_enter .auth .prime-phoneauth-steps li {
	margin: 0 0 6px;
	padding: 0;
}
.personal_enter .auth .prime-phoneauth-test {
	margin: 4px 0 12px;
}
.personal_enter .auth .prime-phoneauth-back {
	display: inline-block;
	margin: 0;
	line-height: 1.4;
}
.prime-phoneauth-reg {
	width: 240px;
	margin: -4px 0 14px;
}
.prime-phoneauth-reg__status {
	font-size: 12px;
	line-height: 1.4;
	color: #8a7a55;
	margin: 0 0 6px;
}
.prime-phoneauth-reg__status.is-ok {
	color: #2d6a3e;
}
.prime-phoneauth-reg__status.is-bad {
	color: #a64221;
}
.prime-phoneauth-reg__accounts {
	display: none;
	margin: 0 0 8px;
	padding: 8px 10px;
	list-style: none;
	background: #fff;
	border: 1px solid #ead9a8;
	border-radius: 5px;
}
.prime-phoneauth-reg__accounts li {
	font-size: 12px;
	line-height: 1.4;
	color: #1f1f1f;
	word-break: break-all;
	padding: 3px 0;
}
.prime-phoneauth-reg__accounts li + li {
	border-top: 1px solid #f0e6c8;
}
.prime-phoneauth-reg .prime-phoneauth-test {
	width: 240px;
}
.prime-phoneauth-reg .prime-phoneauth-number {
	display: inline;
	font-size: 16px;
	text-align: inherit;
	margin: 0;
}
.personal_enter .prime-phoneauth-phone-form .line .value input {
	width: 240px;
	height: 38px;
	border: 1px solid #ccc;
	border-radius: 5px;
	padding-left: 10px;
	font-size: 14px;
	font-weight: 300;
	box-sizing: border-box;
}
.personal_enter .prime-phoneauth-phone-form .line .value input:hover,
.personal_enter .prime-phoneauth-phone-form .line .value input:focus {
	border-color: #a64221;
}
#authorized.popup .personal_enter .auth .prime-phoneauth-tabs {
	width: auto;
	margin: 0 40px 16px;
}
#authorized.popup .prime-phoneauth-test {
	width: 100%;
}
.prime-phoneauth-prompt-modal {
	position: fixed;
	inset: 0;
	z-index: 10050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	box-sizing: border-box;
}
.prime-phoneauth-prompt-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
}
.prime-phoneauth-prompt-modal__box {
	position: relative;
	z-index: 1;
	background: #fffdf6;
	border: 1px solid #e0c36a;
	border-left: 4px solid #a64221;
	border-radius: 8px;
	box-shadow: 0 0 35px rgba(0, 0, 0, 0.45);
	padding: 32px 28px 24px;
	max-width: 480px;
	width: 100%;
	box-sizing: border-box;
}
.prime-phoneauth-prompt-modal__close {
	position: absolute;
	top: 10px;
	right: 12px;
	border: 0;
	background: none;
	font-size: 28px;
	line-height: 1;
	color: #999;
	cursor: pointer;
	width: 32px;
	height: 32px;
}
.prime-phoneauth-prompt-modal__title {
	font-size: 22px;
	font-weight: 700;
	color: #a64221;
	margin: 0 0 12px;
	text-align: center;
}
.prime-phoneauth-prompt-modal__text {
	font-size: 14px;
	line-height: 1.5;
	color: #404040;
	margin: 0 0 12px;
}
.prime-phoneauth-prompt-modal__phone {
	font-size: 18px;
	font-weight: 700;
	text-align: center;
	margin: 0 0 14px;
	color: #1f1f1f;
}
.prime-phoneauth-prompt__btn {
	display: block;
	width: 100%;
	height: 42px;
	border: 3px solid #a64221;
	border-radius: 5px;
	background: #fff;
	color: #a64221;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	box-sizing: border-box;
}
.prime-phoneauth-prompt__btn:hover {
	background: #a64221;
	color: #fff;
}
.prime-phoneauth-prompt__btn.is-compact {
	display: inline-block;
	width: auto;
	height: 28px;
	padding: 0 12px;
	border-width: 2px;
	font-size: 12px;
	line-height: 24px;
}
.prime-phoneauth-prompt-modal .prime-phoneauth-test {
	width: 100%;
}
.prime-phoneauth-prompt-modal__snooze {
	display: block;
	width: 100%;
	margin-top: 12px;
	border: 0;
	background: none;
	color: #7a6a4a;
	font-size: 14px;
	font-weight: 700;
	text-decoration: underline;
	cursor: pointer;
}
body.prime-phoneauth-prompt-open {
	overflow: hidden;
}
