
/* ==================== ULTRA-LUXURY APP DASHBOARD DESIGN ==================== */

/* Hide public navbar & ticker when logged in */
body.logged-in .unauth-only,
body.logged-in .top-notice-bar,
body.logged-in .navbar,
body.logged-in #main-nav,
body.logged-in .live-ticker-wrap {
  display: none !important;
}

body.logged-in .auth-only {
  display: flex !important;
}

body.logged-in {
  padding-bottom: 90px !important;
}

/* Hide Netlify floating badge on mobile */
.netlify-badge, #netlify-badge, [class*="netlify-badge"] {
  display: none !important;
}

/* Dedicated App Navbar for Logged In User */
.app-logged-header {
  display: none;
  background: rgba(10, 16, 31, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 18px;
  position: sticky;
  top: 0;
  z-index: 100;
  justify-content: space-between;
  align-items: center;
}

body.logged-in .app-logged-header {
  display: flex !important;
}

body.logged-in .navbar {
  display: none !important;
}

.alh-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.alh-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000;
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.alh-meta h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.alh-badge {
  background: linear-gradient(90deg, #f59e0b, #eab308);
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  text-transform: uppercase;
}

.alh-uid {
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: 1px;
}

.alh-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.alh-install-pill {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.4);
}

.alh-logout-btn {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

/* ==================== LUXURY VIP WEALTH CARD ==================== */
.vip-wealth-card {
  background: radial-gradient(circle at 100% 0%, #1e293b 0%, #0f172a 50%, #030712 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.4);
  border-radius: 20px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 158, 11, 0.15);
  margin-bottom: 24px;
}

.vip-wealth-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.vwc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.vwc-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 800;
  color: #f59e0b;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vwc-chip {
  width: 38px;
  height: 28px;
  background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.4);
}

.vwc-chip::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  bottom: 6px;
  border: 1px dashed rgba(0, 0, 0, 0.3);
  border-radius: 3px;
}

.vwc-balance-section {
  margin-bottom: 20px;
}

.vwc-balance-lbl {
  font-size: 0.8rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.vwc-balance-val {
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 4px 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.vwc-metrics-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  padding: 14px;
  background: rgba(15, 23, 42, 0.7);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 20px;
}

.vwc-metric-item {
  text-align: center;
}

.vwc-metric-lbl {
  font-size: 0.68rem;
  color: #94a3b8;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.vwc-metric-val {
  font-size: 0.98rem;
  font-weight: 800;
  color: #fff;
}

.vwc-metric-val.green {
  color: #10b981;
}

/* Two Big Glow Action Buttons */
.vwc-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.vwc-btn-recharge {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
  transition: transform 0.2s ease;
}

.vwc-btn-recharge:active {
  transform: scale(0.98);
}

.vwc-btn-withdraw {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
  transition: transform 0.2s ease;
}

.vwc-btn-withdraw:active {
  transform: scale(0.98);
}

/* ==================== QUICK APP SERVICES 4-GRID ==================== */
.app-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 26px;
  padding: 0 4px;
}

.app-service-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 600;
  transition: transform 0.2s ease, color 0.2s ease;
}

.app-service-btn:active {
  transform: scale(0.92);
}

.asb-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.asb-icon-wrap.gold {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.3));
  border-color: rgba(245, 158, 11, 0.4);
}

.asb-icon-wrap.blue {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(29, 78, 216, 0.3));
  border-color: rgba(37, 99, 235, 0.4);
}

.asb-icon-wrap.purple {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.2), rgba(126, 34, 206, 0.3));
  border-color: rgba(147, 51, 234, 0.4);
}

.asb-icon-wrap.green {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.3));
  border-color: rgba(16, 185, 129, 0.4);
}

.asb-icon-wrap.cyan {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(8, 145, 178, 0.3));
  border-color: rgba(6, 182, 212, 0.4);
}

/* ==================== VIBRANT ACTIVE PLANS / EMPTY STATE ==================== */
.dash-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.dash-section-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dsh-pill {
  background: rgba(37, 99, 235, 0.2);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}

/* High-Contrast Empty State Box */
.vibrant-empty-plan-box {
  background: linear-gradient(145deg, rgba(20, 30, 48, 0.8) 0%, rgba(10, 16, 31, 0.95) 100%);
  border: 1.5px dashed rgba(245, 158, 11, 0.4);
  border-radius: 16px;
  padding: 36px 20px;
  text-align: center;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.vep-icon {
  font-size: 3.5rem;
  margin-bottom: 12px;
  filter: drop-shadow(0 6px 16px rgba(245, 158, 11, 0.3));
}

.vep-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 6px;
}

.vep-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  max-width: 440px;
  margin: 0 auto 20px auto;
  line-height: 1.5;
}

.vep-btn {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000;
  border: none;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.4);
  transition: transform 0.2s ease;
}

.vep-btn:active {
  transform: scale(0.96);
}

