.auth-drawer {
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

.auth-drawer__title {
	margin: 0 0 30px;
	font-weight: 400;
	font-size: 18px;
	line-height: 28px;
	text-transform: uppercase;

}

.auth-drawer__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	margin-bottom: 50px;
}

.auth-drawer__tab {
	padding: 0;
	border: 0;
	background: transparent;
	font-family: inherit;
	font-weight: 400;
	font-size: 14px;
	line-height: 22px;
	letter-spacing: 0.2px;
	text-transform: uppercase;
	color: var(--color-second-font);
	cursor: pointer;
	transition: color 0.2s ease;
}

.auth-drawer__tab.is-active {
	color: var(--color-noir);
}

.auth-drawer__tab:hover {
	color: var(--color-noir);
}

.auth-drawer[data-auth-view="forgot"] .auth-drawer__tabs {
	display: none;
}

.auth-form {
	display: none;
	flex-direction: column;
	gap: 20px;
	margin: 0;
}

.auth-drawer[data-auth-view="login"] .auth-form[data-auth-panel="login"],
.auth-drawer[data-auth-view="register"] .auth-form[data-auth-panel="register"],
.auth-drawer[data-auth-view="forgot"] .auth-form[data-auth-panel="forgot"] {
	display: flex;
}

.auth-form .btn {
	width: 100%;
	margin-top: 10px;
}

.auth-form__forgot {
	align-self: flex-end;
	padding: 0;
	border: 0;
	background: transparent;
	font-family: inherit;
	font-weight: 400;
	font-size: 12px;
	line-height: 20px;
	letter-spacing: 0.2px;
	color: var(--color-noir);
	cursor: pointer;
	text-decoration: none;
}

.auth-form__forgot:hover {
	opacity: 0.6;
}

.auth-form__back {
	align-self: flex-start;
	padding: 0;
	border: 0;
	background: transparent;
	font-family: inherit;
	font-weight: 400;
	font-size: 12px;
	line-height: 20px;
	letter-spacing: 0.2px;
	text-transform: uppercase;
	color: var(--color-second-font);
	cursor: pointer;
}

.auth-form__back:hover {
	color: var(--color-noir);
}

.auth-form__phone {
	display: flex;
	align-items: flex-end;
	gap: 20px;
}

.auth-form__phone-code {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
	padding: 10px 0;
	border: 0;
	border-bottom: 1px solid #000;
	background: transparent;
	font-family: inherit;
	font-weight: 400;
	font-size: 12px;
	line-height: 20px;
	letter-spacing: 0.2px;
	text-transform: uppercase;
	color: var(--color-noir);
	cursor: pointer;
}

.auth-form__phone input {
	flex: 1;
	min-width: 0;
}

.auth-form .checkbox-polic {
	margin-top: 10px;
}

@media (max-width: 767px) {
	.auth-drawer__title{
		font-size: 16px;
		line-height: 20px;
		margin: 0 0 20px;
	}
	.auth-drawer__tab{
		font-size: 12px;
		line-height: 20px;
	}
	.auth-drawer__tabs {
		gap: 20px;
		margin-bottom: 27px;
	}
}