.wca-save[hidden] {
	display: none;
}

.wca-save {
	position: fixed;
	inset: 0;
	z-index: 100001;
	font-size: 14px;
}

.wca-save__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(17, 17, 17, 0.45);
}

.wca-save__dialog {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	width: calc(100% - 32px);
	max-width: 380px;
	margin: 12vh auto 0;
	padding: 18px 18px 14px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.wca-save__dialog h2 {
	margin: 0 28px 6px 0;
	font-size: 18px;
	line-height: 1.25;
	font-weight: 700;
}

.wca-save__close {
	position: absolute;
	top: 8px;
	right: 10px;
	border: 0;
	background: none;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	color: #1d2327;
}

.wca-save__hint,
.wca-save__or,
.wca-save__account {
	margin: 0 0 12px;
	color: #50575e;
	font-size: 13px;
	line-height: 1.4;
}

.wca-save__or {
	margin: 8px 0;
	text-align: center;
}

.wca-save__social {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0 0 4px;
}

.wca-save__google {
	min-height: 40px;
	display: flex;
	justify-content: center;
}

.wca-save__facebook {
	width: 100%;
	border: 0;
	background: #1877f2;
	color: #fff;
	padding: 10px 12px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.wca-save__field {
	display: block;
	margin: 0 0 8px;
}

.wca-save__field span {
	display: block;
	margin: 0 0 3px;
	font-size: 12px;
	line-height: 1.2;
	color: #646970;
}

.wca-save__field input {
	box-sizing: border-box;
	width: 100%;
	height: 40px;
	margin: 0;
	padding: 6px 10px;
	border: 1px solid #c3c4c7;
	border-radius: 8px;
	font-size: 15px;
	line-height: 1.3;
	color: #1d2327;
	background: #fff;
}

.wca-save__error {
	margin: 0 0 8px;
	color: #b32d2e;
	font-size: 12px;
	line-height: 1.3;
}

.wca-save__submit {
	width: 100%;
	margin-top: 4px;
	border: 0;
	background: #111;
	color: #fff;
	padding: 11px 12px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.wca-save__submit:disabled {
	opacity: 0.7;
	cursor: progress;
}

.wca-save__toggle {
	display: block;
	width: 100%;
	margin-top: 10px;
	border: 0;
	background: none;
	padding: 4px;
	color: #1d2327;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

.wca-save__skip {
	display: block;
	width: 100%;
	margin-top: 8px;
	border: 0;
	background: none;
	padding: 8px 4px;
	color: #50575e;
	font-size: 13px;
	text-decoration: underline;
	cursor: pointer;
}

.wca-save__account {
	margin: 4px 0 0;
	text-align: center;
}

.wca-save__account a {
	color: #1d2327;
	font-weight: 600;
}

@media (max-width: 640px) {
	.wca-save__dialog {
		margin: 8vh auto 0;
	}
}
