/**
 * Custom CSS
 *
 * This file is for your custom styles.
 * You can add any CSS rules here to customize the Ghost theme.
 *
 * Note: Changes made directly to this file may be overwritten during theme updates.
 * It's recommended to use the Code Injection feature in Ghost for persistent customizations.
 */

/* Your custom CSS goes below this line */

.page-lyfar-auth {
	background: #0d0e10;
	color: #f3efe8;
	overflow-x: hidden;
}

.page-lyfar-auth .content > .page {
	max-width: none;
	padding: 0;
}

.page-lyfar-auth .main {
	grid-template-columns: var(--sidebar--width) minmax(0, 1fr);
}

.page-lyfar-auth .sidebar-posts {
	display: none;
}

.page-lyfar-auth .header {
	border-bottom-color: rgba(243, 239, 232, 0.08);
}

.lyfar-auth {
	display: grid;
	grid-template-columns: minmax(420px, 0.95fr) minmax(280px, 0.65fr);
	gap: clamp(28px, 5vw, 72px);
	align-items: center;
	min-height: calc(100dvh - 180px);
	padding: clamp(32px, 6vw, 84px);
	overflow: hidden;
}

.lyfar-auth-panel {
	min-width: 0;
	max-width: 620px;
}

.lyfar-auth-logo {
	display: inline-flex;
	align-items: center;
	margin-bottom: clamp(40px, 7vw, 92px);
	color: inherit;
	text-decoration: none;
}

.lyfar-auth-logo img {
	display: block;
	width: min(180px, 56vw);
	height: auto;
}

.lyfar-auth-logo span {
	font-weight: 700;
	letter-spacing: 0;
}

.lyfar-auth-eyebrow {
	margin: 0 0 14px;
	color: #ef4726;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

.lyfar-auth h1 {
	max-width: 10ch;
	margin: 0;
	color: #fff8ef;
	font-size: clamp(2.8rem, 6vw, 6.2rem);
	line-height: 0.92;
	letter-spacing: 0;
}

.lyfar-auth-copy {
	max-width: 36rem;
	margin: 24px 0 0;
	color: rgba(243, 239, 232, 0.72);
	font-size: 1.05rem;
	line-height: 1.6;
}

.lyfar-auth-form {
	display: grid;
	gap: 12px;
	width: 100%;
	max-width: 420px;
	margin-top: 34px;
}

.lyfar-auth-label {
	margin-top: 8px;
	color: rgba(243, 239, 232, 0.74);
	font-size: 0.82rem;
	font-weight: 650;
}

.lyfar-auth-input {
	width: 100%;
	min-height: 54px;
	border: 1px solid rgba(243, 239, 232, 0.16);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.06);
	color: #fff8ef;
	padding: 0 16px;
	font: inherit;
	outline: none;
	transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.lyfar-auth-input:focus {
	border-color: rgba(239, 71, 38, 0.84);
	background: rgba(255, 255, 255, 0.085);
	box-shadow: 0 0 0 4px rgba(239, 71, 38, 0.14);
}

.lyfar-auth-input::placeholder {
	color: rgba(243, 239, 232, 0.42);
}

.lyfar-auth-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	border: 0;
	border-radius: 8px;
	background: #ef4726;
	color: #fff8ef;
	padding: 0 18px;
	font: inherit;
	font-weight: 760;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 160ms ease, transform 160ms ease;
}

.lyfar-auth-button:hover {
	background: #ff6040;
	transform: translateY(-1px);
}

.lyfar-auth-button-loading,
.lyfar-auth-button-success,
.lyfar-auth-message {
	display: none;
}

.lyfar-auth-form.loading .lyfar-auth-button-default,
.lyfar-auth-form.success .lyfar-auth-button-default {
	display: none;
}

.lyfar-auth-form.loading .lyfar-auth-button-loading,
.lyfar-auth-form.success .lyfar-auth-button-success,
.lyfar-auth-form.success .lyfar-auth-message-success,
.lyfar-auth-form.error .lyfar-auth-message-error {
	display: block;
}

.lyfar-auth-message {
	margin: 2px 0 0;
	color: rgba(243, 239, 232, 0.68);
	font-size: 0.92rem;
	line-height: 1.45;
}

.lyfar-auth-message-error {
	color: #ff866f;
}

.lyfar-auth-small {
	margin: 22px 0 0;
	color: rgba(243, 239, 232, 0.58);
	font-size: 0.94rem;
}

.lyfar-auth-small a,
.lyfar-auth-link {
	color: #fff8ef;
	text-decoration-color: rgba(239, 71, 38, 0.72);
	text-underline-offset: 0.22em;
}

.lyfar-auth-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	align-items: center;
	margin-top: 32px;
}

.lyfar-auth-side {
	align-self: stretch;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 460px;
	border: 1px solid rgba(243, 239, 232, 0.12);
	border-radius: 8px;
	background:
		linear-gradient(180deg, rgba(255, 248, 239, 0.08), rgba(255, 248, 239, 0.02)),
		linear-gradient(135deg, rgba(239, 71, 38, 0.22), rgba(13, 14, 16, 0) 52%);
	padding: clamp(24px, 4vw, 44px);
	overflow: hidden;
}

.lyfar-auth-side-kicker {
	max-width: 24rem;
	margin: 0;
	color: rgba(255, 248, 239, 0.84);
	font-size: clamp(1.35rem, 2.2vw, 2.35rem);
	line-height: 1.12;
}

.lyfar-auth-side-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 28px;
}

.lyfar-auth-side-list span {
	border: 1px solid rgba(255, 248, 239, 0.18);
	border-radius: 999px;
	color: rgba(255, 248, 239, 0.78);
	padding: 7px 10px;
	font-size: 0.82rem;
}

@media (max-width: 860px) {
	.page-lyfar-auth .content {
		padding-left: 0;
		padding-right: 0;
		overflow-x: hidden;
	}

	.page-lyfar-auth .content > .page {
		width: 100%;
		overflow-x: hidden;
	}

	.lyfar-auth {
		grid-template-columns: 1fr;
		width: 100vw;
		max-width: 100vw;
		padding: 28px 32px 80px;
	}

	.lyfar-auth-logo {
		margin-bottom: 32px;
	}

	.lyfar-auth h1 {
		max-width: 7ch;
		font-size: clamp(2.55rem, 12vw, 3.45rem);
		line-height: 0.96;
	}

	.lyfar-auth-panel {
		width: min(100%, 326px);
		max-width: calc(100vw - 64px);
	}

	.lyfar-auth-copy {
		max-width: 326px;
		font-size: 1rem;
	}

	.lyfar-auth-form,
	.lyfar-auth-small {
		max-width: 326px;
	}

	.lyfar-auth-side {
		display: none;
	}

	.lyfar-auth-side-kicker {
		font-size: 1.5rem;
	}
}
