/* Frill Thrills — Login popup */

.ft-lp {
	position: fixed;
	inset: 0;
	z-index: 100050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
}

.ft-lp[hidden] {
	display: none !important;
}

.ft-lp__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	cursor: pointer;
}

.ft-lp__dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 420px;
	background: #fff;
	border-radius: 0;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
	padding: 40px 36px 32px;
	box-sizing: border-box;
	animation: ft-lp-in 0.22s ease-out;
}

@keyframes ft-lp-in {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.ft-lp__close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 32px;
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	background: transparent;
	color: #111;
	cursor: pointer;
}

.ft-lp__close:hover {
	color: #f71358;
}

.ft-lp__title {
	margin: 0 0 10px;
	text-align: center;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	color: #111;
}

.ft-lp__hint {
	margin: 0 0 22px;
	text-align: center;
	font-size: 14px;
	line-height: 1.4;
	color: #444;
}

.ft-lp__form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ft-lp__input {
	width: 100%;
	height: 46px;
	padding: 0 14px;
	border: 1px solid #d0d0d0;
	border-radius: 4px;
	background: #fff;
	color: #111;
	font-size: 14px;
	box-sizing: border-box;
	outline: none;
	transition: border-color 0.15s ease;
}

.ft-lp__input::placeholder {
	color: #9a9a9a;
}

.ft-lp__input:focus {
	border-color: #111;
}

.ft-lp__row {
	display: flex;
	justify-content: flex-end;
	margin-top: -2px;
	margin-bottom: 4px;
}

.ft-lp__forgot {
	font-size: 13px;
	color: #666;
	text-decoration: underline;
	line-height: 1.3;
}

.ft-lp__forgot:hover {
	color: #111;
}

.ft-lp__error {
	margin: 0;
	padding: 10px 12px;
	background: #fff1f4;
	border: 1px solid #f9b4c8;
	color: #b0003d;
	font-size: 13px;
	line-height: 1.35;
}

.ft-lp__error[hidden] {
	display: none !important;
}

.ft-lp__submit {
	width: 100%;
	height: 48px;
	margin-top: 4px;
	border: 1px solid #111;
	background: #fff;
	color: #111;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.ft-lp__submit:hover {
	background: #111;
	color: #fff;
}

.ft-lp__submit:disabled {
	opacity: 0.65;
	cursor: wait;
}

.ft-lp__footer {
	margin: 22px 0 0;
	text-align: center;
	font-size: 14px;
	color: #333;
}

.ft-lp__register {
	color: #111;
	font-weight: 600;
	text-decoration: underline;
}

.ft-lp__register:hover {
	color: #f71358;
}

body.ft-lp-open {
	overflow: hidden;
}

@media (max-width: 480px) {
	.ft-lp__dialog {
		padding: 34px 22px 26px;
	}

	.ft-lp__title {
		font-size: 24px;
	}
}
