:root {
  color-scheme: dark;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f1f2f6;
  color: #111;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: url('WhatsApp%20Image%202026-07-29%20at%2002.29.10.jpeg') no-repeat center top / cover fixed;
}

.app-shell { max-width: 420px; margin: 0 auto; padding: 16px 16px 84px; }

.top-bar {
  position: relative;
  background: #fff;
  border-radius: 24px;
  padding: 18px 16px 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  box-shadow: 0 18px 35px rgba(17, 24, 39, 0.08);
}

.brand { font-size: 1rem; font-weight: 700; letter-spacing: 0.18em; }
.header-right { display:flex; gap:8px; justify-content:flex-end; }
.phone { font-size:0.95rem; font-weight:600; }
.exit-btn { position:absolute; top:16px; right:16px; width:44px; height:44px; border:none; border-radius:50%; background:#f7f8fb; color:#111; cursor:pointer; font-size:1.15rem; }

.hero-card { margin-top:18px; padding:18px; border-radius:24px; background:linear-gradient(135deg,#111827 0%,#1f2937 100%); color:#fff; display:grid; gap:12px; }
.hero-label { font-size:1rem; font-weight:700; }
.hero-subtitle { color:#cbd5e1; font-size:0.95rem; }
.hero-action { width:fit-content; padding:12px 22px; border:none; border-radius:999px; background:#fff; color:#111; font-weight:700; cursor:pointer; }

/* Prime page specific tweaks to better match mobile dashboard */
.top-bar .brand { grid-column: 1 / 2; }
.top-bar .header-right { grid-column: 3 / 4; }
.phone { text-align: center; font-size: 1.05rem; font-weight: 700; }
.level-badge { display: inline-block; margin-top: 8px; background:#0ea5ff; color:#fff; padding:6px 14px; border-radius:999px; font-weight:700; font-size:0.9rem; }

.hero-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; background: #0b1220; }
.hero-card .hero-content { color: #fff; }
.hero-card .hero-action { margin-left: 8px; background: #fff; color: #0b1220; padding:12px 18px; border-radius:999px; }

/* Wallet card style (muted panel like screenshot) */
.wallet-card { background: #f1f3f5; border-radius: 16px; padding: 18px; box-shadow: none; }
.deposit-announcement { background: rgba(15, 23, 42, 0.95); color: #f8fbff; border-radius: 20px; padding: 16px 18px; margin-bottom: 16px; box-shadow: 0 20px 40px rgba(15,23,42,0.12); }
.deposit-copy { font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.8; margin-bottom: 8px; }
.deposit-ticker { overflow: hidden; position: relative; background: rgba(255,255,255,0.08); border-radius: 16px; padding: 12px 14px; }
.deposit-message { display: inline-block; white-space: nowrap; font-size: 0.95rem; font-weight: 700; color: #e0f2fe; animation: scrollDeposit 12s linear infinite; }
@keyframes scrollDeposit { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }
.wallet-header { display:flex; justify-content:space-between; align-items:center; margin-bottom: 12px; }
.wallet-balance-row { display:grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items:center; }
.wallet-balance { background: transparent; padding: 14px; border-radius: 12px; }
.wallet-value { font-size:1.6rem; font-weight:800; color:#0f172a; }
.wallet-label { color: #475569; }

.task-card { position: relative; overflow: hidden; }
.task-card .task-action { position: absolute; top: 18px; right: 18px; padding: 10px 16px; background: #2563eb; color: #fff; border-radius: 999px; text-decoration: none; font-weight: 700; box-shadow: 0 16px 30px rgba(37,99,235,0.14); }
.task-card .task-action:hover { background: #1d4ed8; }
.task-card .task-title,
.task-card .task-subtitle { margin-right: 90px; }

/* Prominent action strip with large icons */
.primary-action-strip { margin-top: 18px; background: #000; color: #fff; border-radius: 12px; display: grid; grid-template-columns: repeat(3,1fr); gap: 0; padding: 12px; align-items:center; }
.primary-action-strip a { color: #fff; text-decoration: none; display:flex; flex-direction:column; align-items:center; justify-content:center; padding: 10px 6px; }
.primary-action-strip .action-icon { width:44px; height:44px; border-radius:50%; background: rgba(255,255,255,0.06); display:grid; place-items:center; margin-bottom:8px; }
.primary-action-strip .action-label { font-size: 0.95rem; }

/* Icon grid under actions */
.menu-grid .menu-item { padding: 12px 10px; min-height: 72px; }
.menu-icon { width:42px; height:42px; border-radius:10px; }

/* Bottom nav look: subtle background and active color */
.bottom-nav { background: #f6f7f9; border-radius: 10px; padding: 10px 8px; }
.nav-link { color: #475569; }
.nav-link.active { color: #0ea5ff; font-weight:700; }

.wallet-card, .task-card, .menu-grid { background:#fff; border-radius:24px; margin-top:18px; padding:18px; box-shadow:0 14px 28px rgba(15,23,42,0.06); }

.account-hero { position:relative; margin-top:18px; border-radius:32px; overflow:hidden; min-height:240px; background:linear-gradient(180deg,#111827 0%,#0f172a 100%); color:#fff; box-shadow:0 26px 60px rgba(15,23,42,0.25); }
.account-hero::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 20% 20%, rgba(96,165,250,0.22), transparent 22%), radial-gradient(circle at 80% 25%, rgba(59,130,246,0.18), transparent 18%), radial-gradient(circle at 70% 80%, rgba(14,165,233,0.14), transparent 24%); opacity:0.95; }
.account-overlay { position:absolute; inset:0; background:linear-gradient(180deg, rgba(15,23,42,0.3), rgba(15,23,42,0.6)); }
.account-hero-content { position:relative; padding:26px 24px; display:grid; gap:24px; }
.account-label { opacity:0.75; font-size:0.92rem; letter-spacing:0.02em; margin-bottom:8px; }
.account-value { font-size:1.65rem; font-weight:800; letter-spacing:0.02em; }
.account-balance-card { background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.14); border-radius:28px; padding:20px; }

.wallet-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:18px; }
.wallet-action { display:grid; place-items:center; border-radius:20px; padding:18px 0; text-decoration:none; color:#fff; font-weight:700; background:linear-gradient(135deg,#0e4a84 0%,#111827 100%); box-shadow:0 18px 40px rgba(15,23,42,0.18); }
.wallet-action:hover { transform: translateY(-1px); }

.wallet-actions.logout-row { grid-template-columns:1fr; }

.logout-action { background:linear-gradient(135deg,#dc2626 0%,#b91c1c 100%); }

.team-card { background:#fff; border-radius:28px; padding:18px; box-shadow:0 20px 50px rgba(15,23,42,0.12); margin-top:18px; }
.team-header { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:20px; }
.team-title { font-size:1.28rem; font-weight:800; }
.team-subtitle { color:#64748b; margin-top:4px; }
.team-action { padding: 10px 16px; border-radius: 999px; background: #0f172a; color: #fff; text-decoration:none; font-weight:700; }
.team-invite-card { background:#f8fafc; border-radius:24px; padding:20px; box-shadow:0 18px 36px rgba(15,23,42,0.08); margin-bottom:18px; }
.invite-badge { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; background: rgba(15,23,42,0.06); color: #0f172a; border-radius: 999px; font-size: 0.88rem; font-weight: 700; }
.invite-group { margin-bottom:16px; }
.invite-code-label { color:#0f172a; text-transform:uppercase; font-size:.8rem; letter-spacing:.18em; opacity:.7; margin-bottom:8px; }
.invite-code { font-size:1.6rem; font-weight:800; letter-spacing:0.18em; color:#0f172a; }
.invite-actions { display:flex; flex-wrap:wrap; gap:12px; margin-bottom:18px; }
.team-button { min-width:140px; border:none; border-radius:999px; padding:14px 18px; background:#0f172a; color:#fff; font-weight:700; cursor:pointer; }
.team-button.outline { background:#fff; color:#0f172a; border:1px solid #0f172a; }
.invite-link-block { background:#ffffff; border-radius:20px; padding:14px 16px; border:1px solid #e2e8f0; }
.invite-link-label { color:#64748b; font-size:.85rem; margin-bottom:6px; }
.invite-link { color:#0f172a; font-weight:700; word-break: break-word; }
.team-table-card { background:#ff7a18; border-radius:24px; overflow:hidden; color:#fff; margin-bottom:18px; }
.team-table-row { display:grid; grid-template-columns:1.6fr 1fr 1fr; gap:12px; align-items:center; padding:16px 18px; border-bottom:1px solid rgba(255,255,255,0.18); }
.team-table-head { background:rgba(255,255,255,0.08); font-weight:700; }
.team-table-row span { font-size:.94rem; }
.team-table-row:last-child { border-bottom:none; }
.team-table-card .no-referrals { grid-column: 1 / -1; justify-items: center; text-align: center; padding: 18px 16px; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.95); border-radius: 18px; }
.team-summary-cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(120px,1fr)); gap:12px; margin-bottom:18px; }
.summary-box { background:#0f172a; color:#fff; border-radius:24px; padding:22px 18px; text-align:center; box-shadow:0 18px 40px rgba(15,23,42,0.16); }
.summary-value { font-size:1.8rem; font-weight:800; }
.summary-label { margin-top:8px; opacity:.75; letter-spacing:.03em; }
.team-info-box { background: linear-gradient(135deg,#f97316 0%,#fb7185 100%); color:#fff; border-radius:24px; padding:20px; line-height:1.7; }
.team-info-box p { margin:0 0 12px; }
.team-info-box p:last-child { margin-bottom:0; }

.mine-menu-list { margin-top:18px; display:grid; gap:12px; }
.list-card { display:flex; justify-content:space-between; align-items:center; gap:12px; background:rgba(15,23,42,0.96); color:#fff; border-radius:24px; padding:18px 20px; text-decoration:none; box-shadow:0 24px 50px rgba(15,23,42,0.16); border:1px solid rgba(255,255,255,0.06); }
.list-title { font-weight:700; }
.list-subtitle { font-size:0.92rem; opacity:0.75; margin-top:6px; }

.product-page { margin-top:18px; background:#fff; border-radius:24px; padding:18px; box-shadow:0 14px 28px rgba(15,23,42,0.06); }
.product-header h2 { margin:0; font-size:1.1rem; font-weight:700; }
.product-header p { margin:8px 0 0; color:#64748b; font-size:0.95rem; }
.product-actions { margin-top:16px; display:flex; justify-content:flex-end; }
.product-action-button { display:inline-flex; align-items:center; justify-content:center; padding:12px 18px; border-radius:999px; background:#2563eb; color:#fff; text-decoration:none; font-weight:700; box-shadow:0 14px 28px rgba(37,99,235,0.2); }

.admin-page {
  background: radial-gradient(circle at top, rgba(14,165,233,0.18), rgba(248,250,252,0.98) 40%);
  padding: 24px 0 96px;
}
.product-header {
  display: grid;
  gap: 8px;
  margin-bottom: 8px;
}
.product-header h2 {
  font-size: 1.65rem;
  color: #0f172a;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.product-header p {
  color: #475569;
  font-weight: 500;
  line-height: 1.65;
}
.admin-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}
.admin-card {
  border-radius: 28px;
  padding: 26px;
  min-height: 150px;
  background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
  border: 1px solid rgba(59, 130, 246, 0.16);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.admin-card::before {
  content: '';
  position: absolute;
  top: -22px;
  right: -18px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.14);
}
.admin-card::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -24px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.14);
}
.admin-card-title {
  color: #0f172a;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.admin-card-value {
  margin-top: 16px;
  font-size: 2.25rem;
  font-weight: 900;
  color: #1e40af;
}
@media (max-width: 900px) {
  .admin-summary {
    grid-template-columns: 1fr;
  }
}
.wallet-card.admin-panel {
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.18);
  margin-top: 22px;
  position: relative;
  overflow: hidden;
  background: #ffffff;
}
.wallet-card.admin-panel::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.08);
  filter: blur(48px);
}
.wallet-card.admin-panel.approval-panel:nth-of-type(1) {
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
  border-color: rgba(59, 130, 246, 0.18);
}
.wallet-card.admin-panel.approval-panel:nth-of-type(2) {
  background: linear-gradient(180deg, #ecfdf5 0%, #ffffff 100%);
  border-color: rgba(34, 197, 94, 0.18);
}
.wallet-card.admin-panel .wallet-header {
  margin-bottom: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}
.wallet-card.admin-panel .wallet-title {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111827;
}
.wallet-card.admin-panel .wallet-link {
  color: #2563eb;
  font-weight: 800;
  padding: 10px 16px;
  border-radius: 18px;
  background: rgba(37, 99, 235, 0.12);
  transition: all 0.2s ease;
}
.wallet-card.admin-panel .wallet-link:hover {
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.18);
  transform: translateY(-2px);
}
.approval-description {
  margin-top: 8px;
  color: #334155;
  font-size: 0.95rem;
  max-width: 420px;
  line-height: 1.7;
  font-weight: 500;
}
.wallet-card.admin-panel.approval-panel:nth-of-type(1) .approval-description {
  color: #1d4ed8;
}
.wallet-card.admin-panel.approval-panel:nth-of-type(2) .approval-description {
  color: #047857;
}
.admin-table.admin-five-col .admin-table-row {
  grid-template-columns: 1.2fr 1fr 1.4fr 1fr auto;
}
.admin-row-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.admin-row-actions button {
  min-width: 100px;
  padding: 12px 16px;
  border: none;
  border-radius: 18px;
  color: #fff;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}
.admin-row-actions button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.16);
}
.admin-row-actions .approve-deposit,
.admin-row-actions .approve-withdrawal {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}
.admin-row-actions .approve-deposit:hover,
.admin-row-actions .approve-withdrawal:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
}
.admin-row-actions .reject-deposit,
.admin-row-actions .reject-withdrawal {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}
.admin-row-actions .reject-deposit:hover,
.admin-row-actions .reject-withdrawal:hover {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
}
.admin-table.admin-five-col .admin-table-row span {
  overflow-wrap: anywhere;
}
.admin-form {
  display: grid;
  gap: 18px;
  margin-top: 4px;
}
.submit-button {
  width: 100%;
  padding: 16px;
  border-radius: 20px;
  border: none;
  background: linear-gradient(135deg, #2563eb 0%, #0ea5ff 100%);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.submit-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.admin-table-container {
  margin-top: 24px;
}
.admin-table {
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}
.admin-table.admin-three-col .admin-table-row,
.admin-table.admin-five-col .admin-table-row {
  display: grid;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid #eef2f6;
  background: #ffffff;
}
.admin-table.admin-three-col .admin-table-row:last-child,
.admin-table.admin-five-col .admin-table-row:last-child {
  border-bottom: none;
}
.admin-table.admin-three-col .admin-table-row span,
.admin-table.admin-five-col .admin-table-row span {
  color: #334155;
  font-size: 0.95rem;
}
.admin-table.admin-three-col .admin-table-row.admin-table-head,
.admin-table.admin-five-col .admin-table-row.admin-table-head {
  background: #f1f5f9;
  color: #0f172a;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.admin-table-row:hover {
  background: #f8fafc;
}
.admin-table-body {
  display: grid;
}
.admin-table-row span.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
}
.admin-table-row span.status-pending {
  background: #fef3c7;
  color: #92400e;
}
.admin-table-row span.status-approved {
  background: #dcfce7;
  color: #166534;
}
.admin-table-row span.status-rejected {
  background: #fee2e2;
  color: #991b1b;
}


.about-modal-overlay { position: fixed; inset: 0; display: none; place-items: center; background: rgba(15, 23, 42, 0.8); z-index: 9999; padding: 18px; }
.about-modal-overlay.active { display: grid; }
.about-modal-card { position: relative; width: min(520px, 100%); background: #ffffff; border-radius: 28px; padding: 26px 24px 24px; box-shadow: 0 30px 60px rgba(15, 23, 42, 0.25); max-height: calc(100vh - 80px); overflow: auto; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: none; border-radius: 50%; background: #0f172a; color: #fff; font-size: 1.35rem; line-height: 1; cursor: pointer; }
.about-description { margin: 0 0 20px; color: #475569; line-height: 1.7; }
.about-cards { display: grid; gap: 14px; }
.about-card { background: #f8fafc; border-radius: 22px; padding: 18px 16px; box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1); }
.about-card-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.about-card-copy { color: #475569; line-height: 1.6; }
 .tel-button { display:inline-block; width:100%; padding:12px 14px; border-radius:12px; background:linear-gradient(90deg,#0ea5ff,#2563eb); color:#fff; border:none; font-weight:700; cursor:pointer; }
 .tel-button:hover { filter:brightness(0.95); }

/* Deposit modal styles */
.deposit-modal-overlay { position: fixed; inset: 0; display: none; place-items: center; background: rgba(15,23,42,0.7); z-index: 10000; padding: 18px; }
.deposit-modal-overlay.active { display: grid; }
.deposit-modal-card { width: min(640px, 96%); background: #fff; border-radius: 18px; padding: 18px; box-shadow: 0 30px 60px rgba(15,23,42,0.28); max-height: calc(100vh - 60px); overflow: auto; }
.deposit-header { display:flex; align-items:center; gap:12px; margin-bottom:12px; }
.deposit-title { font-size:1.1rem; font-weight:800; }
.back-btn { border:none; background:transparent; font-size:1.05rem; cursor:pointer; }
.hidden { display:none !important; }
.amount-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap:10px; margin:12px 0; }
.amount-chip { background:#fff; border:1px solid #eef2f6; padding:14px; border-radius:12px; font-weight:700; cursor:pointer; }
.amount-chip { background:#fff; border:1px solid #eef2f6; padding:14px; border-radius:12px; font-weight:700; cursor:pointer; color:#0f172a; transition: all .12s ease; }
.amount-chip:hover { background:#f8fafc; }
.amount-chip.selected { background:#0ea5ff; border-color:#0ea5ff; color:#fff; box-shadow: 0 10px 30px rgba(14,165,233,0.12); }
.amount-input { display:flex; gap:8px; align-items:center; margin:12px 0; }
.amount-input .currency { background:#fff; padding:12px 14px; border-radius:12px; border:1px solid #eef2f6; }
.amount-input input { flex:1; padding:12px 14px; border-radius:12px; border:1px solid #eef2f6; }
.deposit-subtitle { font-weight:700; margin-top:10px; }
.muted { font-weight:400; color:#64748b; font-size:0.95rem; margin-left:8px; }
.channel-list { margin:12px 0; }
.channel-item { width:100%; padding:14px; border-radius:12px; border:1px solid #e6eefc; background:linear-gradient(90deg,#f3f4f6,#fff); cursor:pointer; color:#0f172a; }
.channel-item.selected { background:#111827; color:#fff; border-color:#111827; box-shadow:0 12px 30px rgba(17,24,39,0.18); }
.withdrawal-modal-overlay { position: fixed; inset: 0; display: none; place-items: center; background: rgba(15,23,42,0.7); z-index: 10000; padding: 18px; }
.withdrawal-modal-overlay.active { display: grid; }
.withdrawal-modal-card { width: min(640px, 96%); background: #fff; border-radius: 18px; padding: 20px; box-shadow: 0 30px 60px rgba(15,23,42,0.28); max-height: calc(100vh - 60px); overflow: auto; }
.withdrawal-summary-card { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 18px; border-radius: 20px; background: linear-gradient(90deg, #0ea5ff, #0284c7); color: #fff; }
.withdrawal-balance { font-size: 1.8rem; font-weight: 900; margin-top: 6px; }
.withdrawal-tax { font-size: 0.9rem; opacity: 0.9; }
.withdrawal-account-select { width: 100%; padding: 14px 16px; border-radius: 16px; border: 1px solid #d7e9fb; background: #f8fbff; color: #0b4d91; font-weight: 700; }
.withdrawal-account-select:focus { outline: none; border-color: #0ea5ff; box-shadow: 0 10px 32px rgba(14,165,233,0.12); }
.withdrawal-received { color: #0f172a; font-weight: 700; margin-top: 6px; }
.withdrawal-min-note { color: #64748b; font-size: 0.92rem; margin-top: -4px; }
.withdrawal-modal-card .deposit-rules { margin-top: 18px; }
.confirm-button { width:100%; padding:16px; border-radius:28px; border:none; background:#111827; color:#fff; font-weight:800; margin-top:12px; cursor:pointer; }
.confirm-button.outline { background:transparent; border:1px solid #2563eb; color:#2563eb; }
.deposit-rules { margin-top:18px; color:#0f172a; }
.deposit-rules ol { padding-left:18px; }

.wepay-card { padding:22px 22px 18px; border-radius:26px; background:#ffffff; box-shadow:0 24px 48px rgba(15,23,42,0.12); }
.wepay-topline { margin-bottom:18px; }
.wepay-copy-title { font-size:1.15rem; font-weight:900; color:#000000; letter-spacing:0.03em; }
.wepay-copy-subtitle { margin-top:6px; color:#000000; font-size:0.95rem; }
.wepay-brand { font-weight:900; font-size:1.4rem; color:#000000; margin-bottom:8px; }
.wepay-instruction { color:#000000; }
.wepay-amount { margin:18px 0 14px; font-weight:900; color:#000000; font-size:1.2rem; }
.wepay-methods { display:flex; gap:10px; margin-bottom:16px; }
.pay-method { flex:1; padding:12px 14px; border-radius:16px; border:1px solid #e6eefc; background:#f8fafc; cursor:pointer; font-weight:700; color:#0f172a; }
.pay-method.selected { background:#111827; color:#fff; border-color:#111827; box-shadow:0 14px 30px rgba(17,24,39,0.15); }
.wepay-account { display:flex; gap:8px; align-items:center; margin-bottom:16px; }
.wepay-account .cc { background:#fff; padding:10px 14px; border-radius:14px; border:1px solid #e6eefc; font-weight:700; }
.wepay-account input { flex:1; padding:12px 14px; border-radius:14px; border:1px solid #e6eefc; }
.wepay-copy { background:#f8fafc; padding:18px; border-radius:22px; margin:16px 0; }
.pay-summary { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:14px; }
.pay-summary .pay-label { color:#0ea5ff; font-weight:700; }
.pay-summary strong { color:#0ea5ff; font-size:1.45rem; }
.pay-copy-row { display:grid; gap:10px; }
.pay-copy-item { display:flex; align-items:center; justify-content:space-between; gap:10px; background:#fff; padding:14px 16px; border-radius:18px; border:1px solid #e6eefc; }
.pay-copy-item div { display:grid; gap:6px; }
.pay-copy-item .pay-label { color:#0ea5ff; font-size:0.9rem; }
.pay-copy-item strong { color:#0ea5ff; font-weight:800; word-break: break-word; }
.copy-button { border:none; border-radius:999px; padding:10px 14px; background:#2563eb; color:#fff; font-weight:700; cursor:pointer; }
.copy-button:hover { background:#1d4ed8; }
.wepay-paid { background:#0ea5ff; color:#fff; padding:16px; border-radius:20px; margin-bottom:16px; display:grid; gap:10px; }
.wepay-paid label { font-size:0.95rem; font-weight:700; color:#f8fbff; }
.wepay-paid input { width:100%; border:none; border-radius:16px; padding:14px 16px; background:rgba(255,255,255,0.96); color:#0f172a; font-weight:700; }
.wepay-actions { display:flex; gap:8px; }
.confirm-button.outline { width:100%; background:#f97316; border:none; color:#fff; box-shadow:0 14px 24px rgba(249,115,22,0.18); }
.confirm-button.outline:hover { filter:brightness(0.95); }

/* Deposit Records Modal */
.deposit-records-modal-overlay { position: fixed; inset: 0; display: none; place-items: center; background: rgba(15,23,42,0.7); z-index: 10000; padding: 18px; }
.deposit-records-modal-overlay.active { display: grid; }
.withdrawal-records-modal-overlay { position: fixed; inset: 0; display: none; place-items: center; background: rgba(15,23,42,0.7); z-index: 10000; padding: 18px; }
.withdrawal-records-modal-overlay.active { display: grid; }
.deposit-records-modal-card { width: min(640px, 96%); background: #fff; border-radius: 18px; padding: 24px; box-shadow: 0 30px 60px rgba(15,23,42,0.28); max-height: calc(100vh - 80px); overflow: auto; display: flex; flex-direction: column; }

.deposit-record-item.pending { border-left-color: #f97316; }
.deposit-record-item.approved { border-left-color: #22c55e; }
.record-row { display: flex; justify-content: space-between; align-items: center; }
.record-label { color: #64748b; font-size: 0.9rem; font-weight: 600; }
.record-value { color: #0f172a; font-weight: 700; }
.record-amount { font-size: 1.1rem; color: #0ea5ff; }
.record-status { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; font-size: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; border: 1px solid; }
.record-status.pending { background: linear-gradient(135deg, rgba(249,115,22,0.15), rgba(249,115,22,0.08)); color: #d97706; border-color: rgba(217,119,6,0.3); }
.record-status.approved { background: linear-gradient(135deg, rgba(34,197,94,0.15), rgba(34,197,94,0.08)); color: #059669; border-color: rgba(5,150,105,0.3); }
.record-status.rejected { background: linear-gradient(135deg, rgba(239,68,68,0.15), rgba(239,68,68,0.08)); color: #dc2626; border-color: rgba(220,38,38,0.3); }
.deposit-records-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 20px; text-align: center; }
.empty-icon { font-size: 3rem; margin-bottom: 12px; }
.empty-text { color: #64748b; font-size: 0.95rem; }
.deposit-records-footer { padding-top: 18px; border-top: 1px solid #e2e8f0; }
.deposit-records-footer .confirm-button { background: #111827; }
.deposit-records-footer .confirm-button:hover { background: #1f2937; }

/* Records Selection Modal */
.records-modal-overlay { position: fixed; inset: 0; display: none; place-items: center; background: rgba(15,23,42,0.7); z-index: 10000; padding: 18px; }
.records-modal-overlay.active { display: grid; }
.records-modal-card { width: min(520px, 96%); background: #fff; border-radius: 24px; padding: 28px; box-shadow: 0 30px 60px rgba(15,23,42,0.28); }
.records-modal-header { text-align: center; margin-bottom: 28px; }
.records-modal-title { font-size: 1.3rem; font-weight: 800; color: #0f172a; }
.records-modal-subtitle { color: #64748b; font-size: 0.95rem; margin-top: 6px; }
.records-options { display: grid; gap: 14px; }
.record-option-btn { background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%); border: 2px solid #e2e8f0; border-radius: 18px; padding: 20px; cursor: pointer; text-align: center; transition: all 0.3s ease; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.record-option-btn:hover { border-color: #0ea5ff; background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%); box-shadow: 0 12px 28px rgba(14,165,233,0.15); transform: translateY(-2px); }
.record-option-btn:active { transform: translateY(0); }
.option-icon { font-size: 2.5rem; }
.option-title { font-size: 1.05rem; font-weight: 800; color: #0f172a; }
.option-desc { font-size: 0.9rem; color: #64748b; }

.admin-table-container {
  margin-top: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 32px;
  padding: 24px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
}
.admin-table-container::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 200px;
  height: 200px;
  background: rgba(37, 99, 235, 0.06);
  border-radius: 50%;
  filter: blur(40px);
}
.admin-table {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  position: relative;
  z-index: 1;
}
.admin-table.admin-three-col .admin-table-row {
  grid-template-columns: 1.5fr 1fr 1.5fr;
}
.admin-table.admin-four-col .admin-table-row {
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
}
.admin-table.admin-five-col .admin-table-row {
  grid-template-columns: 1.2fr 1fr 1.4fr 1fr auto;
}
.admin-table-row {
  display: grid;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}
.admin-table-row:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
  transform: translateY(-2px);
}
.admin-table-head {
  display: grid;
  gap: 12px;
  font-weight: 800;
  color: #0f172a;
  background: linear-gradient(90deg, #f0f9ff 0%, #f8fafc 100%);
  border-radius: 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  border: 1px solid #e2e8f0;
  padding: 14px 18px;
}
.admin-table-body {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}
.admin-table-row span {
  color: #0f172a;
  font-weight: 600;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(14, 165, 255, 0.16), rgba(14, 165, 255, 0.08));
  color: #0d6efd;
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid rgba(14, 165, 255, 0.25);
}
.admin-row-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.admin-row-actions button {
  min-width: 96px;
  padding: 10px 12px;
  border: none;
  border-radius: 16px;
  background: #2563eb;
  color: #fff;
  cursor: pointer;
  font-size: 0.85rem;
  white-space: nowrap;
  transition: transform 0.14s ease, background 0.14s ease;
}
.admin-row-actions button.danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}
.admin-row-actions button.danger:hover {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
}
.approve-deposit,
.approve-withdrawal {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
}
.reject-deposit,
.reject-withdrawal {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
}
.admin-table-row.no-user {
  justify-items: center;
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
  padding: 24px;
}

/* My Products styles */
.my-products-summary { margin-top: 18px; }
.summary-grid { display: grid; grid-template-columns: repeat(3, minmax(220px, 1fr)); gap: 18px; margin-bottom: 18px; }
.summary-grid > div { background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%); padding: 18px 22px; border-radius: 22px; border: 1px solid rgba(37,99,235,0.2); box-shadow: 0 18px 40px rgba(15,23,42,0.1); min-height: 108px; display: flex; flex-direction: column; justify-content: center; gap: 6px; color: #0f172a; }
.summary-grid > div span { display: block; margin-top: 6px; font-size: 1.22rem; font-weight: 900; color: #1d4ed8; }
.my-products-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
@media (max-width: 900px) {
  .summary-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .summary-grid { gap: 14px; }
  .summary-grid > div { padding: 14px 16px; min-height: 96px; }
  .summary-grid > div span { font-size: 1.06rem; }
  .summary-grid > div { gap: 4px; }
}
.my-product-summary { display: flex; flex-direction: column; gap: 4px; }
.my-product-title { font-weight: 700; }
.my-product-type { font-size: 0.92rem; color: #64748b; }
.my-products-row { display: grid; grid-template-columns: 1.6fr 0.9fr 1fr 1fr; gap: 10px; align-items: center; padding: 12px 14px; background: #ffffff; border-radius: 12px; color: #0f172a; box-shadow: 0 10px 24px rgba(15,23,42,0.06); }
.my-products-head { font-weight: 800; color: #0f172a; background: linear-gradient(180deg, #eef2ff, #f8fafc); border: 1px solid #e6eefc; }
.my-products-row.no-products { grid-column: 1 / -1; justify-content: center; background: #ffffff; padding: 18px; border-radius: 12px; color: #475569; }
.product-subtext { margin-top: 10px; color: #64748b; font-size: 0.93rem; }
.platform-default { background: linear-gradient(135deg, #64748b 0%, #334155 100%); color: white; }

.product-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.product-card { border-radius: 26px; overflow: hidden; background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%); box-shadow: 0 22px 50px rgba(15,23,42,0.12); border: 1px solid rgba(148,163,184,0.14); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 26px 58px rgba(15,23,42,0.16); }
.product-image { position: relative; min-height: 150px; background: linear-gradient(180deg,#dbeafe 0%,#f8fafc 100%); display: grid; place-items: center; }
.person-placeholder { font-size: 2.2rem; }
.platform-content { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; width: 100%; height: 100%; text-align: center; }
.platform-content .icon { font-size: 2.5rem; }
.platform-content .platform-name { font-size: 0.78rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.social-icon { width: 50px; height: 50px; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.18)); }
.product-details { padding: 20px; }
.product-level { color: #2563eb; font-size: 0.80rem; font-weight: 800; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.14em; }
.product-title { font-size: 1.2rem; font-weight: 800; margin-bottom: 10px; line-height: 1.2; }
.product-yield { color: #475569; font-size: 1rem; margin-bottom: 12px; }
.buy-button { width: 100%; padding: 14px; border: none; border-radius: 999px; background: #2563eb; color: #fff; font-weight: 700; cursor: pointer; transition: background 0.2s; }
.buy-button:hover { background: #1d4ed8; }
.product-subtext { margin-top: 10px; color: #64748b; font-size: 0.94rem; }

.platform-instagram { background: linear-gradient(135deg, #feda75 0%, #fa7e1e 25%, #d92e7f 50%, #9b36b7 75%, #515bd4 100%); color: white; }
.platform-tiktok { background: linear-gradient(135deg, #000000 0%, #25f4ee 25%, #ff0050 75%, #000000 100%); color: white; }
.platform-youtube { background: linear-gradient(135deg, #ff0000 0%, #ff6b6b 50%, #c92a2a 100%); color: white; }
.platform-instagram-pro { background: linear-gradient(135deg, #feda75 0%, #d92e7f 50%, #515bd4 100%); color: white; }
.platform-spotify { background: linear-gradient(135deg, #1DB954 0%, #191414 100%); color: white; }
.platform-youtube-pro { background: linear-gradient(135deg, #ff0000 0%, #ff4444 25%, #cc0000 75%, #990000 100%); color: white; }
.platform-tiktok-pro { background: linear-gradient(135deg, #000000 0%, #25f4ee 20%, #ff0050 50%, #25f4ee 80%, #000000 100%); color: white; }
.platform-twitch { background: linear-gradient(135deg, #9146ff 0%, #6b2bf5 50%, #5500cc 100%); color: white; }
.platform-facebook { background: linear-gradient(135deg, #1877f2 0%, #0a66c2 100%); color: white; }
.platform-multi { background: linear-gradient(135deg, #feda75 0%, #fa7e1e 12.5%, #ff0000 25%, #1DB954 37.5%, #1877f2 50%, #9146ff 62.5%, #ff0050 75%, #515bd4 87.5%, #000000 100%); color: white; }
.product-social-icons { position:absolute; bottom:12px; left:12px; display:flex; gap:8px; }
.social-dot { width:14px; height:14px; border-radius:9999px; display:inline-block; box-shadow: 0 3px 10px rgba(15,23,42,0.12); }
.social-dot.facebook { background:#1877f2; }
.social-dot.whatsapp { background:#25d366; }
.social-dot.twitter { background:#1da1f2; }
.social-dot.instagram { background: radial-gradient(circle at 30% 30%, #feda75, #d62976 40%, #962fbf 60%, #4f5bd5 90%); }
.social-dot.linkedin { background:#0077b5; }
.social-dot.snapchat { background:#fffc00; }
.app-icon svg { width:24px; height:24px; fill:currentColor; display:block; }
.app-icon svg path { fill:currentColor; }

.whatsapp { background:#25D366; color:#fff; }
.facebook { background:#1877f2; color:#fff; }
.twitter { background:#1DA1F2; color:#fff; }
.instagram { background: radial-gradient(circle at 30% 20%, #feda75, #d62976 40%, #962fbf 60%, #4f5bd5 90%); color:#fff; }
.linkedin { background:#0077b5; color:#fff; }
.youtube { background:#FF0000; color:#fff; }

/* Task Center icon row */
.task-icons { display:flex; gap:10px; margin-top:12px; align-items:center; }
.app-icon { display:inline-grid; place-items:center; width:48px; height:48px; border-radius:12px; text-decoration:none; transition:transform .14s ease, box-shadow .14s ease, opacity .12s ease; box-shadow: 0 8px 18px rgba(15,23,42,0.08); color:#fff; }
.app-icon:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 20px 40px rgba(15,23,42,0.12); opacity:1; }
.app-icon svg { width:20px; height:20px; }


.action-row { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-top:18px; }
.action-item { display:flex; flex-direction:column; align-items:center; gap:8px; padding:16px 8px; background:#111827; color:#fff; border-radius:20px; text-decoration:none; text-align:center; }
.action-icon { width:42px; height:42px; border-radius:50%; background:rgba(255,255,255,0.12); display:grid; place-items:center; font-size:1.1rem; }

.menu-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.menu-item { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; padding:14px 10px; border-radius:20px; background:#f8fafc; text-decoration:none; color:#0f172a; min-height:98px; }
.menu-icon { width:38px; height:38px; border-radius:12px; display:grid; place-items:center; background:#e2e8f0; font-size:1.15rem; }

.bottom-nav { position:fixed; left:50%; transform:translateX(-50%); bottom:10px; width:min(420px, calc(100% - 24px)); background:rgba(255,255,255,0.98); border-radius:28px; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); box-shadow:0 20px 50px rgba(15,23,42,0.12); padding:10px 8px; gap:6px; }
.nav-link { display:inline-flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; padding:10px 4px; text-decoration:none; color:#475569; font-size:0.82rem; }
.nav-link.active { color:#0f172a; font-weight:700; }

/* Auth / Forms */
.auth-page { margin-top:18px; background:#fff; border-radius:24px; padding:18px; box-shadow:0 14px 28px rgba(15,23,42,0.06); }
.auth-header h2 { margin:0; font-size:1.2rem; font-weight:700; }
.auth-header p { margin:8px 0 0; color:#64748b; font-size:0.95rem; }
.auth-form { display:grid; gap:16px; margin-top:18px; }
.input-group { display:grid; gap:8px; }
.input-group label { font-size:0.9rem; color:#334155; }
.input-note { margin: 0; font-size:0.85rem; color:#64748b; line-height:1.4; }
.input-group input { width:100%; border:1px solid #cbd5e1; border-radius:16px; padding:14px 16px; background:#f8fafc; color:#0f172a; font-size:1rem; }
.input-group input:focus { outline:none; border-color:#2563eb; box-shadow:0 0 0 4px rgba(37,99,235,0.12); }
.submit-button { width:100%; padding:14px 18px; border:none; border-radius:999px; background:#1877f2; color:#fff; font-size:1rem; font-weight:700; cursor:pointer; }

/* Admin table body and panels */
.admin-panel { margin-top: 20px; position: relative; z-index: 1; }
.admin-table-body { margin-top: 14px; display: grid; gap: 12px; }
.admin-table-row { padding: 16px 18px; border-radius: 20px; background: #ffffff; border: 1px solid #e2e8f0; transition: all 0.2s ease; }
.admin-table-row:hover { box-shadow: 0 8px 20px rgba(15,23,42,0.08); border-color: #cbd5e1; transform: translateY(-2px); background: #f8fafc; }

/* Wallet / balance */
.wallet-balance { background: linear-gradient(180deg,#fff,#f8fafc); border-radius:20px; padding:18px; }
.wallet-value { font-size: clamp(1.1rem, 4vw, 1.45rem); font-weight:800; word-wrap: break-word; word-break: break-word; }

/* Styled My Wallet card */
.wallet-card { position: relative; overflow: hidden; background: url('WhatsApp Image 2026-07-29 at 02.29.10.jpeg') center/cover no-repeat; color: #fff; border-radius: 28px; padding: 24px 22px 22px; box-shadow: 0 28px 70px rgba(31, 41, 55, 0.18); }
.wallet-card::before { display: none; }
.wallet-card::after { display: none; }
.wallet-card .wallet-header { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.wallet-card .wallet-title { font-size: 1rem; font-weight: 900; letter-spacing: 0.18em; text-transform: uppercase; color: #000000; }
.wallet-card .wallet-balance-row { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.wallet-card .wallet-balance { background: #0a1628; border: 1px solid rgba(255,255,255,0.22); border-radius: 24px; padding: 18px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08); }
.wallet-card .wallet-value { font-size: clamp(1.2rem, 5vw, 1.85rem); font-weight: 900; color: #ffffff; line-height: 1.2; word-wrap: break-word; word-break: break-word; }
.wallet-card .wallet-label { color: rgba(255,255,255,0.9); margin-top: 8px; font-size: 0.94rem; text-transform: uppercase; letter-spacing: 0.04em; word-wrap: break-word; }
.wallet-card .wallet-balance:not(:last-child) { padding-right: 16px; }

@media (max-width: 420px) { .app-shell { padding-bottom: 120px; } }

/* Bank / Mobile Money modal */
.bank-modal-overlay { position: fixed; inset: 0; display: none; place-items: center; background: rgba(2,6,23,0.64); z-index: 10000; padding: 20px; }
.bank-modal-overlay.active { display: grid; }
.bank-modal-card { width: min(560px, 96%); background: linear-gradient(180deg, #ffffff 0%, #f4fbff 100%); border-radius: 16px; padding: 22px; box-shadow: 0 30px 60px rgba(3,10,34,0.36); max-height: calc(100vh - 80px); overflow: auto; position: relative; }
.bank-header { margin-bottom: 10px; display:flex; align-items:center; gap:12px; }
.bank-title { font-size: 1.15rem; font-weight: 900; color: #062a62; }
.bank-sub { font-size: 0.875rem; color: #375a8a; opacity: 0.85; }
.bank-body { display: grid; gap: 12px; }
.bank-body label { font-weight: 700; color: #213449; }
.bank-body select, .bank-body input { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid #d7e9fb; background: #fff; transition: box-shadow .15s ease, border-color .12s ease; color: #0b4d91; }
.bank-body select option { color: #0b4d91; background: #eef8ff; }
.bank-body select:focus, .bank-body input:focus { outline: none; border-color: #4fb3ff; box-shadow: 0 8px 24px rgba(79,179,255,0.12); }
.bank-body input::placeholder { color: #9fb6d1; }
.bank-actions { margin-top: 14px; display:flex; justify-content:flex-end; gap:10px; }
.confirm-button { background: linear-gradient(90deg,#00b4d8 0%,#0077b6 100%); color: #fff; border: none; padding: 10px 16px; border-radius: 12px; font-weight: 800; cursor: pointer; box-shadow: 0 10px 30px rgba(3,10,34,0.12); }
.confirm-button:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(3,10,34,0.16); }
.modal-close { position: absolute; right: 12px; top: 12px; width:36px; height:36px; border-radius:10px; background: rgba(3,10,34,0.06); border: none; font-size:20px; cursor:pointer; display:grid; place-items:center; }
.modal-close:hover { background: rgba(3,10,34,0.1); }

@media (max-width: 420px) {
  .bank-modal-card { width: calc(100% - 28px); padding: 16px; border-radius: 12px; }
  .bank-header { gap:8px; }
  .confirm-button { width:100%; }
}

/* ==========================================================================
   ADMIN PANEL REDESIGN SYSTEM
   ========================================================================== */
.admin-body {
  background: #0f172a;
  color: #f8fafc;
  min-height: 100vh;
}

.app-shell.admin-shell {
  max-width: 100%;
  margin: 0 auto;
  padding: 20px 20px 84px;
}

.admin-top-bar {
  background: rgba(30, 41, 59, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  padding: 16px 20px;
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-brand-group .brand {
  color: #f8fafc;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.admin-badge {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.08em;
}

.admin-header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.system-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1); }
}

.admin-logout-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(185, 28, 28, 0.2));
  color: #fca5a5;
  font-weight: 700;
  font-size: 0.72rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-logout-btn:hover {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  border-color: #ef4444;
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.35);
  transform: translateY(-1px);
}

/* Hero Section */
.admin-hero {
  margin-top: 24px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.admin-hero::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.admin-hero-content h2 {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.admin-hero-content p {
  margin: 6px 0 0;
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.4;
}

.admin-quick-refresh {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  color: #e2e8f0;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.admin-quick-refresh:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  transform: translateY(-2px);
}

/* KPI Summary Cards Grid */
.admin-kpi-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.kpi-card {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.kpi-card:hover {
  transform: translateY(-3px);
  border-color: rgba(59, 130, 246, 0.4);
}

.kpi-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.kpi-icon.users-icon {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(37, 99, 235, 0.2));
  color: #60a5fa;
  border: 1px solid rgba(96, 165, 250, 0.3);
}

.kpi-icon.funds-icon {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.2));
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.kpi-icon.deposits-icon {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.2));
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.kpi-icon.withdrawals-icon {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(126, 34, 206, 0.2));
  color: #c084fc;
  border: 1px solid rgba(192, 132, 252, 0.3);
}

.kpi-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
}

.kpi-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.kpi-value {
  font-size: 1.3rem;
  font-weight: 900;
  color: #ffffff;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

/* Panel Override for Dark Theme Admin */
.admin-page .wallet-card.admin-panel {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
  border-radius: 24px;
  padding: 24px;
  color: #f8fafc;
}

.admin-page .wallet-card .wallet-title {
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-icon {
  font-size: 1.1rem;
}

.approval-description {
  color: #94a3b8;
  font-size: 0.88rem;
  margin-top: 4px;
}

.admin-page .wallet-link {
  color: #38bdf8;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
}

.admin-page .wallet-link:hover {
  text-decoration: underline;
}

/* Admin Tables inside panels */
.admin-page .admin-table-head {
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}

.admin-page .admin-table-row {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #f8fafc;
}

.admin-page .admin-table-row:hover {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(59, 130, 246, 0.3);
}

.admin-page .admin-table-row span {
  color: #f1f5f9;
}

/* Action Form & Inputs */
.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.admin-page .input-group label {
  color: #cbd5e1;
  font-weight: 700;
  font-size: 0.88rem;
}

.admin-page .input-group input {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-radius: 14px;
  padding: 12px 16px;
}

.admin-page .input-group input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

/* Presets Bar */
.amount-presets {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.presets-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #94a3b8;
}

.preset-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.preset-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #38bdf8;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.preset-btn:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: #38bdf8;
  color: #ffffff;
  transform: translateY(-1px);
}

.admin-submit-btn {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.3);
  transition: all 0.2s ease;
}

.admin-submit-btn:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.45);
  transform: translateY(-2px);
}

/* Registered Accounts Header & Search */
.admin-directory-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.admin-directory-header .product-header {
  margin: 0;
}

.admin-directory-header .product-header h2 {
  color: #ffffff;
  margin: 0;
}

.admin-directory-header .product-header p {
  color: #94a3b8;
  margin: 4px 0 0;
}

.admin-search-wrapper {
  position: relative;
  min-width: 240px;
}

.admin-search-input {
  width: 100%;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 10px 14px;
  color: #ffffff;
  font-size: 0.9rem;
}

.admin-search-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.admin-table-container {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
  margin-top: 24px;
}

/* Responsive adjustments for Admin Dashboard */
@media (max-width: 840px) {
  .admin-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .admin-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .admin-hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .admin-kpi-grid {
    grid-template-columns: 1fr;
  }
  .admin-table.admin-five-col .admin-table-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .admin-table.admin-three-col .admin-table-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .admin-table-head {
    display: none;
  }
  .admin-directory-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .admin-search-wrapper {
    width: 100%;
  }
}

/* Announcement Modal Styles */
.announcement-modal-overlay {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  z-index: 10000; opacity: 0; visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.announcement-modal-overlay.active {
  opacity: 1; visibility: visible;
}
.announcement-modal-card {
  background: #fff; width: 92%; max-width: 400px;
  border-radius: 24px; padding: 28px 24px; position: relative;
  transform: translateY(20px) scale(0.95); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 24px 48px rgba(0,0,0,0.2);
}
.announcement-modal-overlay.active .announcement-modal-card {
  transform: translateY(0) scale(1);
}
.announcement-header {
  text-align: center; margin-bottom: 20px;
}
.announcement-logo {
  width: 70px; height: 70px; border-radius: 50%; object-fit: cover;
  margin-bottom: 12px; border: 2px solid #e2e8f0;
}
.announcement-title {
  font-size: 1.25rem; font-weight: 800; color: #1e293b;
  text-transform: uppercase; letter-spacing: 1px;
}
.announcement-body {
  text-align: center;
}
.announcement-text {
  font-size: 0.95rem; color: #475569; line-height: 1.5; margin: 0;
}
.announcement-btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; background: linear-gradient(135deg, #0088cc, #00aaff);
  color: #fff; padding: 14px; border-radius: 12px; font-weight: 700;
  text-decoration: none; margin-top: 24px; font-size: 1rem;
  box-shadow: 0 8px 16px rgba(0,136,204,0.3); transition: transform 0.2s;
}
.announcement-btn:active {
  transform: scale(0.98);
}
