/* WPW Notify Toast — styles */

.wpw-toast {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 999999;
	width: 340px;
	max-width: calc(100vw - 40px);
	background: #1f2430;
	color: #fff;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
	padding: 18px 18px 16px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	opacity: 0;
	visibility: hidden;
	transform: translateY(16px);
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.wpw-toast.wpw-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.wpw-close {
	position: absolute;
	top: 10px;
	right: 12px;
	background: transparent;
	border: none;
	color: rgba(255, 255, 255, 0.6);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	padding: 4px;
}

.wpw-close:hover {
	color: #fff;
}

.wpw-toast-header {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding-right: 16px;
}

.wpw-icon {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: linear-gradient(135deg, #6366f1, #8b5cf6);
	display: flex;
	align-items: center;
	justify-content: center;
}

.wpw-icon svg {
	width: 18px;
	height: 18px;
}

.wpw-title {
	margin: 0 0 4px;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
}

.wpw-body {
	margin: 0;
	font-size: 13px;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.7);
}

.wpw-actions {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin-top: 14px;
}

.wpw-btn {
	border: none;
	border-radius: 8px;
	padding: 8px 14px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s ease, opacity 0.15s ease;
}

.wpw-btn-secondary {
	background: transparent;
	color: rgba(255, 255, 255, 0.7);
}

.wpw-btn-secondary:hover {
	color: #fff;
}

.wpw-btn-primary {
	background: #6366f1;
	color: #fff;
}

.wpw-btn-primary:hover {
	background: #4f46e5;
}

.wpw-btn:disabled {
	opacity: 0.6;
	cursor: default;
}

@media (max-width: 420px) {
	.wpw-toast {
		right: 12px;
		left: 12px;
		bottom: 12px;
		width: auto;
	}
}
