/* Loaded AFTER sweetalert2.bundle.css — Ready brand + dark theme */

.swal2-styled.swal2-confirm {
	background-color: #F03D1E !important;
	border: 0 !important;
	box-shadow: none !important;
}
.swal2-styled.swal2-confirm:focus {
	box-shadow: 0 0 0 0.2rem rgba(240, 61, 30, 0.35) !important;
}
.swal2-styled.swal2-cancel {
	background-color: #6c757d !important;
	border: 0 !important;
}
.swal2-popup .swal2-styled:focus {
	box-shadow: 0 0 0 0.2rem rgba(240, 61, 30, 0.35) !important;
}

[data-bs-theme=dark] .swal2-popup {
	background: #2b2d31 !important;
	color: #e8eaed !important;
	border: 1px solid var(--bs-border-color, #3d4148);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
}
[data-bs-theme=dark] .swal2-title {
	color: #f1f3f5 !important;
}
[data-bs-theme=dark] .swal2-content,
[data-bs-theme=dark] .swal2-html-container {
	color: #adb5bd !important;
}
[data-bs-theme=dark] .swal2-footer {
	border-top-color: var(--bs-border-color, #3d4148);
	color: #adb5bd;
}
[data-bs-theme=dark] .swal2-close {
	color: #adb5bd;
}
[data-bs-theme=dark] .swal2-close:hover {
	color: #fff;
}

/* Keep success/error icons readable on dark popup */
[data-bs-theme=dark] .swal2-success {
	border-color: #1dc9b7 !important;
	color: #1dc9b7 !important;
}
[data-bs-theme=dark] .swal2-success [class^=swal2-success-line] {
	background-color: #1dc9b7 !important;
}
[data-bs-theme=dark] .swal2-success .swal2-success-ring {
	border-color: rgba(29, 201, 183, 0.35) !important;
}
[data-bs-theme=dark] .swal2-success [class^=swal2-success-circular-line],
[data-bs-theme=dark] .swal2-success .swal2-success-fix {
	background-color: #2b2d31 !important;
}
[data-bs-theme=dark] .swal2-error {
	border-color: #F03D1E !important;
	color: #F03D1E !important;
}
[data-bs-theme=dark] .swal2-error [class^=swal2-x-mark-line] {
	background-color: #F03D1E !important;
}
[data-bs-theme=dark] .swal2-warning {
	border-color: #ffc107 !important;
	color: #ffc107 !important;
}
[data-bs-theme=dark] .swal2-info {
	border-color: #0dcaf0 !important;
	color: #0dcaf0 !important;
}
[data-bs-theme=dark] .swal2-container.swal2-backdrop-show,
[data-bs-theme=dark] .swal2-container.swal2-noanimation {
	background: rgba(0, 0, 0, 0.65) !important;
}
