/*
 * SweetAlert2: fix parpadeo del fondo oscuro
 * - scrollbar-gutter evita salto horizontal al bloquear scroll
 * - overflow-y: scroll mantiene la barra custom siempre visible
 * - backdrop sin fade (el popup sigue animado con swal2-show / swal2-hide)
 */
html {
	scrollbar-gutter: stable;
	overflow-y: scroll;
	scrollbar-color: #c98a00 #14100d;
}

html::-webkit-scrollbar-track {
	background: linear-gradient(180deg, #1a120c 0%, #0d0907 100%);
	border-left: 1px solid rgba(255, 180, 0, 0.08);
}

html::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, #ffd000 0%, #ffb400 48%, #e06a00 100%);
	border-radius: 10px;
}

html::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(180deg, #ffe44d 0%, #ffc933 48%, #ff7a1a 100%);
}

html::-webkit-scrollbar-corner {
	background: #0d0907;
}

.swal2-container {
	background-color: rgba(0, 0, 0, 0.4);
}

.swal2-container.swal2-backdrop-show,
.swal2-container.swal2-backdrop-hide {
	animation: none !important;
	-webkit-animation: none !important;
}
