html, body {
	margin: 0;
	padding: 0;
	height: 100%;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
	min-height: 100vh;
	background: url('assets/webtestbg.jpg') center center / cover no-repeat fixed;
	color: #14213d;
}

.LeftShade {
	position: absolute;
	top: 0;
	left: 0;
	width: 80%;
	height: 100%;
	background: linear-gradient(
		to right,
		rgb(5 5 76) 0%,
		transparent 100%
	);
	mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.85) 70%, transparent 100%);
	-webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.85) 70%, transparent 100%);
	pointer-events: none;
	z-index: 0;
}

.LogoAndTitle {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 24px 28px 0 28px;
	padding: 14px 22px;
	background: rgba(255, 255, 255, 0.88);
	backdrop-filter: blur(12px);
	border-radius: 16px;
	box-shadow: 0 8px 32px rgba(20, 33, 61, 0.14);
}

.Logo {
	height: 80px;
	width: auto;
}

.PageTitle {
	font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 300%;
	font-weight: 800;
	color: #6b7280;
	letter-spacing: -0.04em;
	line-height: 1.05;
}

.InputBox {
	position: absolute;
	top: 168px;
	left: 28px;
	width: min(440px, calc(100vw - 56px));
	z-index: 1;
}

.FormElement {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 36px 32px;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(18px);
	border-radius: 22px;
	box-shadow:
		0 24px 64px rgba(20, 33, 61, 0.18),
		0 0 0 1px rgba(255, 255, 255, 0.6);
}

.FormElement label {
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #64748b;
}

.InputRow {
	display: flex;
	gap: 12px;
	align-items: stretch;
}

.FormElement input[type="text"] {
	flex: 1;
	min-width: 0;
	padding: 15px 18px;
	font-size: 1.05rem;
	border: 2px solid #e2e8f0;
	border-radius: 14px;
	background: #f8fafc;
	color: #14213d;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
	box-sizing: border-box;
}

.FormElement input[type="text"]::placeholder {
	color: #94a3b8;
}

.FormElement input[type="text"]:focus {
	outline: none;
	border-color: #6366f1;
	background: #ffffff;
	box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.18);
}

.SelectAgent {
	flex-shrink: 0;
	width: 54px;
	height: 54px;
	background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	box-shadow: 0 6px 18px rgba(99, 102, 241, 0.38);
}

.SelectAgent::after {
	content: "→";
	color: #ffffff;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1;
}

.SelectAgent:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 28px rgba(99, 102, 241, 0.48);
}

.SelectAgent:active {
	transform: translateY(0);
	box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.ToastHost {
	position: fixed;
	top: 28px;
	right: 28px;
	z-index: 2147483001;
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: min(360px, calc(100vw - 56px));
	pointer-events: none;
}

.ToastMessage {
	pointer-events: auto;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 16px 18px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: blur(16px);
	box-shadow:
		0 18px 48px rgba(20, 33, 61, 0.18),
		0 0 0 1px rgba(255, 255, 255, 0.7);
	transform: translateX(120%);
	opacity: 0;
	animation: toastin 0.42s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.ToastMessage.isleaving {
	animation: toastout 0.34s ease forwards;
}

.ToastMessage.error {
	border-left: 4px solid #ef4444;
}

.ToastMessage.info {
	border-left: 4px solid #6366f1;
}

.ToastMessage.success {
	border-left: 4px solid #22c55e;
}

.ToastIcon {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	border-radius: 999px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.95rem;
	font-weight: 700;
}

.ToastMessage.error .ToastIcon {
	background: rgba(239, 68, 68, 0.12);
	color: #dc2626;
}

.ToastMessage.info .ToastIcon {
	background: rgba(99, 102, 241, 0.12);
	color: #4f46e5;
}

.ToastMessage.success .ToastIcon {
	background: rgba(34, 197, 94, 0.12);
	color: #16a34a;
}

.ToastText {
	flex: 1;
	font-size: 0.95rem;
	line-height: 1.45;
	color: #334155;
}

.ToastClose {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	border: 0;
	border-radius: 999px;
	background: rgba(148, 163, 184, 0.14);
	color: #64748b;
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.ToastClose:hover {
	background: rgba(148, 163, 184, 0.24);
	color: #334155;
}

@keyframes toastin {
	from {
		transform: translateX(120%);
		opacity: 0;
	}
	to {
		transform: translateX(0);
		opacity: 1;
	}
}

@keyframes toastout {
	from {
		transform: translateX(0);
		opacity: 1;
	}
	to {
		transform: translateX(120%);
		opacity: 0;
	}
}
