* {
	font-family: 'Poppins', sans-serif;
	box-sizing: border-box;
}

body {
	background: #0f0f0f;
	background-image: radial-gradient(ellipse at top, #1a1a1a 0%, #0a0a0a 100%);
	background-repeat: no-repeat;
	background-attachment: fixed;
	min-height: 100vh;
}

h1 {
	text-align: center;
	color: #fff;
	font-weight: 700;
	font-size: 2rem;
	margin: 20px 0 10px;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
	letter-spacing: 1px;
}

a:hover {
	text-decoration: none;
}

.container {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding: 0 10px;
}

.adv {
	justify-content: center;
	display: flex;
	flex-wrap: wrap;
}

img {
	vertical-align: middle;
	border-style: none;
}

.title {
	display: flex;
	justify-content: center;
	margin-bottom: 15px;
}

.title-text {
	color: #ffd700;
	font-size: 1.4rem !important;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 2px;
	text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.slot {
	display: block;
}

.slot .slot-sidebar {
	padding-right: 0;
	padding-left: 0;
	margin-top: -5px;
	background-color: transparent;
	float: none !important;
	width: 100% !important;
	flex: none !important;
	max-width: 100% !important;
}

.btn-provider:hover {
	background-color: #644C1C;
	transform: translateY(-2px);
	transition: all 0.2s ease;
}

.slot-sidebar-nav {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: nowrap;
	padding-left: 0;
	margin-bottom: 0;
	list-style: none;
	gap: 4px;
}

.slot-sidebar-nav > li {
	border-bottom: 1px solid #0092b1;
	width: 100%;
	position: relative;
	display: block;
	border-bottom: none;
	padding: 6px;
	background: linear-gradient(to bottom, #2a2a2a 0%, #5a5a5a 46%, #2a2a2a 100%);
	border-radius: 6px;
	overflow: hidden;
	transition: all 0.25s ease;
}

.slot-sidebar-nav > li:hover {
	background: linear-gradient(to bottom, #3a3a3a 0%, #7a7a7a 46%, #3a3a3a 100%);
	box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
}

.slot-sidebar-nav > li > a {
	color: #fff;
	font-size: 13px;
	padding: 8px 10px;
	display: block;
	background-color: rgba(0, 0, 0, 0.7);
	border-radius: 4px;
	transition: all 0.2s ease;
}

.btn-provider {
	text-align: center;
	display: block;
}

.enter {
	display: none;
}

.btn-provider span {
	position: unset;
}

.btn-provider p.long {
	margin-top: 5px;
	margin-bottom: 0;
	font-size: 11px;
	font-weight: 500;
}

.active {
	background-color: #0092b1;
}

.slot .content {
	float: right;
	width: 100%;
	padding: 0;
	flex: 0 0 100%;
	max-width: 100%;
	margin-top: 15px;
}

.wrapper {
	width: 100%;
	padding: 0;
	white-space: normal;
	overflow: hidden;
	position: relative;
	z-index: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}

/* ==================== CARD GAME (NEW LOOK) ==================== */
.card {
	float: none;
	width: 100%;
	background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
	border: 1px solid rgba(255, 215, 0, 0.15);
	text-align: center;
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
	transition: all 0.3s ease;
}

.card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 25px rgba(255, 215, 0, 0.25), 0 0 0 1px rgba(255, 215, 0, 0.4) inset;
}

.card-content {
	margin: 0;
	color: #fff;
	font-size: 12px;
	border: none;
	overflow: hidden;
	position: relative;
	border-radius: 12px;
}

/* IMAGE — fix aspect ratio so portrait (165x220) doesn't get squashed */
.img-zoom-wrap {
	position: relative;
	width: 100%;
	padding-top: 133.33%; /* 165:220 ratio = 4:3 inverse, portrait */
	overflow: hidden;
	background: #000;
}

.img-zoom {
	transition: all 0.45s ease-in-out;
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	object-position: center;
	display: block;
}

/* Fallback for current HTML (no wrap div) */
.card-content > .img-zoom {
	position: relative;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 165 / 220;
	object-fit: cover;
}

/* ==================== PROGRESS BAR PERCENT ==================== */
.percent {
	height: 28px;
	display: flex;
	overflow: hidden;
	line-height: 0;
	font-size: 0.75rem;
	background-color: #1a1a1a;
	position: relative;
	z-index: 1;
}

.percent p {
	z-index: 15;
	position: absolute;
	text-align: center;
	width: 100%;
	font-size: 14px;
	font-weight: 700;
	transform: translateY(14px);
	color: #000;
	text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
	letter-spacing: 0.5px;
}

.percent-bar {
	background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
	background-size: 1rem 1rem;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-direction: column;
	flex-direction: column;
	-ms-flex-pack: center;
	justify-content: center;
	overflow: hidden;
	color: #fff;
	text-align: center;
	white-space: nowrap;
	transition: width 0.6s ease;
	-webkit-animation: progress-bar-stripes 1s linear infinite;
	animation: progress-bar-stripes 1s linear infinite;
	z-index: 10;
}

@-webkit-keyframes progress-bar-stripes {
	0%   { background-position: 1rem 0; }
	100% { background-position: 0 0; }
}
@keyframes progress-bar-stripes {
	0%   { background-position: 1rem 0; }
	100% { background-position: 0 0; }
}

.yellow {
	background-color: #ffc107;
}
.green {
	background-color: #28a745;
}
.red, .black {
	background-color: #dc3545;
}

/* ==================== HOVER BUTTON (MAIN SEKARANG) ==================== */
.hover-btn {
	position: absolute;
	opacity: 0;
	background: linear-gradient(135deg, rgba(0, 0, 0, 0.75), rgba(20, 20, 20, 0.85));
	backdrop-filter: blur(3px);
	transition: all 0.35s ease-in-out;
	z-index: 10;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.play-btn {
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	color: white;
	text-align: center;
	width: 80%;
	padding: 10px 12px;
	background: linear-gradient(135deg, #15b586, #0e8a64);
	border-radius: 6px;
	box-shadow: 0 4px 15px rgba(21, 181, 134, 0.4);
	letter-spacing: 1px;
	text-transform: uppercase;
	transition: all 0.2s ease;
	margin: 0;
}

.play-btn:hover {
	transform: scale(1.05);
	box-shadow: 0 6px 20px rgba(21, 181, 134, 0.6);
}

.hover-btn:hover {
	opacity: 1;
}

.hover-btn:hover ~ .img-zoom {
	transform: scale(1.15);
}

/* ==================== NEXT BUTTON (mobile) ==================== */
.next-btn {
	display: none;
	width: 30%;
}

.mySlides {
	display: none;
}

.next-btn {
	background-color: #292a2b;
	border: none;
	color: #fff;
}

/* ==================== JAM GACOR ==================== */
.jamgacor {
	background-image: linear-gradient(#00ec00, #00b40e);
	font-family: 'Poppins', sans-serif !important;
	padding: 6px 4px;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	border: 0.1px solid rgba(0, 0, 0, 0.3);
	border-top: none;
}

.jamgacor h5 {
	font-size: 0.85rem;
	font-weight: 700;
	margin: 0;
	color: #000;
	letter-spacing: 0.5px;
}

.jamgacor .jamgacorRange {
	font-size: 0.95rem !important;
	margin-top: 2px;
	font-weight: 800;
}

.progress {
	height: fit-content;
}

.pola {
	background-image: linear-gradient(#003dfd, #0177cc);
	font-family: 'Poppins', sans-serif !important;
	padding: 6px 4px;
	border-bottom-left-radius: 12px;
	border-bottom-right-radius: 12px;
	border: 0.1px solid rgba(0, 0, 0, 0.3);
	border-top: none;
}

.pola h5 {
	font-size: 0.85rem;
	font-weight: 700;
	color: #fff;
	margin: 0 0 3px;
	letter-spacing: 0.5px;
}

.pola p {
	margin: 1px 0;
	font-size: 0.78rem;
	color: #fff;
	font-weight: 500;
	line-height: 1.3;
}

.jam {
	margin-bottom: 0;
	padding: 0;
	color: #000;
	font-weight: bold;
}

.jam h5 {
	font-size: 0.85rem;
	font-weight: bold;
}

.jamBg {
	background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.12) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.12) 50%, rgba(255, 255, 255, 0.12) 75%, transparent 75%, transparent);
	transition: width 0.6s ease;
	-webkit-animation: progress-bar-stripes 1s linear infinite;
	animation: progress-bar-stripes 1s linear infinite;
	background-size: 1rem 1rem;
}

/* ==================== LINK CONTAINER (LOGIN/DAFTAR) ==================== */
.link-container {
	display: flex;
	justify-content: center;
	padding: 0;
	width: 100%;
	gap: 8px;
	max-width: 600px;
	margin: 0 auto 15px;
}

.link-container a {
	flex: 1;
	text-align: center;
	padding: 14px 20px;
	text-transform: uppercase;
	color: #ffffff;
	text-decoration: none;
	font-weight: 700;
	letter-spacing: 1px;
	border-radius: 8px;
	transition: all 0.25s ease;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.link-container a:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.register-button {
	background-image: linear-gradient(135deg, #cb0000, #680202);
	background-color: initial;
}

.login-button {
	background-image: linear-gradient(135deg, #074766, #000c99);
	background-color: initial;
}

/* ==================== RESPONSIVE ==================== */
@media (min-width: 576px) {
	.container { max-width: 540px; }
}
@media (min-width: 768px) {
	.container { max-width: 720px; }
}
@media (min-width: 992px) {
	.container { max-width: 960px; }
}
@media (min-width: 1200px) {
	.container { max-width: 1200px; }
	.wrapper { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 992px) {
	/* ========== SIDEBAR PROVIDER — GRID STATIS, CENTERED ========== */
	.slot {
		display: block !important;
		padding: 6px 8px;
		margin: 0 auto 12px;
		width: 100%;
		max-width: 500px; /* limit lebar di tablet supaya tidak terlalu lebar */
		box-sizing: border-box;
	}

	.slot-scroll-wrapper {
		display: block !important;
		overflow: visible !important;
		white-space: normal !important;
	}

	.slot-nav-arrow {
		display: none !important;
	}

	.slot-sidebar {
		display: block !important;
		float: none !important;
		width: 100% !important;
		max-width: 100% !important;
		padding: 0 !important;
		margin-bottom: 6px;
	}

	/* Flex-wrap dengan center alignment — baris terakhir akan auto-center */
	.slot-sidebar-nav {
		display: flex !important;
		flex-wrap: wrap !important;
		justify-content: center !important;
		align-items: center;
		gap: 6px;
		padding: 0 !important;
		margin: 0 auto !important;
		overflow: visible !important;
		white-space: normal !important;
		list-style: none;
	}

	.slot-sidebar-nav > li {
		display: block;
		/* Width fixed: (100% - 3 gaps × 6px) / 4 = supaya pas 4 kolom */
		flex: 0 0 calc((100% - 18px) / 4);
		width: calc((100% - 18px) / 4) !important;
		min-width: 0;
		aspect-ratio: 1 / 1;
		max-height: 80px;
		padding: 4px;
		background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
		border: 1px solid rgba(255, 215, 0, 0.2);
		border-radius: 10px;
		transition: all 0.25s ease;
		overflow: hidden;
		box-sizing: border-box;
	}
	.slot-sidebar-nav > li:hover,
	.slot-sidebar-nav > li:active {
		background: linear-gradient(145deg, #2a2a2a, #3a3a3a);
		border-color: rgba(255, 215, 0, 0.6);
		transform: scale(1.04);
	}
	.slot-sidebar-nav > li > a {
		height: 100% !important;
		width: 100%;
		padding: 4px !important;
		display: flex !important;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		background: transparent !important;
		gap: 0;
		border-radius: 6px;
	}
	.btn-provider img {
		height: auto !important;
		max-height: 36px;
		max-width: 90%;
		width: auto;
		object-fit: contain;
		margin: 0 auto;
		display: block;
	}
	.btn-provider p.long {
		display: none;
	}

	/* ========== Other mobile styles ========== */
	.content {
		float: none !important;
		width: 100% !important;
		flex: none !important;
		max-width: 100% !important;
	}
	.wrapper { grid-template-columns: repeat(3, 1fr); gap: 8px; }
	.hover-btn:hover { opacity: 0; }
	.hover-btn:hover ~ .img-zoom { transform: scale(1); }
	body { background: #0a0a0a; }
	.enter { display: block; }
	.btn-provider i { margin: 0; }
	.next-btn { display: block; }
	.res-bar { display: none; }
	.jamgacor > h5 { font-size: 0.75rem; }
	.jamgacor .jamgacorRange { font-size: 0.85rem !important; }
	.pola > p { font-size: 0.7rem; }
	h1 { font-size: 1.4rem; }
	.title-text { font-size: 1rem !important; }
}

@media (max-width: 576px) {
	.slot {
		padding: 6px 6px;
		max-width: 100%;
	}
	/* Flex item width recalculate dengan gap lebih kecil */
	.slot-sidebar-nav {
		gap: 5px;
	}
	.slot-sidebar-nav > li {
		flex: 0 0 calc((100% - 15px) / 4) !important;
		width: calc((100% - 15px) / 4) !important;
		max-height: 70px;
		padding: 3px;
	}
	.btn-provider img {
		max-height: 32px !important;
		max-width: 90%;
	}
	.wrapper { grid-template-columns: repeat(2, 1fr); gap: 8px; }
	.pola > p { font-size: 0.7rem !important; }
	.jamgacor h5 { font-size: 0.7rem; }
	.jamgacor .jamgacorRange { font-size: 0.8rem !important; }
	.play-btn { font-size: 12px; padding: 8px 6px; }
}

/* Phone sangat kecil (<400px) — turunkan ke 3 kolom kalau perlu */
@media (max-width: 380px) {
	.slot-sidebar-nav > li {
		flex: 0 0 calc((100% - 10px) / 3) !important;
		width: calc((100% - 10px) / 3) !important;
	}
}

/* ==================== TABS (provider sidebar) ==================== */
.tabs {
	list-style-type: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
}

.tab {
	cursor: pointer;
	display: inline-block;
	margin: 0 5px 10px;
	padding: 10px;
	border-radius: 5px;
	background-color: transparent;
	border: none;
}

.tab:focus {
	border: none;
}

.img-icon-game {
	width: 50px;
	height: 50px;
	margin-left: 20px;
	margin-right: 20px;
}

@media (max-width: 1024px) {
	.tabs { justify-content: flex-start; }
	.tab { width: calc(100% / 5); margin: 0 0 10px; padding: 5px; }
	.img-icon-game { width: 40px; height: 40px; }
}

.tab.active { background-color: #1B1B1B; }

.tab-content {
	flex-direction: row;
	flex-wrap: wrap;
	display: flex;
}

.tab-content h3 {
	margin-top: 0;
	width: 100%;
	font-size: 1.1rem;
	font-weight: 700;
}

/* ==================== PROVIDER MODAL ==================== */
/* Tombol trigger yang muncul di-replace dari sidebar */
.provider-trigger {
	display: block;
	width: 100%;
	max-width: 400px;
	margin: 0 auto 15px;
	padding: 14px 20px;
	background: linear-gradient(135deg, #ffd700 0%, #ffaa00 50%, #ff8800 100%);
	color: #000;
	border: none;
	border-radius: 12px;
	font-size: 16px;
	font-weight: 800;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: 0 4px 20px rgba(255, 170, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	transition: all 0.25s ease;
	font-family: 'Poppins', sans-serif;
	position: relative;
	overflow: hidden;
}
.provider-trigger::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	transform: translateX(-100%);
	transition: transform 0.6s ease;
}
.provider-trigger:hover::before,
.provider-trigger:active::before {
	transform: translateX(100%);
}
.provider-trigger:hover,
.provider-trigger:active {
	transform: translateY(-2px);
	box-shadow: 0 6px 25px rgba(255, 170, 0, 0.6);
}
.provider-trigger .icon {
	font-size: 22px;
	line-height: 1;
}
.provider-trigger .arrow {
	font-size: 14px;
	transition: transform 0.3s ease;
}

/* Sembunyikan sidebar provider asli — diganti dengan modal */
.slot.provider-modal-active {
	display: none !important;
}
/* HARD HIDE: sidebar asli wajib hilang dari layout (kita pakai modal) */
.slot,
.slot.row,
.row.slot,
div.slot {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* OVERLAY (background gelap saat modal terbuka) */
.provider-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.85);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	z-index: 9998;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}
.provider-modal-overlay.open {
	opacity: 1;
	visibility: visible;
}

/* MODAL CONTAINER */
.provider-modal {
	position: fixed;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%) translateY(100%);
	width: 100%;
	max-width: 600px;
	max-height: 85vh;
	background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
	border-radius: 20px 20px 0 0;
	z-index: 9999;
	box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.6);
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	border-top: 2px solid rgba(255, 215, 0, 0.4);
}
.provider-modal.open {
	transform: translateX(-50%) translateY(0);
}

/* HEADER modal */
.provider-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid rgba(255, 215, 0, 0.15);
	background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), transparent);
	flex-shrink: 0;
}
.provider-modal-title {
	color: #ffd700;
	font-size: 17px;
	font-weight: 800;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin: 0;
}
.provider-modal-close {
	background: rgba(255, 255, 255, 0.1);
	border: none;
	color: #fff;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	font-size: 22px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	padding: 0;
	line-height: 1;
}
.provider-modal-close:hover,
.provider-modal-close:active {
	background: rgba(255, 60, 60, 0.3);
	transform: rotate(90deg);
}

/* HANDLE atas (visual hint swipe down) */
.provider-modal-handle {
	width: 50px;
	height: 4px;
	background: rgba(255, 255, 255, 0.3);
	border-radius: 2px;
	margin: 8px auto 0;
}

/* GRID PROVIDER inside modal */
.provider-modal-body {
	padding: 16px;
	overflow-y: auto;
	flex: 1;
	-webkit-overflow-scrolling: touch;
}
.provider-modal-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	list-style: none;
	padding: 0;
	margin: 0;
}
.provider-modal-grid li {
	margin: 0;
	padding: 0;
	animation: fadeInUp 0.4s ease both;
}
.provider-modal-grid li:nth-child(1)  { animation-delay: 0.02s; }
.provider-modal-grid li:nth-child(2)  { animation-delay: 0.04s; }
.provider-modal-grid li:nth-child(3)  { animation-delay: 0.06s; }
.provider-modal-grid li:nth-child(4)  { animation-delay: 0.08s; }
.provider-modal-grid li:nth-child(5)  { animation-delay: 0.10s; }
.provider-modal-grid li:nth-child(6)  { animation-delay: 0.12s; }
.provider-modal-grid li:nth-child(7)  { animation-delay: 0.14s; }
.provider-modal-grid li:nth-child(8)  { animation-delay: 0.16s; }
.provider-modal-grid li:nth-child(9)  { animation-delay: 0.18s; }
.provider-modal-grid li:nth-child(10) { animation-delay: 0.20s; }
.provider-modal-grid li:nth-child(11) { animation-delay: 0.22s; }
.provider-modal-grid li:nth-child(12) { animation-delay: 0.24s; }
.provider-modal-grid li:nth-child(13) { animation-delay: 0.26s; }
.provider-modal-grid li:nth-child(14) { animation-delay: 0.28s; }
.provider-modal-grid li:nth-child(15) { animation-delay: 0.30s; }
.provider-modal-grid li:nth-child(16) { animation-delay: 0.32s; }
.provider-modal-grid li:nth-child(17) { animation-delay: 0.34s; }
.provider-modal-grid li:nth-child(18) { animation-delay: 0.36s; }
.provider-modal-grid li:nth-child(n+19) { animation-delay: 0.38s; }

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.provider-modal-grid a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 12px 6px;
	background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
	border: 1px solid rgba(255, 215, 0, 0.2);
	border-radius: 12px;
	transition: all 0.25s ease;
	text-decoration: none;
	aspect-ratio: 1 / 1;
	min-height: 75px;
}
.provider-modal-grid a:hover,
.provider-modal-grid a:active {
	background: linear-gradient(145deg, #2a2a2a, #3a3a3a);
	border-color: rgba(255, 215, 0, 0.8);
	transform: scale(1.05);
	box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}
.provider-modal-grid img {
	width: auto;
	max-width: 90%;
	max-height: 40px;
	object-fit: contain;
	margin-bottom: 6px;
}
.provider-modal-grid .name {
	font-size: 10px;
	color: #fff;
	font-weight: 500;
	text-align: center;
	margin: 0;
	line-height: 1.2;
	width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Mobile-specific tweaks */
@media (max-width: 576px) {
	.provider-trigger {
		font-size: 14px;
		padding: 12px 16px;
	}
	.provider-modal {
		max-height: 80vh;
	}
	.provider-modal-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 8px;
	}
	.provider-modal-grid a {
		min-height: 70px;
		padding: 10px 4px;
	}
	.provider-modal-grid img {
		max-height: 32px;
	}
	.provider-modal-grid .name {
		font-size: 9px;
	}
	.provider-modal-title {
		font-size: 15px;
	}
}

/* Desktop layout: modal jadi centered fade-in */
@media (min-width: 992px) {
	.provider-modal {
		bottom: auto !important;
		top: 50% !important;
		left: 50% !important;
		transform: translate(-50%, -50%) scale(0.9) !important;
		max-width: 700px;
		max-height: 80vh;
		border-radius: 20px;
		border: 2px solid rgba(255, 215, 0, 0.4);
		opacity: 0;
		visibility: hidden;
		transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
	}
	.provider-modal.open {
		transform: translate(-50%, -50%) scale(1) !important;
		opacity: 1 !important;
		visibility: visible !important;
	}
	.provider-modal-handle {
		display: none;
	}
	.provider-modal-grid {
		grid-template-columns: repeat(5, 1fr);
	}
	.provider-modal-grid img {
		max-height: 48px;
	}
	.provider-modal-grid .name {
		font-size: 11px;
	}
}