/* Toast Notification System */
.toast-container {
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	gap: 12px;
	pointer-events: none;
}

.toast {
	background: white;
	border-radius: 8px;
	padding: 16px 20px;
	min-width: 300px;
	max-width: 400px;
	max-height: calc(100vh - 40px);
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
	display: flex;
	align-items: flex-start;
	gap: 12px;
	pointer-events: auto;
	animation: slideIn 0.3s ease-out;
	transition: transform 0.3s ease-out, opacity 0.3s ease-out;
	border-left: 4px solid #F58426;
}

.toast.success {
	border-left-color: #10b981;
}

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

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

.toast.info {
	border-left-color: #F58426;
}

.toast-icon {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.toast.success .toast-icon {
	background: #dcfce7;
	color: #16a34a;
}

.toast.error .toast-icon {
	background: #fee2e2;
	color: #dc2626;
}

.toast.warning .toast-icon {
	background: #fef3c7;
	color: #d97706;
}

.toast.info .toast-icon {
	background: #dbeafe;
	color: #F58426;
}

.toast-icon svg {
	width: 16px;
	height: 16px;
}

.toast-content {
	flex: 1;
	min-width: 0;
	max-height: calc(100vh - 100px);
	overflow-y: auto;
}

.toast-title {
	font-size: 14px;
	font-weight: 600;
	color: #1e293b;
	margin: 0 0 2px 0;
}

.toast-message {
	font-size: 13px;
	color: #64748b;
	margin: 0;
	overflow-wrap: break-word;
	word-break: break-word;
}

.toast-ok {
	flex-shrink: 0;
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
	color: #475569;
	cursor: pointer;
	padding: 4px 12px;
	font-size: 12px;
	font-weight: 500;
	border-radius: 4px;
	transition: all 0.2s ease;
}

.toast-ok:hover {
	background: #e2e8f0;
	color: #1e293b;
}

.toast-close {
	flex-shrink: 0;
	background: none;
	border: none;
	color: #94a3b8;
	cursor: pointer;
	padding: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	transition: all 0.2s ease;
}

.toast-close:hover {
	background: #f1f5f9;
	color: #64748b;
}

.toast-close svg {
	width: 16px;
	height: 16px;
}

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

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

.toast.removing {
	animation: slideOut 0.3s ease-out forwards;
}
