/* ธีม SweetAlert2 หน้าเล่น (ต.ค. 2026) — พื้นม่วง ปุ่มยืนยันทอง ปุ่มยกเลิกกระจก · ใช้ทุกหน้า: main.php (หลังเข้าสู่ระบบ) + หน้าเข้าสู่ระบบ / สมัคร
   SweetAlert ฉีด CSS ของตัวเองเข้า <head> ตอนโหลด — กฎที่ต้องชนะใช้ !important (ทับ confirmButtonColor ที่โค้ดส่งมา เช่น 'red' ด้วย)
   ฟอนต์ prompt ต้องมี @font-face ในหน้าอยู่แล้ว (style.css / auth.css) */
.swal2-popup {
	border-radius: 22px !important;
	background: linear-gradient(180deg, #2a0d55 0%, #170235 100%) !important;
	border: 1px solid rgba(255, 255, 255, 0.14);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55) !important;
	font-family: prompt, sans-serif;
}

.swal2-popup .swal2-title {
	color: #fff !important;
}

.swal2-popup .swal2-content,
.swal2-popup .swal2-html-container {
	color: #d9c9ff !important;
}

.swal2-popup .swal2-styled.swal2-confirm {
	border-radius: 14px !important;
	background: linear-gradient(180deg, #ffe27a, #f5a623) !important;
	color: #3a1d00 !important;
	font-weight: 700;
	box-shadow: 0 6px 16px rgba(245, 166, 35, 0.35) !important;
}

.swal2-popup .swal2-styled.swal2-cancel {
	border-radius: 14px !important;
	background: rgba(255, 255, 255, 0.1) !important;
	border: 1px solid rgba(255, 255, 255, 0.18) !important;
	color: #efe6ff !important;
}

.swal2-popup .swal2-styled:focus {
	box-shadow: 0 0 0 3px rgba(255, 210, 74, 0.3) !important;
}

.swal2-popup .swal2-input,
.swal2-popup .swal2-textarea {
	border-radius: 12px;
	background: rgba(8, 0, 24, 0.55);
	border: 1px solid rgba(255, 255, 255, 0.16);
	color: #fff;
}

.swal2-icon.swal2-success [class^="swal2-success-circular-line"],
.swal2-icon.swal2-success .swal2-success-fix {
	background-color: transparent !important;
}

.swal2-popup.swal2-toast {
	border-radius: 16px !important;
	padding: 10px 14px !important;
}

.swal2-popup.swal2-toast .swal2-title {
	font-size: 0.92rem !important;
}
