/* Dashboard Pro Redesign — profesional & enak dilihat */
body.ux-pro.dashboard-page .dash-main-v2 {
  max-width: 720px;
  padding-bottom: 110px;
}

/* ===== GREETING HEADER ===== */
.dash-pro-greet {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 4px 18px;
  animation: dash-fade-up .5s ease both;
}
.dash-pro-greet h1 {
  margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.02em;
  color: #f5f7ff; line-height: 1.25;
}
.dash-pro-greet h1 span {
  background: linear-gradient(135deg, #b098ff, #62e7ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.dash-pro-greet p { margin: 4px 0 0; color: #9ca7ba; font-size: 13px; }
.dash-pro-date {
  text-align: right; color: #707c91; font-size: 12px; line-height: 1.5;
  flex-shrink: 0; padding-left: 12px;
}
.dash-pro-date strong { display: block; color: #b9c0d2; font-size: 13px; }

/* ===== BALANCE CARD PREMIUM ===== */
.dash-pro-balance {
  position: relative; overflow: hidden;
  border-radius: 28px; padding: 26px 24px;
  background: linear-gradient(135deg, #1b1440 0%, #0d1b3d 55%, #0a1030 100%);
  border: 1px solid rgba(134, 104, 255, .22);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .08);
  animation: dash-fade-up .5s .08s ease both;
}
.dash-pro-balance::before {
  content: ""; position: absolute; top: -70px; right: -50px;
  width: 230px; height: 230px; border-radius: 50%;
  background: radial-gradient(circle, rgba(134,104,255,.32), transparent 70%);
  pointer-events: none;
}
.dash-pro-balance::after {
  content: ""; position: absolute; bottom: -90px; left: -40px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(98,231,255,.14), transparent 70%);
  pointer-events: none;
}
.dash-pro-balance-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  position: relative; z-index: 1;
}
.dash-pro-kicker {
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  color: #9d8cff; text-transform: uppercase;
}
.dash-pro-balance-value {
  font-size: 38px; font-weight: 800; letter-spacing: -.02em;
  color: #fff; margin: 8px 0 4px;
  font-variant-numeric: tabular-nums;
}
.dash-pro-balance-value.blurred { filter: blur(9px); user-select: none; }
.dash-pro-balance-sub { color: rgba(255,255,255,.55); font-size: 13px; margin: 0; }
.dash-pro-eye {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.07);
  color: #fff; font-size: 17px; cursor: pointer;
  display: grid; place-items: center;
  transition: background .2s;
}
.dash-pro-eye:hover { background: rgba(255,255,255,.14); }

/* ===== QUICK ACTIONS ===== */
.dash-pro-actions {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin-top: 18px; position: relative; z-index: 1;
}
.dash-pro-action {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  padding: 15px 8px; border-radius: 18px; text-decoration: none;
  background: #000;
  border: 1px solid rgba(255, 255, 255, .1);
  color: #f5f7ff; font-size: 12.5px; font-weight: 700;
  transition: transform .15s, background .2s;
}
.dash-pro-action:hover { background: rgba(255, 255, 255, .1); }
.dash-pro-action:active { transform: scale(.96); }
.dash-pro-action .dash-pro-action-icon {
  width: 68px; height: 68px; border-radius: 16px;
  display: grid; place-items: center; font-size: 19px;
  overflow: hidden; padding: 0;
}
.dash-pro-action .dash-pro-action-icon img {
  width: 68px !important; height: 68px !important;
  min-width: 68px !important; min-height: 68px !important;
  max-width: 68px !important; max-height: 68px !important;
  object-fit: cover; display: block; flex-shrink: 0;
}
.dash-pro-action.topup .dash-pro-action-icon { background: #000; }
.dash-pro-action.withdraw .dash-pro-action-icon { background: #000; }
.dash-pro-action.create .dash-pro-action-icon { background: #000; }

/* ===== STATS GRID ===== */
.dash-pro-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-top: 22px;
  animation: dash-fade-up .5s .16s ease both;
}
.dash-pro-stat {
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 20px; padding: 18px;
  display: flex; gap: 13px; align-items: flex-start;
  transition: border-color .2s, background .2s;
}
.dash-pro-stat:hover { border-color: rgba(134, 104, 255, .3); background: rgba(255, 255, 255, .05); }
.dash-pro-stat-icon {
  width: 42px; height: 42px; border-radius: 14px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 20px;
}
.dash-pro-stat-icon img {
  width: 42px !important; height: 42px !important;
  min-width: 42px !important; min-height: 42px !important;
  max-width: 42px !important; max-height: 42px !important;
  object-fit: cover; display: block; flex-shrink: 0;
}
.dash-pro-stat-icon.blue { background: #000; }
.dash-pro-stat-icon.green { background: #000; }
.dash-pro-stat-icon.purple { background: #000; }
.dash-pro-stat-icon.amber { background: #000; }
.dash-pro-stat-body { min-width: 0; }
.dash-pro-stat-body span {
  font-size: 10.5px; font-weight: 700; letter-spacing: .1em;
  color: #707c91; text-transform: uppercase;
}
.dash-pro-stat-body strong {
  display: block; font-size: 21px; font-weight: 800; color: #f5f7ff;
  margin: 3px 0 2px; font-variant-numeric: tabular-nums;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dash-pro-stat-body small { color: #707c91; font-size: 11.5px; }

/* ===== SECTIONS ===== */
.dash-pro-section { margin-top: 28px; animation: dash-fade-up .5s .24s ease both; }
.dash-pro-section-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 14px; padding: 0 4px;
}
.dash-pro-section-head h2 {
  margin: 0; font-size: 17px; font-weight: 800; color: #f5f7ff;
  letter-spacing: -.01em;
}
.dash-pro-section-head .text-link {
  font-size: 13px; font-weight: 700; color: #b098ff; text-decoration: none;
}
.dash-pro-section-head .text-link:hover { text-decoration: underline; }

/* Sembunyikan layout lama */
body.ux-pro.dashboard-page .dash-v2-welcome,
body.ux-pro.dashboard-page .dash-v2-balance-card,
body.ux-pro.dashboard-page .dash-v2-overview { display: none !important; }

@keyframes dash-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 480px) {
  .dash-pro-balance-value { font-size: 32px; }
  .dash-pro-greet h1 { font-size: 21px; }
  .dash-pro-date { display: none; }
}
