/*
 * PressConduit live reload toast.
 * Renders bottom-right, slides up, persists until dismissed or action clicked.
 */
#pcd-pc-toast {
	position: fixed;
	bottom: 24px;
	right: 24px;
	z-index: 100000;
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 420px;
	padding: 12px 16px;
	background: #1d2327;
	color: #fff;
	border-radius: 10px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 13px;
	line-height: 1.4;
	animation: pcd-pc-toast-in 0.25s ease-out;
}

@keyframes pcd-pc-toast-in {
	from { transform: translateY(20px); opacity: 0; }
	to   { transform: translateY(0);    opacity: 1; }
}

.pcd-pc-toast__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #2563eb;
	box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
	flex-shrink: 0;
	animation: pcd-pc-toast-pulse 1.8s ease-in-out infinite;
}

@keyframes pcd-pc-toast-pulse {
	0%, 100% { box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18); }
	50%      { box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.10); }
}

.pcd-pc-toast__text {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pcd-pc-toast__btn {
	display: inline-block;
	padding: 6px 12px;
	background: #2563eb;
	color: #fff;
	text-decoration: none;
	border: 0;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s ease;
}

.pcd-pc-toast__btn:hover,
.pcd-pc-toast__btn:focus {
	background: #1d4ed8;
	color: #fff;
}

.pcd-pc-toast__close {
	width: 24px;
	height: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	color: #fff;
	border: 0;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	opacity: 0.6;
	border-radius: 4px;
	transition: opacity 0.15s ease, background 0.15s ease;
}

.pcd-pc-toast__close:hover {
	opacity: 1;
	background: rgba(255, 255, 255, 0.1);
}
