/* INOSAS Notify — modern toast stack (login + shared) */

.ino-notify-host {
	position: fixed;
	z-index: 2147483000;
	top: 20px;
	right: 20px;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 12px;
	width: min(400px, calc(100vw - 32px));
	pointer-events: none;
}

.ino-notify {
	--ino-accent: #0e7490;
	--ino-accent-soft: #ecfeff;
	--ino-accent-ink: #155e75;
	--ino-surface: rgba(255, 255, 255, 0.92);
	--ino-border: rgba(15, 23, 42, 0.08);
	--ino-title: #0f172a;
	--ino-text: #475569;
	--ino-shadow:
		0 18px 40px -18px rgba(15, 23, 42, 0.28),
		0 8px 16px -10px rgba(15, 23, 42, 0.12),
		0 0 0 1px var(--ino-border);

	pointer-events: auto;
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: start;
	gap: 12px;
	width: 100%;
	padding: 14px 14px 16px;
	border-radius: 16px;
	background: var(--ino-surface);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow: var(--ino-shadow);
	color: var(--ino-text);
	font-family: "Manrope", "Segoe UI", ui-sans-serif, system-ui, -apple-system, sans-serif;
	overflow: hidden;
	opacity: 0;
	transform: translate3d(18px, -8px, 0) scale(0.96);
	transition:
		opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.ino-notify.is-in {
	opacity: 1;
	transform: translate3d(0, 0, 0) scale(1);
}

.ino-notify.is-leaving {
	opacity: 0;
	transform: translate3d(12px, -6px, 0) scale(0.97);
	pointer-events: none;
}

.ino-notify__icon {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: var(--ino-accent-soft);
	color: var(--ino-accent-ink);
	flex-shrink: 0;
}

.ino-notify__icon svg {
	width: 18px;
	height: 18px;
}

.ino-notify__body {
	min-width: 0;
	padding-top: 1px;
}

.ino-notify__title {
	margin: 0 0 2px;
	color: var(--ino-title);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.3;
}

.ino-notify__message {
	margin: 0;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.45;
	letter-spacing: -0.01em;
	color: var(--ino-text);
	word-break: break-word;
}

.ino-notify__close {
	appearance: none;
	border: 0;
	background: transparent;
	color: #94a3b8;
	width: 28px;
	height: 28px;
	margin: -4px -4px 0 0;
	border-radius: 8px;
	cursor: pointer;
	font-size: 18px;
	line-height: 1;
	display: grid;
	place-items: center;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.ino-notify__close:hover {
	background: rgba(15, 23, 42, 0.06);
	color: #0f172a;
}

.ino-notify__progress {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: rgba(15, 23, 42, 0.06);
	overflow: hidden;
}

.ino-notify__progress::after {
	content: "";
	display: block;
	height: 100%;
	width: 100%;
	transform-origin: left center;
	background: var(--ino-accent);
	animation: ino-notify-progress var(--ino-notify-duration, 3200ms) linear forwards;
}

.ino-notify--success {
	--ino-accent: #059669;
	--ino-accent-soft: #ecfdf5;
	--ino-accent-ink: #047857;
}

.ino-notify--error {
	--ino-accent: #dc2626;
	--ino-accent-soft: #fef2f2;
	--ino-accent-ink: #b91c1c;
}

.ino-notify--warning {
	--ino-accent: #d97706;
	--ino-accent-soft: #fffbeb;
	--ino-accent-ink: #b45309;
}

.ino-notify--info {
	--ino-accent: #0284c7;
	--ino-accent-soft: #f0f9ff;
	--ino-accent-ink: #0369a1;
}

@keyframes ino-notify-progress {
	from {
		transform: scaleX(1);
	}
	to {
		transform: scaleX(0);
	}
}

@media (max-width: 480px) {
	.ino-notify-host {
		top: 12px;
		right: 12px;
		left: 12px;
		width: auto;
		align-items: stretch;
	}
}
