:root {
  --bg: #0a0918; --surface: #12102a; --surface-2: #1a1740; --surface-3: #211d4a;
  --border: rgba(255,255,255,0.06); --border-hover: rgba(255,255,255,0.12);
  --text: #f0ecff; --text-2: rgba(240,236,255,0.55); --text-3: rgba(240,236,255,0.3);
  --accent-orange: #f59e0b; --accent-amber: #fbbf24; --accent-purple: #a855f7; --accent-violet: #7c3aed;
  --accent-grad: linear-gradient(135deg, #f59e0b 0%, #f97316 45%, #c026d3 100%);
  --accent-grad-2: linear-gradient(135deg, #7c3aed, #a855f7);
  --green: #22c55e; --radius: 14px; --radius-sm: 10px; --radius-xs: 8px;
}

html { font-size: 16px; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  background: var(--bg); color: var(--text);
  max-width: 540px; margin: 0 auto; min-height: 100vh;
  overflow-x: hidden; padding-bottom: 100px; position: relative;
}

/* ======================================================================
	BURGER MENU
   ====================================================================== */

.burger-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.6);
	z-index: 100;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}
.burger-overlay.show {
	display: block;
}
.burger-drawer {
	position: fixed;
	top: 0;
	width: 0;
	height: 100vh;
	background: var(--surface);
	z-index: 101;
	overflow: hidden;
	transition: width 0.3s cubic-bezier(0.16,1,0.3,1);
	display: flex;
	flex-direction: column;
}
.burger-drawer.show {
	width: 280px;
	overflow-y: auto;
	border-right: 1px solid var(--border);
}
.burger-drawer-inner {
	min-width: 280px;
	width: 280px;
	display: flex;
	flex-direction: column;
	min-height: 100%;
}
.burger-header {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px;
	border-bottom: 1px solid var(--border);
}
.burger-close {
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255,255,255,0.06);
	border: none;
	border-radius: 8px;
	cursor: pointer;
	color: var(--text-2);
}
.burger-close svg {
	width: 20px;
	height: 20px;
}
.burger-brand {
	font-weight: 900;
	font-size: 20px;
	background: var(--accent-grad);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}
.burger-auth {
	display: flex;
	gap: 8px;
	padding: 16px;
}
.burger-btn {
	flex: 1;
	height: 44px;
	border: none;
	border-radius: 10px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}
.burger-btn.masuk {
	background: var(--accent-grad-2);
	color: #fff;
}
.burger-btn.daftar {
	background: var(--accent-grad);
	color: #fff;
}
.burger-shortcuts {
	display: flex;
	gap: 8px;
	padding: 0 16px 16px;
}
.burger-shortcut {
	flex: 1;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	border-radius: 10px;
	border: 1px solid var(--border);
	background: var(--surface-2);
	color: var(--text-2);
	font-family: inherit;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
}
.burger-shortcut.deposit {
	background: rgba(124,58,237,0.15);
	border-color: rgba(124,58,237,0.3);
	color: var(--accent-purple);
}
.burger-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 4px;
	padding: 8px 16px 16px;
}
.burger-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 14px 4px;
	border-radius: 10px;
	text-decoration: none;
	color: var(--text-2);
	transition: background 0.2s;
	cursor: pointer;
}
.burger-item:hover {
	background: rgba(255,255,255,0.04);
}
.burger-icon {
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: radial-gradient(circle at 30% 30%, rgba(124,58,237,0.3), rgba(124,58,237,0.08));
	border: 1px solid rgba(255,255,255,0.06);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
}
.burger-item span {
	font-size: 11px;
	font-weight: 600;
}
.burger-share {
	padding: 16px;
	border-top: 1px solid var(--border);
}
.burger-share-row {
	display: flex;
	gap: 10px;
}
.share-icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: all 0.2s;
}
.share-icon:hover {
	transform: scale(1.1);
}
.share-icon svg {
	width: 20px;
	height: 20px;
}
.burger-cs-link {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: auto;
	padding: 18px 16px;
	border-top: 1px solid var(--border);
	text-decoration: none;
	color: var(--text);
	font-size: 14px;
	font-weight: 600;
	transition: background 0.2s;
}
.burger-cs-link:hover {
	background: rgba(255,255,255,0.03);
}
.burger-cs-link span:first-child {
	font-size: 20px;
}
.burger-cs-link span:nth-child(2) {
	flex: 1;
}

/* ========== PAGE PANEL ========== */
.page-panel-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 48;
		backdrop-filter: blur(12px);
		-webkit-backdrop-filter: blur(12px);
}

.page-panel-backdrop.show {
    display: block;
}

.page-panel {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateX(100%);
    width: 100%;
    max-width: 540px;
    height: 100vh;
    background: var(--bg);
    z-index: 49;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
}

.page-panel.show {
    transform: translateX(-50%) translateX(0);
    visibility: visible;
    pointer-events: all;
}

.page-panel-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: rgba(10,9,24,0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.page-panel-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    padding-bottom: 160px;
    scrollbar-width: none;
}

.page-panel-content::-webkit-scrollbar {
    display: none;
}

@keyframes panelOpen {
    0%   { transform: translateX(-50%) translateX(0) scale(1.05); opacity: 0; filter: blur(12px); }
    100% { transform: translateX(-50%) translateX(0) scale(1); opacity: 1; filter: blur(0); }
}

.page-panel.show {
    animation: panelOpen 0.25s ease-out forwards;
    visibility: visible;
    pointer-events: all;
}

@keyframes panelClose {
    0%   { transform: translateX(-50%) translateX(0) scale(1); opacity: 1; filter: blur(0); }
    100% { transform: translateX(-50%) translateX(0) scale(1.05); opacity: 0; filter: blur(12px); }
}

.page-panel.closing {
    animation: panelClose 0.25s ease-in forwards;
    pointer-events: none;
}

/* ========== PROMOTION PAGE ========== */

/* CONTENT */
.promo-content { display: flex; flex-direction: column; gap: 14px; }

/* TABS */
.promo-tabs {
    display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
    -ms-overflow-style: none; padding: 2px;
}
.promo-tabs.is-sticky {
	position: sticky;
	top: 64px;
	z-index: 10;
	background: var(--bg);
	padding: 10px 16px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.3);
	margin-left: -16px;
	margin-right: -16px;
}
.promo-tabs::-webkit-scrollbar { display: none; }
.promo-tab {
    min-height: 40px; padding: 10px 18px; border-radius: 20px; font-family: inherit;
    font-size: 13px; font-weight: 700; cursor: pointer; transition: all 0.2s;
    border: 1px solid var(--border); background: var(--surface); color: var(--text-2);
    white-space: nowrap; flex-shrink: 0;
}
.promo-tab:hover { border-color: var(--border-hover); color: var(--text); }
.promo-tab.active { background: var(--accent-grad-2); border-color: transparent; color: #fff; }

/* PROMO LIST */
.promo-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

/* PROMO CARD */
.promo-card {
    border-radius: var(--radius); overflow: hidden;
    background: var(--surface); border: 1px solid var(--border);
    transition: all 0.25s;
}
.promo-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

/* PROMO BANNER */
.promo-banner {
    width: 100%; position: relative; overflow: hidden;
}
.promo-banner img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}

/* PROMO FOOTER */
.promo-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
}

.promo-icon {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; flex-shrink: 0;
}
.pi-1 { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.pi-2 { background: linear-gradient(135deg, #22c55e, #16a34a); }
.pi-3 { background: linear-gradient(135deg, #f59e0b, #f97316); }
.pi-4 { background: linear-gradient(135deg, #ef4444, #dc2626); }
.pi-5 { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.pi-6 { background: linear-gradient(135deg, #ec4899, #db2777); }

.promo-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.promo-title {
    flex: 1;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
		line-height: 1.4;
}

.promo-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    margin-top: 4px;
    background: rgba(124,58,237,0.15);
    color: var(--accent-purple);
    border: 1px solid rgba(124,58,237,0.25);
}
.promo-status.active {
    background: rgba(34,197,94,0.15);
    color: var(--green);
    border-color: rgba(34,197,94,0.25);
}
.promo-status.expired {
    background: rgba(239,68,68,0.12);
    color: #f87171;
    border-color: rgba(239,68,68,0.25);
}

/* PROMO ACTIONS */
.promo-actions {
    display: flex;
    gap: 8px;
    padding: 0 16px 14px;
}

.promo-actions .btn {
    flex: 1;
    height: 38px;
    font-size: 12px;
}

.promo-actions .btn-detail {
    background: rgba(255,255,255,0.06);
    color: var(--text-2);
    border: 1px solid var(--border);
}

.promo-actions .btn-detail:hover {
    background: rgba(255,255,255,0.1);
    color: var(--text);
    border-color: var(--border-hover);
}

/* PROMO DETAILS */

.promo-details-section {
    margin-bottom: 12px;
}

.promo-details-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-2);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.promo-details-subtitle {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.promo-details ul {
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.promo-details ul li {
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.5;
}

.promo-details-action {
    margin-top: 14px;
}

/* ========== DEPOSIT PAGE ========== */

/* SKELETON */
.skeleton {
    background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 50%, var(--surface-2) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: var(--radius-xs);
}

@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-section {
    padding: 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.skeleton-label {
    height: 12px;
    width: 30%;
}

.skeleton-item {
    height: 48px;
    width: 100%;
}

.skeleton-item-sm {
    height: 36px;
    width: 100%;
}

/* TOP BAR ACTION */
.topbar-action {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer; color: var(--text-2); transition: all 0.2s;
  border-radius: var(--radius-xs);
}
.topbar-action:hover { background: rgba(255,255,255,0.06); color: var(--text); }
.topbar-action svg { width: 20px; height: 20px; }

/* BALANCE CARD */
.balance-card {
  position: relative;
  padding: 20px 16px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #f59e0b 100%);
  overflow: hidden;
}
.balance-card::before {
  content: '';
  position: absolute;
  top: -40%; right: -20%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 70%);
  pointer-events: none;
}
.balance-card::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -10%;
  width: 150px; height: 150px;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 70%);
  pointer-events: none;
}

.balance-label {
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
}

.balance-amount {
  font-family: 'JetBrains Mono', monospace;
  font-size: 32px; font-weight: 700; color: #fff;
  line-height: 1; margin-bottom: 8px;
  position: relative; z-index: 1;
}

.balance-refresh a, 
.label-view-rules-dep a, 
.label-view-rules-wd a {
	font-size: 10px;
	text-transform: uppercase;
	color: var(--accent-amber);
}

.balance-refresh a:hover, 
.label-view-rules-dep a:hover, 
.label-view-rules-wd a:hover {
	color: var(--accent-amber);
	text-decoration: underline !important;
}

/* SECTION */
.dep-section { display: flex; flex-direction: column; gap: 10px; }
.dep-label {
  font-size: 14px; font-weight: 700; color: var(--text);
  display: flex; align-items: center; gap: 6px;
}
.dep-content { display: flex; flex-direction: column; gap: 10px; }

.dep-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-3);
}

/* CHANNEL GRID */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.channel-item {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer; transition: all 0.25s;
	position: relative;
}
.channel-item:hover { border-color: var(--border-hover); }
.channel-item.active {
  border-color: var(--accent-violet);
  background: linear-gradient(180deg, rgba(124,58,237,0.12), rgba(124,58,237,0.04));
}
.channel-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid var(--text-3);
  flex-shrink: 0; transition: all 0.2s;
}
.channel-item.active .channel-dot {
  border-color: var(--accent-violet);
  background: var(--accent-violet);
  box-shadow: inset 0 0 0 3px var(--surface);
}
.channel-info { flex: 1; min-width: 0; }
.channel-name { font-size: 13px; font-weight: 700; color: var(--text); }
.channel-min { font-size: 10px; color: var(--text-3); margin-top: 2px; }
.channel-badge {
  font-size: 10px; font-weight: 700; padding: 2px 6px;
  border-radius: 4px; background: rgba(124,58,237,0.2); color: var(--accent-purple);
}

.channel-promo-term {
	position: absolute;
	bottom: 1px;
	left: 1px;
	right: 1px;
	display: flex;
	justify-content: center;
	align-content: center;
	align-items: center;
	font-size: 10px;
	height: 20px;
	background: rgba(0, 0, 0, .76);
	border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.channel-promo-term a {
	display: flex;
	z-index: 1;
	flex: 1;
	align-items: center;
	justify-content: center;
}

/* AMOUNT GRID */
.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.amount-item {
  padding: 14px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  text-align: center;
  cursor: pointer; transition: all 0.25s;
}
.amount-item:hover { border-color: var(--border-hover); background: var(--surface-2); }
.amount-item.active {
  border-color: transparent;
  background: var(--accent-grad-2);
  box-shadow: 0 4px 16px rgba(124,58,237,0.25);
}
.amount-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px; font-weight: 700; color: var(--text);
}
.amount-item.active .amount-value { color: #fff; }
.amount-rp { font-size: 10px; color: var(--text-3); margin-top: 2px; }
.amount-item.active .amount-rp { color: rgba(255,255,255,0.7); }
.amount-item.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* CUSTOM INPUT */
.custom-input-wrap {
  display: flex; align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  height: 48px; overflow: hidden; transition: all 0.25s;
}
.custom-input-wrap:focus-within {
  border-color: rgba(168,120,255,0.4);
  box-shadow: 0 0 0 3px rgba(168,120,255,0.08);
}
.custom-prefix {
  padding: 0 14px; font-size: 14px; font-weight: 700;
  color: var(--text-3); flex-shrink: 0;
  border-right: 1px solid var(--border);
  height: 100%; display: flex; align-items: center;
}
input.custom-input {
  flex: 1; height: 100%; background: transparent; border: none; outline: none;
  color: var(--text); font-family: 'JetBrains Mono', monospace;
  font-size: 15px; font-weight: 600; padding: 0 14px;
}
input..custom-input::placeholder { color: var(--text-3); font-weight: 400; }
.custom-hint {
  font-size: 11px; color: var(--text-3);
  padding-left: 2px;
}

/* PAYMENT METHODS */
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.method-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer; transition: all 0.25s;
}
.method-item:hover { border-color: var(--border-hover); background: var(--surface-2); }
.method-item.active {
  border-color: var(--accent-violet);
  background: linear-gradient(180deg, rgba(124,58,237,0.15), rgba(124,58,237,0.05));
  box-shadow: 0 0 16px rgba(124,58,237,0.1);
}
.method-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  background: var(--surface-2);
}
.method-item.active .method-icon { background: rgba(124,58,237,0.2); }
.method-name { font-size: 12px; font-weight: 600; color: var(--text-2); }
.method-item.active .method-name { color: var(--text); }

.dep-channel-pane { display: none; }
.dep-channel-pane.active { display: grid; }

.dep-info-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dep-info-item {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    border: 1px solid var(--border);
}

.dep-info-label {
    font-size: 11px;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.dep-info-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.dep-info-value a {
    color: var(--text-3);
    transition: color 0.2s;
}

.dep-info-value a:hover {
    color: var(--accent-purple);
}

.dep-unavailable { padding: 16px; border-radius: var(--radius-sm); background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.25); color: #f87171; font-size: 13px; }

.channel-item.disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }

.submit-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.submit-wrap .btn {
    flex: 1;
    min-width: calc(50% - 5px);
}

.submit-wrap-3btn .btn:first-child {
    flex: 0 0 100%;
}

/* confirm transfer */
.dep-notice {
    padding: 12px 14px;
    border-radius: var(--radius-xs);
    background: rgba(245,158,11,0.1);
    border: 1px solid rgba(245,158,11,0.25);
    color: var(--accent-amber);
    font-size: 13px;
}

.dep-qrcode-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
}

.dep-qrcode {
    width: 200px;
    height: 200px;
}

.dep-qrcode img, .dep-qrcode canvas {
	width: 100%;
	height: 100%;
	max-width: 2000px;
	background-color: #fff;
	padding: 10px;
	border-radius: var(--radius-sm);
}

.dep-qrcode-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

#countdownText {
    font-size: 14px;
    font-weight: 700;
}

.upload-receipt-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px dashed var(--border-hover);
    background: var(--surface-2);
    color: var(--text-2);
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
    margin-top: 6px;
}
.upload-receipt-wrap:hover {
    border-color: var(--accent-purple);
    color: var(--text);
}

/* history deposit */
.card-deposit-history { 
	background: var(--surface); 
	border: 1px solid var(--border); 
	border-radius: var(--radius); 
	overflow:hidden;	
}

.item-deposit-history { 
	display: flex; 
	align-items: center; 
	justify-content: space-between; 
	padding: 16px; 
	border-bottom: 1px solid var(--border); 
	text-decoration:none;
	color:inherit;
}

.card-deposit-history > a:last-of-type {
  border-bottom: none;
}

.item-deposit-history:hover, 
.item-deposit-history.active, 
.item-deposit-history.active:hover {
	color: inherit;
	background-color: var(--surface-2);
}

.item-deposit-history .item-left-panel {
	text-align: left;
}

.item-deposit-history .item-right-panel {
	text-align: right;
}

.item-deposit-history .item-bank {
	font-size: 14px;
	font-weight: 700;
}

.item-deposit-history .item-detail {
	font-size: 12px;
	color: var(--text-3);
	margin-top: 4px;
}

.item-deposit-history .item-amount {
	font-family: 'JetBrains Mono';
	font-weight: 700;
	color: var(--accent-amber);
}

.item-deposit-history .item-status {
	font-size:11px;
	margin-top:4px;
}

.expand-deposit-history-detail {
	display: flex;
	display: flex;
	flex-direction: column;
	padding: 16px;
	border-bottom: 1px solid var(--border);
}

.card-deposit-history > .expand-deposit-history-detail:last-child { 
	border-bottom: none;
}

.deposit-history-detail {
	display:flex;
	justify-content:space-between;
	padding: 8px 0;
}

.expand-deposit-history-detail > .deposit-history-detail + .deposit-history-detail {
	border-top: 1px solid var(--border);
}

.expand-deposit-history-detail > .deposit-history-detail:first-child {
	padding-top: 0;
}

.expand-deposit-history-detail > .deposit-history-detail:last-child {
	padding-bottom: 0;
}

.deposit-history-detail .title-history-detail {
	font-size:13px;
	color:var(--text-2);
}

.deposit-history-detail .amount-history-detail {
	font-family:'JetBrains Mono';
	font-size: 13px;
	font-weight: 100;
	color:var(--accent-amber);
}

@media (max-width: 480px) {
	.channel-grid {
		grid-template-columns: repeat(1, 1fr);
	}
}

@media (max-width: 360px) {
	.balance-card {
		position: relative;
		padding: 14px 16px;
	}
	.amount-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ============================
   INSTANT DEPOSIT ONPAGE (QRIS OB)
   ============================ */

/* SCREEN 1 */
#instant-deposit-onpage .qob-header {
    text-align: center;
    margin-bottom: 16px;
}
#instant-deposit-onpage .qob-header h5 {
    color: var(--text);
    font-weight: 700;
    margin-bottom: 4px;
}
#instant-deposit-onpage .qob-header p {
    color: var(--text-2);
    font-size: 13px;
    margin-bottom: 0;
}

/* LABEL */
#instant-deposit-onpage .qob-label {
		display: flex;
		align-items: center;
		font-size: 14px;
		font-weight: 700;
		color: var(--text);
    margin-bottom: 8px;
    margin-top: 16px;
}
#instant-deposit-onpage .qob-label .opt {
    font-weight: 400;
    color: var(--text-3);
    text-transform: none;
    letter-spacing: 0;
    font-size: 11px;
}

/* AMOUNT GRID */
#instant-deposit-onpage .qob-amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 8px;
}
#instant-deposit-onpage .qob-amount-btn {
    padding: 14px 8px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-2);
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s;
    font-family: 'JetBrains Mono', monospace;
}
#instant-deposit-onpage .qob-amount-btn:hover {
    border-color: var(--border-hover);
    background: var(--surface-2);
}
#instant-deposit-onpage .qob-amount-btn.active {
    border-color: transparent;
    background: var(--accent-grad-2);
    color: #fff;
    box-shadow: 0 4px 16px rgba(124,58,237,0.25);
}
#instant-deposit-onpage .qob-amount-btn.other {
    color: var(--accent-purple);
    border-color: rgba(168,85,247,0.3);
    font-family: inherit;
    font-size: 13px;
}
#instant-deposit-onpage .qob-amount-btn.other:hover {
    background: rgba(168,85,247,0.1);
}

/* CUSTOM AMOUNT */
#instant-deposit-onpage .qob-custom-amount {
    display: none;
    margin-bottom: 8px;
}
/*
#instant-deposit-onpage #qob-amount-input {
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 16px;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    outline: none;
    transition: border 0.2s;
}
*/
#instant-deposit-onpage #qob-amount-input:focus {
    border-color: var(--accent-violet);
    box-shadow: 0 0 0 3px rgba(124,58,237,0.08);
}
#instant-deposit-onpage #qob-amount-input::placeholder {
    color: var(--text-3);
    font-weight: 400;
    font-size: 13px;
    font-family: inherit;
}
#instant-deposit-onpage .qob-back-grid {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-3);
    text-decoration: none;
}
#instant-deposit-onpage .qob-back-grid:hover {
    color: var(--accent-purple);
}

/* PROMO LIST */
#instant-deposit-onpage .qob-promo-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
}
#instant-deposit-onpage .qob-promo-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.25s;
    position: relative;
    flex-wrap: wrap;
		min-height: 62px;
}
#instant-deposit-onpage .qob-promo-item input[type=radio] { display: none; }
#instant-deposit-onpage .qob-promo-item:hover { border-color: var(--border-hover); }
#instant-deposit-onpage .qob-promo-item.active {
    border-color: var(--accent-violet);
    background: linear-gradient(180deg, rgba(124,58,237,0.12), rgba(124,58,237,0.04));
}
#instant-deposit-onpage .qob-promo-radio {
    width: 16px;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--text-3);
    flex-shrink: 0;
    transition: all 0.2s;
    position: relative;
}
#instant-deposit-onpage .qob-promo-item.active .qob-promo-radio {
    border-color: var(--accent-violet);
    background: var(--accent-violet);
    box-shadow: inset 0 0 0 3px var(--surface);
}
#instant-deposit-onpage .qob-promo-info { flex: 1; }
#instant-deposit-onpage .qob-promo-info .title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}
#instant-deposit-onpage .qob-promo-info .sub {
    font-size: 11px;
    color: var(--text-3);
    margin-top: 2px;
}
#instant-deposit-onpage .qob-promo-badge {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-amber);
    background: rgba(245,158,11,0.1);
    border: 1px solid rgba(245,158,11,0.25);
    padding: 2px 8px;
    border-radius: 20px;
}

/* MORE TOGGLE */
#instant-deposit-onpage .qob-more-toggle {
    font-size: 12px;
    color: var(--accent-purple);
    text-decoration: none;
    display: inline-block;
    margin: 4px 0;
}
#instant-deposit-onpage .qob-more-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#instant-deposit-onpage .qob-sk-section {
    display: none;
    margin-bottom: 1em;
}

/* INLINE S&K */
#instant-deposit-onpage .qob-inline-sk {
    width: 100%;
    margin-top: 10px;
    position: relative;
}
#instant-deposit-onpage .qob-inline-sk-detail {
    font-size: 12px;
    color: var(--text-2);
    max-height: 5em;
    overflow: hidden;
    transition: max-height 0.3s ease;
    line-height: 1.8;
}
#instant-deposit-onpage .qob-inline-sk-fade {
    display: none;
    position: absolute;
    bottom: 18px;
    left: 0;
    right: 0;
    height: 32px;
    background: linear-gradient(transparent, rgba(124,58,237,0.04));
}
#instant-deposit-onpage .qob-inline-sk-toggle {
    font-size: 11px;
    color: var(--accent-purple);
    text-decoration: none;
    display: none;
    margin-top: 4px;
    text-align: center;
    width: 100%;
}
#instant-deposit-onpage .qob-sk-title {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-3);
    margin-bottom: 6px;
}
#instant-deposit-onpage .qob-sk-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-size: 12px;
    color: var(--text-2);
    margin-bottom: 2px;
}
#instant-deposit-onpage .qob-sk-row span { color: var(--text-3); }
#instant-deposit-onpage .qob-sk-row strong { color: var(--accent-violet); }
#instant-deposit-onpage .qob-sk-row small { color: var(--text-3); font-size: 11px; }
#instant-deposit-onpage .qob-sk-games { font-size: 11px; color: var(--text-2); line-height: 1.8; }

/* AGREE WRAP */
#instant-deposit-onpage .qob-agree-wrap {
    display: none;
    margin-top: 12px;
}
#instant-deposit-onpage .qob-agree-wrap label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-2);
    line-height: 1.5;
}
#instant-deposit-onpage .qob-agree-wrap input[type=checkbox] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border-radius: 4px;
    border: 1px solid var(--border);
    background: var(--surface-2);
    cursor: pointer;
    margin-top: 2px;
    transition: all 0.2s;
    position: relative;
}
#instant-deposit-onpage .qob-agree-wrap input[type=checkbox]:checked {
    background: var(--accent-grad);
    border-color: transparent;
}
#instant-deposit-onpage .qob-agree-wrap input[type=checkbox]:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

/* ERROR */
#instant-deposit-onpage .qob-error {
    display: none;
    padding: 10px 14px;
    border-radius: var(--radius-xs);
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.25);
    color: #f87171;
    font-size: 13px;
    margin-top: 12px;
}

/* SUBMIT */
#instant-deposit-onpage .qob-submit {
    width: 100%;
    margin-top: 16px;
    padding: 14px;
    border-radius: var(--radius-sm);
    background: var(--accent-grad);
    border: none;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s;
}
#instant-deposit-onpage .qob-submit:hover { opacity: 0.9; }

/* LOADING */
#instant-deposit-onpage .qob-loading {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px 0;
    text-align: center;
    color: var(--text-3);
    font-size: 14px;
}
#instant-deposit-onpage .qob-loading i {
    font-size: 28px;
}
#instant-deposit-onpage .qob-loading p { margin: 0; }

/* SCREEN 2 - QR CODE */
#instant-deposit-onpage .qob-qr-wrap {
    display: flex;
    justify-content: center;
    margin: 16px 0;
}
#instant-deposit-onpage #qob-qr-canvas-wrap {
    display: inline-block;
    position: relative;
    width: 300px;
    height: 300px;
    background-image: url("../../assets/images/qris-frame-white.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    border-radius: 8px;
}
#instant-deposit-onpage #qob-qr-canvas {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-block;
    background: transparent;
    padding: 0;
    border-radius: 0;
    border: none;
}
#instant-deposit-onpage #qob-qr-canvas img,
#instant-deposit-onpage #qob-qr-canvas canvas {
    display: block;
    max-width: 215px;
    max-height: 215px;
}
#instant-deposit-onpage .qob-qr-info {
    text-align: center;
    margin-bottom: 12px;
}
#instant-deposit-onpage .qob-qr-info .amount {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-amber);
    font-family: 'JetBrains Mono', monospace;
}
#instant-deposit-onpage .qob-qr-info .refid {
    font-size: 12px;
    color: var(--text-3);
    margin-top: 4px;
}
#instant-deposit-onpage .qob-countdown {
    text-align: center;
    font-size: 13px;
    color: #f87171;
    margin-bottom: 12px;
}
#instant-deposit-onpage .qob-countdown .timer {
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    font-size: 16px;
}
#instant-deposit-onpage .qob-instruction {
    text-align: center;
    font-size: 13px;
    color: var(--accent-amber);
    padding: 12px 14px;
    border-radius: var(--radius-xs);
    background: rgba(245,158,11,0.1);
    border: 1px solid rgba(245,158,11,0.25);
    line-height: 1.6;
}

/* ========== WITHDRAW PAGE ========== */

/* SECTION */
.wd-section { 
	display: flex; 
	flex-direction: column; 
	gap: 10px; 
}
.wd-label {
  font-size: 14px; 
	font-weight: 700; 
	color: var(--text);
  display: flex; 
	align-items: center; 
	gap: 6px;
}
.wd-content { 
	display: flex; 
	flex-direction: column; 
	gap: 10px; 
}
/* BANK REGISTER CARD */
.bank-register-card {
  padding: 20px 16px; border-radius: var(--radius-sm); border: 1px dashed var(--border);
  background: var(--surface); text-align: center;
}
.bank-register-card .label-card {
	font-size: 13px;
	color: var(--text-2);
	text-align: center;
	margin-bottom:12px;
}
.add-bank-btn {
  padding: 10px 24px; border-radius: 20px; border: 1px dashed var(--accent-amber);
  background: rgba(245,158,11,0.08); color: var(--accent-amber);
  font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: all 0.2s;
}
.add-bank-btn:hover { background: rgba(245,158,11,0.15); }
.bank-register-card .manage-card {
	margin-top:10px;
}
.bank-register-card .manage-card a {
	min-height:40px;border-radius:12px;border:1px solid rgba(245,158,11,0.22);background:rgba(245,158,11,0.08);display:flex;align-items:center;justify-content:center;padding:10px 14px;font-size:13px;font-weight:700;color:var(--accent-amber);text-decoration:none;
}
.info-addbank-wd {
	font-size:12px;color:var(--text-3);margin-bottom:16px;line-height:1.6;
}
/* BANK REGISTERED CARD */
.bank-registered-card {
  display: flex; align-items: center; gap: 14px; padding: 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
	text-decoration:none;color:inherit;
}
.bank-registered-card:hover, 
.bank-registered-card:focus {
	text-decoration:none;color:inherit;
}
.bank-registered-card .bank-icon {
  width: 48px; height: 48px; border-radius: var(--radius-xs);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; background: var(--surface-2); flex-shrink: 0;
}
.bank-registered-card .bank-info { flex: 1; }
.bank-registered-card .bank-name { font-size: 14px; font-weight: 700; }
.bank-registered-card .bank-number { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--text-3); margin-top: 2px; }
.bank-registered-card .cs-arrow { color: var(--text-3); font-size: 18px; }

.bank-registered-info-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 16px; display: flex; flex-direction: column;
}
.bank-registered-info-card .card-title { font-size: 15px; font-weight: 700; margin-bottom: 5px; }
.bank-registered-info-card .stat-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0; border-bottom: 1px solid var(--border);
}
.bank-registered-info-card .stat-row:last-child { border-bottom: none; padding-bottom: 0; }
.bank-registered-info-card .stat-name { font-size: 14px; color: var(--text-2); }
.bank-registered-info-card .stat-val { font-family: 'JetBrains Mono', monospace; font-size: 14px; font-weight: 700; color: var(--text); }
/* EDIT BANK CARD */
.card-editbank-withdraw {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	gap: 20px;
	background: var(--surface); 
	border: 1px solid var(--border); 
	border-radius: var(--radius-sm); 
	padding: 20px 18px;
}
.card-editbank-withdraw .content-edit-bank {
	display: flex;
	flex-direction: column;
	text-align: center;
	gap: 12px;
}
.card-editbank-withdraw .content-edit-bank .icon-edit-bank {
	font-size:48px;
}
.card-editbank-withdraw .content-edit-bank .detail-edit-bank {
	font-size:14px;
	color:var(--text-2);
	line-height:1.6;
}
.card-editbank-withdraw .action-edit-bank {
	display: flex;
	flex-direction: column;
}