/* Toastify + SweetAlert2 surfaces use the existing Property Search green/gold palette. */
.toastify.ps-toast {
	box-sizing: border-box;
	max-width: min(430px, calc(100vw - 32px));
	padding: 14px 18px;
	border: 1px solid rgba(255, 255, 255, .16);
	border-left: 4px solid var(--ps-single-gold, #ffcc00);
	border-radius: 12px;
	box-shadow: 0 14px 36px rgba(0, 24, 18, .25);
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: .01em;
}

.toastify.ps-toast .toast-close {
	margin-left: 14px;
	color: rgba(255, 255, 255, .85);
	font-size: 18px;
	font-weight: 400;
}

.toastify.ps-toast .toast-close:hover { color: #fff; }

.swal2-popup.ps-swal-popup {
	border-top: 4px solid var(--ps-single-gold, #ffcc00);
	border-radius: 18px;
	color: #183b2e;
	box-shadow: 0 24px 72px rgba(0, 24, 18, .24);
	font-family: inherit;
}

.swal2-popup.ps-swal-popup .ps-swal-title {
	color: var(--ps-single-primary, #003d2b);
	font-weight: 750;
}

.swal2-popup.ps-swal-popup .ps-swal-text { color: #53645c; }

.swal2-popup.ps-swal-popup .ps-swal-confirm,
.swal2-popup.ps-swal-popup .ps-swal-cancel {
	min-height: 42px;
	padding: 0 20px;
	border: 0;
	border-radius: 10px;
	font: inherit;
	font-weight: 700;
	transition: transform .16s ease, box-shadow .16s ease;
}

.swal2-popup.ps-swal-popup .ps-swal-confirm {
	background: linear-gradient(135deg, var(--ps-single-primary, #003d2b), #006241);
	color: #fff;
	box-shadow: 0 5px 15px rgba(0, 61, 43, .2);
}

.swal2-popup.ps-swal-popup .ps-swal-cancel {
	border: 1px solid #dce5df;
	background: #f5f8f6;
	color: var(--ps-single-primary, #003d2b);
}

.swal2-popup.ps-swal-popup .ps-swal-confirm:hover,
.swal2-popup.ps-swal-popup .ps-swal-cancel:hover { transform: translateY(-1px); }

.swal2-popup.ps-swal-popup .ps-swal-confirm:focus-visible,
.swal2-popup.ps-swal-popup .ps-swal-cancel:focus-visible {
	outline: 3px solid var(--ps-single-gold, #ffcc00);
	outline-offset: 3px;
}

.swal2-popup.ps-swal-popup .swal2-icon.swal2-warning { color: #95730c; border-color: #d8b230; }

@media (max-width: 520px) {
	.toastify.ps-toast { right: 16px; left: 16px; max-width: none; width: auto; }
	.swal2-popup.ps-swal-popup { width: calc(100% - 32px); padding: 1.25em; }
	.swal2-popup.ps-swal-popup .ps-swal-actions { flex-wrap: wrap; }
}
