/* Glastbury customer login page split-panel */

.glastbury-auth-mount {
	width: 100%;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	align-self: stretch;
	min-height: 0;
	--glastbury-auth-chrome-offset: 90px;
}

.glastbury-auth-root {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	width: 100%;
	min-height: 100%;
	height: 100%;
	align-self: stretch;
	box-sizing: border-box;
}

.glastbury-auth {
	--glastbury-auth-accent: #ff7515;
	--glastbury-auth-font-heading: "Host Grotesk", system-ui, -apple-system, sans-serif;
	--glastbury-auth-font-ui: "Poppins", system-ui, -apple-system, sans-serif;
	display: flex;
	flex-direction: row;
	align-items: stretch;
	width: 100%;
	flex: 1 1 auto;
	min-height: 100%;
	align-self: stretch;
	font-family: var(--glastbury-auth-font-ui);
	color: #111;
	box-sizing: border-box;
	overflow: hidden;
	background: #fff;
}

.glastbury-auth *,
.glastbury-auth *::before,
.glastbury-auth *::after {
	box-sizing: border-box;
}

.glastbury-auth__visual {
	flex: 1 1 50%;
	align-self: stretch;
	min-height: 0;
	background-color: #1a1a1a;
	background-image: var(--glastbury-auth-bg);
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

.glastbury-auth__panel {
	flex: 1 1 50%;
	align-self: stretch;
	min-height: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: clamp(1.5rem, 4vw, 3.5rem);
	background: #fff;
}

.glastbury-auth__inner {
	width: 100%;
	max-width: 420px;
}

.glastbury-auth__title {
	margin: 0 0 1.5rem;
	font-family: var(--glastbury-auth-font-heading);
	font-style: normal;
	font-weight: 700;
	font-size: clamp(1.625rem, 2.5vw + 1rem, 2.25rem);
	line-height: 110%;
	text-align: center;
	letter-spacing: -0.02em;
	color: #121212;
}

/* WP core login form output */
.glastbury-auth__inner #glastbury-customer-login-form,
.glastbury-auth__inner #loginform {
	margin: 0;
}

.glastbury-auth__messages {
	margin-bottom: 1rem;
	padding: 0.65rem 0.85rem;
	border-radius: 8px;
	font-size: 0.9rem;
	background: #fde8e8;
	color: #7f1d1d;
	border: 1px solid #f5c2c2;
}

.glastbury-auth__inner #loginform p,
.glastbury-auth__inner #glastbury-customer-login-form p {
	margin: 0 0 0.85rem;
}

.glastbury-auth__inner label {
	display: block;
	font-family: var(--glastbury-auth-font-ui);
	font-weight: 400;
	font-size: 14px;
	color: #111;
	margin: 0 0 0.35rem;
}

.glastbury-auth__inner input[type="text"],
.glastbury-auth__inner input[type="password"] {
	width: 100%;
	padding: 0.85rem 1rem;
	border: 1px solid #d4d4d4;
	border-radius: 10px;
	font-family: var(--glastbury-auth-font-ui);
	font-style: normal;
	font-weight: 400;
	font-size: 18px;
	line-height: 150%;
	background: #fff;
	color: #111;
	-webkit-appearance: none;
	appearance: none;
}

.glastbury-auth__inner input:focus {
	outline: none;
	border-color: #111;
}

.glastbury-auth__inner .forgetmenot {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0.25rem 0 0.75rem;
	font-size: 14px;
}

.glastbury-auth__inner .forgetmenot input {
	margin: 0;
}

.glastbury-auth__inner #wp-submit {
	display: block;
	width: 100%;
	margin-top: 1rem;
	padding: 0.95rem 1.25rem;
	border: none;
	border-radius: 999px;
	background: #111;
	font-family: var(--glastbury-auth-font-ui);
	font-style: normal;
	font-weight: 700;
	font-size: 18px;
	line-height: 150%;
	color: #fff;
	cursor: pointer;
	transition: opacity 0.2s, transform 0.05s;
}

.glastbury-auth__inner #wp-submit:hover {
	opacity: 0.92;
}

.glastbury-auth__links {
	margin-top: 0.9rem;
	text-align: center;
}

.glastbury-auth__links a {
	color: #111;
	text-decoration: underline;
}

.glastbury-auth__links a:hover {
	color: var(--glastbury-auth-accent);
}

@media (min-width: 783px) {
	.glastbury-auth-root,
	.glastbury-auth {
		min-height: calc(100vh - var(--glastbury-auth-chrome-offset));
		min-height: calc(100dvh - var(--glastbury-auth-chrome-offset));
	}
}

@media (max-width: 782px) {
	.glastbury-auth {
		flex-direction: column;
	}

	.glastbury-auth__visual {
		min-height: clamp(11rem, 36vw, 15rem);
		flex: 0 0 auto;
	}
}

@media (max-width: 480px) {
	.glastbury-auth__inner input[type="text"],
	.glastbury-auth__inner input[type="password"] {
		font-size: 1rem;
	}
	.glastbury-auth__inner #wp-submit {
		font-size: 1rem;
		padding: 0.9rem 1.15rem;
	}
}

