/* login.hbs — form panel width, image size, error toast, and the right-panel
   hero mockup. Dense one-off pixel values that don't map cleanly to Tailwind
   utilities; extracted per the "no inline CSS" effort (see commit 1b83e37c). */

.login-form-panel {
	max-width: 22rem;
}

.login-logo {
	height: 2.75rem;
	width: auto;
}

.login-toast {
	position: fixed;
	top: 1.25rem;
	right: 1.25rem;
	z-index: 9999;
	max-width: 22rem;
	width: calc(100% - 2.5rem);
	background: white;
	border-radius: 0.5rem;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
	border-left: 4px solid #ef4444;
	padding: 0.875rem 1rem;
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
}

.login-toast__icon {
	flex-shrink: 0;
	margin-top: 1px;
}

.login-toast__message {
	flex: 1;
	font-size: 0.875rem;
	color: #111827;
	line-height: 1.5;
}

.login-toast__close {
	border: none;
	background: none;
	cursor: pointer;
	color: #9ca3af;
	font-size: 1.2rem;
	line-height: 1;
	padding: 0 0 0 0.5rem;
	flex-shrink: 0;
}

.login-hero {
	background: linear-gradient(145deg, #0071dc 0%, #004aaa 60%, #002d6b 100%);
}

.login-hero__blob--top-right {
	position: absolute;
	top: -100px;
	right: -100px;
	width: 360px;
	height: 360px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.05);
	pointer-events: none;
}

.login-hero__blob--bottom-left {
	position: absolute;
	bottom: -80px;
	left: -80px;
	width: 270px;
	height: 270px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.04);
	pointer-events: none;
}

.login-hero__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 100%;
	padding: 2.75rem 2.5rem;
	position: relative;
	z-index: 1;
}

.login-hero__heading-wrap {
	max-width: 22rem;
	margin-bottom: 1.75rem;
}

.login-hero__heading {
	color: #fff;
	font-weight: 700;
	font-size: 1.875rem;
	line-height: 1.2;
	margin: 0 0 0.6rem;
}

.login-hero__subtext {
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.875rem;
	margin: 0;
	line-height: 1.55;
}

.login-hero__mockup {
	width: 100%;
	display: block;
}

/* Error toast animation — moved from login.hbs's inline <style> block (was inside {{#if error}}) */
@keyframes loginToastIn {
	from {
		opacity: 0;
		transform: translateX(1.5rem);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}
@keyframes loginToastOut {
	from {
		opacity: 1;
		transform: translateX(0);
	}
	to {
		opacity: 0;
		transform: translateX(1.5rem);
	}
}
#loginErrorToast {
	animation: loginToastIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
#loginErrorToast.out {
	animation: loginToastOut 0.2s ease forwards;
}
