.swal2-container.a5-swal-container {
	background: rgba(15, 20, 35, .45) !important;
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
	padding: 16px;
}

.swal2-popup.a5-swal {
	width: 26em;
	max-width: 100%;
	padding: 28px 24px 22px;
	border-radius: 22px;
	background: #fff;
	border: 1px solid #ffe6cc;
	box-shadow: 0 24px 60px rgba(15, 20, 35, .22), 0 2px 0 #fff inset;
	font-family: 'Inter', sans-serif;
	overflow: hidden;
}

.swal2-popup.a5-swal::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 5px;
	background: linear-gradient(90deg, #ffb347, #ff7a00);
}

.swal2-popup.a5-swal.a5-tone-danger::before  { background: linear-gradient(90deg, #ff8a8a, #e03131); }
.swal2-popup.a5-swal.a5-tone-success::before { background: linear-gradient(90deg, #5fd3a5, #12b886); }
.swal2-popup.a5-swal.a5-tone-warning::before { background: linear-gradient(90deg, #ffd666, #f59f00); }
.swal2-popup.a5-swal.a5-tone-info::before    { background: linear-gradient(90deg, #74c0fc, #228be6); }

.swal2-popup.a5-swal .swal2-icon {
	width: 64px;
	height: 64px;
	margin: 6px auto 14px;
	border: 0 !important;
	border-radius: 20px;
	background: #fff1e0;
	color: #ff7a00 !important;
	font-size: 30px;
	animation: a5-swal-icon .35s cubic-bezier(.2, .9, .3, 1.3) both !important;
	transform: rotate(-6deg);
}

.swal2-popup.a5-swal .swal2-icon .swal2-icon-content {
	font-size: 30px;
	transform: rotate(6deg);
}

.swal2-popup.a5-swal .swal2-icon.swal2-success  { background: #e6f8f1; color: #12b886 !important; }
.swal2-popup.a5-swal .swal2-icon.swal2-error    { background: #ffecec; color: #e03131 !important; }
.swal2-popup.a5-swal .swal2-icon.swal2-warning  { background: #fff6dc; color: #e8a200 !important; }
.swal2-popup.a5-swal .swal2-icon.swal2-info     { background: #e7f3ff; color: #228be6 !important; }
.swal2-popup.a5-swal .swal2-icon.swal2-question { background: #fff1e0; color: #ff7a00 !important; }

@keyframes a5-swal-icon {
	from { opacity: 0; transform: rotate(-6deg) scale(.6); }
	to   { opacity: 1; transform: rotate(-6deg) scale(1); }
}

.swal2-popup.a5-swal .swal2-title {
	padding: 0;
	margin: 0 0 6px;
	font-size: 19px;
	font-weight: 700;
	color: #1f2640;
}

.swal2-popup.a5-swal .swal2-html-container {
	margin: 6px 0 0;
	padding: 0;
	font-size: 14.5px;
	line-height: 1.6;
	color: #5a6178;
}

.swal2-popup.a5-swal .swal2-html-container b,
.swal2-popup.a5-swal .swal2-html-container strong {
	color: #1f2640;
}

.swal2-popup.a5-swal .swal2-html-container > div[style] {
	border-radius: 12px;
	border-left-width: 4px !important;
	padding: 10px 14px !important;
}

.swal2-popup.a5-swal .swal2-input,
.swal2-popup.a5-swal .swal2-textarea,
.swal2-popup.a5-swal .swal2-select {
	margin: 14px 0 0;
	width: 100%;
	border: 1px solid #e3e6ee;
	border-radius: 12px;
	box-shadow: none;
	font-size: 14px;
}

.swal2-popup.a5-swal .swal2-input:focus,
.swal2-popup.a5-swal .swal2-textarea:focus,
.swal2-popup.a5-swal .swal2-select:focus {
	border-color: #ff9900;
	box-shadow: 0 0 0 4px rgba(255, 153, 0, .15);
}

.swal2-popup.a5-swal .swal2-validation-message {
	margin: 12px 0 0;
	border-radius: 10px;
	background: #fff0f0;
	color: #c92a2a;
	font-size: 13px;
}

.swal2-popup.a5-swal .swal2-actions {
	width: 100%;
	margin: 22px 0 0;
	gap: 10px;
	flex-wrap: nowrap;
}

.a5-swal-btn {
	flex: 1 1 0;
	min-width: 0;
	margin: 0 !important;
	padding: 11px 18px;
	border: 0;
	border-radius: 12px;
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.3;
	cursor: pointer;
	transition: transform .12s, box-shadow .15s, background .15s, filter .15s;
}

.a5-swal-btn:active { transform: translateY(1px) scale(.98); }
.a5-swal-btn:focus { outline: none; }

.a5-swal-confirm {
	background: linear-gradient(135deg, #ff9900, #ff7a00) !important;
	color: #fff !important;
	box-shadow: 0 6px 16px rgba(255, 122, 0, .3);
}

.a5-swal-confirm:hover { filter: brightness(1.05); box-shadow: 0 8px 20px rgba(255, 122, 0, .4); }
.a5-swal-confirm:focus-visible { box-shadow: 0 0 0 4px rgba(255, 153, 0, .3); }

.a5-swal-confirm.is-danger  { background: linear-gradient(135deg, #ff6b6b, #e03131) !important; box-shadow: 0 6px 16px rgba(224, 49, 49, .28); }
.a5-swal-confirm.is-success { background: linear-gradient(135deg, #38d39f, #12b886) !important; box-shadow: 0 6px 16px rgba(18, 184, 134, .28); }

.a5-swal-cancel,
.a5-swal-deny {
	background: #f3f4f8 !important;
	color: #5a6178 !important;
}

.a5-swal-cancel:hover,
.a5-swal-deny:hover { background: #e9ebf2 !important; color: #1f2640 !important; }

.swal2-popup.a5-swal .swal2-loader {
	width: 34px;
	height: 34px;
	border-width: 3px;
	border-color: #ff7a00 transparent #ffd5a8 transparent;
}

.swal2-popup.a5-swal .swal2-close {
	top: 10px;
	right: 10px;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	color: #9aa0b4;
	font-size: 26px;
}

.swal2-popup.a5-swal .swal2-close:hover { background: #f3f4f8; color: #1f2640; }

.swal2-popup.a5-swal .swal2-footer {
	margin: 18px 0 0;
	padding: 14px 0 0;
	border-top: 1px solid #f0f1f5;
	font-size: 13px;
	color: #8a90a5;
}

.swal2-popup.a5-swal .swal2-timer-progress-bar { background: rgba(255, 122, 0, .5); }

.a5-swal-show { animation: a5-swal-in .28s cubic-bezier(.2, .9, .3, 1.15) both; }
.a5-swal-hide { animation: a5-swal-out .16s ease-in both; }

@keyframes a5-swal-in {
	from { opacity: 0; transform: translateY(18px) scale(.96); }
	to   { opacity: 1; transform: none; }
}

@keyframes a5-swal-out {
	to { opacity: 0; transform: translateY(10px) scale(.97); }
}

@media (max-width: 480px) {
	.swal2-container.a5-swal-container { padding: 0; }
	.swal2-container.a5-swal-container > .swal2-popup.a5-swal {
		align-self: end;
		width: 100%;
		border-radius: 22px 22px 0 0;
		padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px));
	}
	.a5-swal-show { animation-name: a5-swal-up; }
	@keyframes a5-swal-up {
		from { transform: translateY(100%); }
		to   { transform: none; }
	}
}

@media (prefers-reduced-motion: reduce) {
	.a5-swal-show, .a5-swal-hide, .swal2-popup.a5-swal .swal2-icon { animation: none; }
}
