.modal--auth .modal__container {
	width: 70rem;
	padding: 4rem;
}

.modal--auth .modal__content--center {
	height: auto;
	min-height: 100%;
}

.auth-panel {
	width: 100%;
	max-width: 45rem;
	margin: auto;
	color: #242c34;
	text-align: center;
}

.auth-panel__title {
	font-size: 2.6rem;
	font-weight: 500;
	line-height: 3rem;
	text-transform: uppercase;
}

.auth-panel__lead {
	max-width: 45rem;
	margin: 1.8rem auto 0;
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 2rem;
}

.auth-panel__lead span {
	color: #874def;
}

.auth-panel__services-title {
	margin-top: 4rem;
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 2rem;
}

.auth-panel__services {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin-top: 1.2rem;
}

.auth-social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	min-width: 17rem;
	height: 5rem;
	padding: 0 1.6rem;
	border-radius: 2.5rem;
	background: #f5f5f5;
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 1;
	text-transform: uppercase;
	transition: background-color 200ms ease, color 200ms ease;
}

.auth-social:hover {
	background: #ececed;
}

.auth-social__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 3.2rem;
	width: 3.2rem;
	height: 3.2rem;
	background: #242c34;
	color: #fff;
}

.auth-social__icon--yandex {
	border-radius: 50%;
}

.auth-social__icon--yandex svg {
	width: 2.4rem;
	height: 2.4rem;
}

.auth-social__icon--vk {
	border-radius: 0.8rem;
}

.auth-social__icon--vk svg {
	width: 2.5rem;
	height: 2.5rem;
}

.auth-panel__separator {
	display: flex;
	align-items: center;
	gap: 2rem;
	margin: 3.5rem 0 3rem;
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 2rem;
}

.auth-panel__separator::before,
.auth-panel__separator::after {
	content: '';
	flex: 1 1 auto;
	height: 0.1rem;
	background: #eeeeef;
}

.auth-panel__form {
	text-align: left;
}

.auth-panel__label {
	display: block;
	margin-bottom: 0.6rem;
	font-size: 1.3rem;
	font-weight: 500;
	line-height: 2rem;
}

.auth-panel__input {
	display: block;
	width: 100%;
	height: 6rem;
	padding: 0 2rem;
	border: 0;
	border-radius: 0;
	outline: 0;
	background: #f7f7f7;
	color: #242c34;
	font: inherit;
	font-size: 1.5rem;
	font-weight: 500;
	box-shadow: none;
}

.auth-panel__input::placeholder {
	color: rgba(36, 44, 52, 0.35);
	font-weight: 400;
	opacity: 1;
}

.auth-panel__input:focus {
	box-shadow: inset 0 0 0 0.2rem rgba(36, 44, 52, 0.2);
}

.auth-panel__submit,
.auth-panel__guest {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 6rem;
	border: 0;
	border-radius: 0;
	font: inherit;
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 1;
	text-align: center;
	text-transform: uppercase;
	cursor: pointer;
	transition: opacity 200ms ease, background-color 200ms ease;
}

.auth-panel__submit {
	margin-top: 1.4rem;
	background: #242c34;
	color: #fff;
}

.auth-panel__submit:hover {
	background: #313b45;
}

.auth-panel__submit:disabled {
	cursor: default;
	opacity: 0.55;
}

.auth-panel__privacy {
	margin-top: 2rem;
	color: rgba(36, 44, 52, 0.35);
	font-size: 1.2rem;
	font-weight: 400;
	line-height: 1.5;
}

.auth-panel__privacy a,
.auth-panel__resend a {
	text-decoration: underline;
}

.auth-panel__privacy a {
	color: inherit;
}

.auth-panel__guest {
	margin-top: 4rem;
	border: 0.2rem solid #dedfe0;
	background: #fff;
	color: #242c34;
}

.auth-panel__guest:hover {
	background: #f7f7f7;
}

.auth-panel__resend {
	display: flex;
	justify-content: space-between;
	gap: 2rem;
	margin-top: 1.2rem;
	color: rgba(36, 44, 52, 0.55);
	font-size: 1.3rem;
	line-height: 1.4;
}

.auth-panel__error,
.auth-panel__server-error {
	margin-top: 1.5rem;
	color: #d33939;
	font-size: 1.2rem;
	line-height: 1.4;
	text-align: center;
}

.auth-panel__server-error {
	padding: 1rem 1.5rem;
	background: rgba(211, 57, 57, 0.08);
}

.order__left--auth .auth-panel {
	max-width: 53rem;
	padding-bottom: 4rem;
}

@media screen and (max-width: 767px) {
	.modal--auth .modal__container {
		width: 100%;
		padding: 5rem 1.5rem 2.5rem;
	}

	.auth-panel__title {
		font-size: 2rem;
		line-height: 2.4rem;
	}

	.auth-panel__lead {
		margin-top: 1.5rem;
		font-size: 1.3rem;
		line-height: 1.8rem;
	}

	.auth-panel__lead br {
		display: none;
	}

	.auth-panel__services-title {
		margin-top: 3rem;
		font-size: 1.5rem;
	}

	.auth-panel__services {
		gap: 0.8rem;
		margin-top: 1.2rem;
	}

	.auth-social {
		flex: 1 1 50%;
		gap: 0.8rem;
		min-width: 0;
		height: 4.6rem;
		padding: 0 1rem;
		font-size: 1.3rem;
	}

	.auth-social__icon {
		flex-basis: 2.8rem;
		width: 2.8rem;
		height: 2.8rem;
	}

	.auth-social__icon--yandex svg {
		width: 2.1rem;
		height: 2.1rem;
	}

	.auth-social__icon--vk svg {
		width: 2.2rem;
		height: 2.2rem;
	}

	.auth-panel__separator {
		gap: 1.5rem;
		margin: 3rem 0 2.5rem;
		font-size: 1.5rem;
	}

	.auth-panel__label {
		font-size: 1.3rem;
	}

	.auth-panel__input,
	.auth-panel__submit,
	.auth-panel__guest {
		height: 5rem;
		font-size: 1.3rem;
	}

	.auth-panel__privacy {
		margin-top: 2rem;
		font-size: 1.1rem;
	}

	.auth-panel__privacy br:not(.auth-panel__privacy-break) {
		display: none;
	}

	.auth-panel__guest {
		margin-top: 3rem;
	}

	.auth-panel__resend {
		flex-direction: column;
		gap: 0.5rem;
	}
}
