.dtec-toast-container {
	position: fixed;
	right: var(--space-l, 24px);
	bottom: var(--space-l, 24px);
	z-index: var(--dtec-z-toast, 400);
	display: flex;
	flex-direction: column;
	gap: var(--space-xs, 10px);
	pointer-events: none;
}

.dtec-toast {
	display: flex;
	align-items: center;
	gap: var(--space-xs, 10px);
	min-width: 280px;
	max-width: min(420px, calc(100vw - 32px));
	padding: var(--space-s, 14px) var(--space-m, 20px);
	border: 1px solid rgba(46, 40, 38, 0.12);
	border-left-width: 3px;
	border-radius: 14px;
	background: var(--dtec-white, #fff);
	box-shadow: 0 18px 40px rgba(46, 40, 38, 0.08);
	color: var(--dtec-text, var(--dark-gray, #2E2826));
	font-size: var(--text-s, 14px);
	font-weight: 600;
	line-height: 1.4;
	opacity: 0;
	transform: translate3d(0, 12px, 0) scale(0.98);
	transition:
		opacity 180ms cubic-bezier(0.2, 0, 0, 1),
		transform 180ms cubic-bezier(0.2, 0, 0, 1);
	pointer-events: auto;
}

.dtec-toast.is-visible {
	opacity: 1;
	transform: translate3d(0, 0, 0) scale(1);
}

.dtec-toast.is-leaving {
	opacity: 0;
	transform: translate3d(0, 12px, 0) scale(0.98);
}

.dtec-toast__icon {
	width: 20px;
	height: 20px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	flex-shrink: 0;
}

.dtec-toast__icon svg {
	width: 14px;
	height: 14px;
	display: block;
}

.dtec-toast__message {
	flex: 1;
	min-width: 0;
}

.dtec-toast__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	padding: 0;
	border: none;
	background: transparent;
	color: rgba(46, 40, 38, 0.46);
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	flex-shrink: 0;
}

.dtec-toast__close:hover {
	color: var(--dtec-text, var(--dark-gray, #2E2826));
}

.dtec-toast--success {
	border-left-color: #059669;
}

.dtec-toast--success .dtec-toast__icon {
	background: #ECFDF5;
	color: #059669;
}

.dtec-toast--error {
	border-left-color: #DC2626;
}

.dtec-toast--error .dtec-toast__icon {
	background: #FEF2F2;
	color: #DC2626;
}

.dtec-toast--warning {
	border-left-color: #D97706;
}

.dtec-toast--warning .dtec-toast__icon {
	background: #FFFBEB;
	color: #D97706;
}

.dtec-toast--info {
	border-left-color: var(--dtec-primary, #8F385D);
}

.dtec-toast--info .dtec-toast__icon {
	background: rgba(143, 56, 93, 0.08);
	color: var(--dtec-primary, #8F385D);
}

@media (max-width: 768px) {
	.dtec-toast-container {
		left: var(--space-s, 14px);
		right: var(--space-s, 14px);
		bottom: var(--space-s, 14px);
	}

	.dtec-toast {
		min-width: auto;
		max-width: none;
	}
}
