* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #090b10;
  --bg-soft: #0f1117;
  --card: #151922;
  --card-light: #1c2028;
  --border: #252b38;
  --border-soft: rgba(255, 255, 255, 0.06);
  --text: #f4f6fb;
  --muted: #8c95a5;
  --muted-soft: #606978;
  --blue: #3b82f6;
  --blue-light: #60a5fa;
  --green: #4ade80;
  --red: #f87171;
  --amber: #fbbf24;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.08), transparent 35%),
    var(--bg);
  color: var(--text);
  line-height: 1.5;
}

.hidden {
  display: none !important;
}

/* Layout */

.appShell {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 100vh;
}

.mainContent {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.adminMain,
.mainContent .app {
  width: 100%;
  max-width: 1100px;
  padding: 0 28px 40px;
}

.topBar {
  padding: 28px 28px 18px;
}

.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 8px;
}

h1 {
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 750;
}

h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

h3 {
  font-size: 17px;
  margin-bottom: 14px;
}

.subtext,
.walletTagline {
  color: var(--muted);
  font-size: 14px;
}

/* Sidebar */

.sidebar {
  background: #12161f;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 24px 16px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.sidebarLogo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  padding: 0 8px;
}

.logoMark {
  width: 34px;
  height: 34px;
  background: var(--blue);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.logoText {
  font-size: 15px;
  font-weight: 700;
}

.sidebarNav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.navItem {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  cursor: pointer;
  transition: 0.18s ease;
}

.navItem:hover {
  background: var(--card-light);
  color: var(--text);
}

.navItem.active {
  background: rgba(59, 130, 246, 0.14);
  color: var(--blue-light);
}

.sidebarFooter {
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* Cards */

.card,
.panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}

.grid {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

/* Balance */

.balanceGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.balanceCard {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--border);
}

.balanceCard span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 10px;
}

.balanceCard strong {
  display: block;
  font-size: 24px;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.balanceCardGreen {
  background:
    radial-gradient(circle at top left, rgba(96, 165, 250, 0.28), transparent 55%),
    linear-gradient(135deg, #182338, #0f1726);
  border-color: rgba(96, 165, 250, 0.28);
  color: #fff;
}

.balanceCardGreen strong {
  font-size: 38px;
}

.balanceCardBlue {
  color: var(--blue-light);
}

.balanceCardAmber {
  color: var(--amber);
}

/* Dashboard actions */

#dashboardPage .grid {
  grid-template-columns: repeat(3, 1fr);
}

#dashboardPage .grid button {
  min-height: 88px;
  background: var(--card-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text);
  font-size: 15px;
  font-weight: 750;
  box-shadow: none;
}

#dashboardPage .grid button:first-child {
  background: linear-gradient(135deg, var(--blue), #1d4ed8);
  border-color: rgba(96, 165, 250, 0.35);
}

/* Info cards */

.dashboardInfoGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 22px;
}

.dashboardInfoCard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  cursor: pointer;
}

.dashboardInfoCard span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 6px;
}

.dashboardInfoCard strong {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}

.dashboardInfoCard small {
  color: var(--muted-soft);
}

/* Section header */

.sectionHeader,
.walletSectionHeader,
.pageHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.walletSectionHeader button,
.pageHeader button,
.sectionHeader button {
  width: auto;
  min-height: auto;
  padding: 8px 12px;
}

/* Forms */

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  margin-bottom: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
  color: var(--text);
  font-size: 15px;
  outline: none;
}

textarea {
  min-height: 110px;
  padding: 14px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: var(--muted-soft);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(96, 165, 250, 0.65);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 12px;
}

label input[type="checkbox"] {
  width: auto;
  min-height: auto;
  margin: 0;
}

/* Buttons */

button {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: none;
  border-radius: 16px;
  background: var(--blue);
  color: white;
  font-weight: 750;
  font-size: 15px;
  cursor: pointer;
  transition: 0.18s ease;
}

button:hover {
  transform: translateY(-1px);
  background: #2563eb;
}

button.secondary {
  background: #242936;
  color: var(--text);
}

button.secondary:hover {
  background: #303747;
}

.smallBtn {
  width: auto;
  min-height: auto;
  padding: 8px 12px;
}

.actionRow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Tabs */

.tabRow {
  display: flex;
  gap: 6px;
  padding: 6px;
  margin-bottom: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.tabButton {
  flex: 1;
  min-height: 42px;
  background: transparent;
  border-radius: 999px;
  color: var(--muted);
}

.tabButton.active {
  background: var(--blue);
  color: #fff;
}

/* Transactions */

.transactionItem {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: 0.18s ease;
}

.transactionItem:hover {
  background: var(--card-light);
  transform: translateY(-1px);
}

.transactionItem strong {
  display: block;
  font-size: 14px;
}

.transactionItem small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.transactionAmount {
  white-space: nowrap;
  font-weight: 800;
  font-size: 14px;
}

.transactionIn {
  color: var(--green);
}

.transactionOut {
  color: var(--red);
}

.transactionNeutral {
  color: var(--muted);
}

/* Profile */

.profileCard {
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.12), transparent 45%),
    var(--card);
}

.profileRows {
  display: grid;
  gap: 0;
}

.profileRows div,
.feeRow,
.detailRow {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.profileRows div:last-child,
.feeRow:last-child,
.detailRow:last-child {
  border-bottom: none;
}

.profileRows span,
.feeRow span,
.detailRow span {
  color: var(--muted);
  font-size: 13px;
}

.profileRows strong,
.feeRow strong,
.detailRow strong {
  text-align: right;
  font-size: 14px;
}

.logoutSection {
  margin-top: 18px;
}

.logoutButton,
.dangerBtn {
  background: #7f1d1d;
}

.logoutButton:hover,
.dangerBtn:hover {
  background: #991b1b;
}

/* Search results */

.searchResults {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
}

.searchResultItem {
  padding: 12px;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
}

.searchResultItem:hover {
  background: var(--card-light);
}

.searchResultItem:last-child {
  border-bottom: none;
}

/* Lists */

.item {
  padding: 14px;
  border-bottom: 1px solid var(--border);
}

.item:last-child {
  border-bottom: none;
}

.roleBadge {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
}

.userActions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

/* Modals */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  display: grid;
  place-items: center;
  z-index: 2000;
  padding: 20px;
  animation: fadeIn 0.18s ease;
}

.modalCard {
  width: min(520px, 100%);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
  animation: slideUp 0.22s ease;
}

.referenceBox {
  margin-top: 16px;
  padding: 16px;
  background: var(--bg-soft);
  border: 1px solid rgba(96, 165, 250, 0.55);
  border-radius: 16px;
}

.referenceBox span {
  color: var(--muted);
  font-size: 13px;
}

.referenceBox strong {
  display: block;
  margin-top: 6px;
  font-size: 20px;
  letter-spacing: 0.04em;
}

/* Toast */

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  max-width: 340px;
  padding: 14px 16px;
  border-radius: 16px;
  font-size: 14px;
  z-index: 3000;
  box-shadow: var(--shadow);
}

.successToast {
  background: #10291b;
  color: #8ff0b2;
  border: 1px solid #1f7a46;
}

.errorToast {
  background: #2a1212;
  color: #ff9a9a;
  border: 1px solid #8f2b2b;
}

/* Login */

.loginApp {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}

.loginCard {
  width: 100%;
  max-width: 430px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow);
}

.loginHeader {
  text-align: center;
  margin-bottom: 24px;
}

.loginTabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 6px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  margin-bottom: 22px;
}

.loginTab {
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  min-height: 42px;
}

.loginTab.active {
  background: var(--blue);
  color: #fff;
}

.loginForm.hidden {
  display: none;
}

/* Bottom nav */

.bottomNav {
  display: none;
}

/* Animation */

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Admin pages */

.adminPage {
  display: block;
}

.adminPage.hidden {
  display: none !important;
}

.analyticsGrid,
.exportsRow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.cardMini {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
}

.cardMini span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.cardMini strong {
  display: block;
  margin-top: 6px;
  font-size: 18px;
}

.pageGrid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 16px;
}

/* Mobile */

@media (max-width: 680px) {
  body {
    background:
      radial-gradient(circle at top left, rgba(59, 130, 246, 0.12), transparent 38%),
      #090b10;
  }

  .appShell {
    display: block;
    padding-bottom: 96px;
  }

  .sidebar {
    display: none;
  }

  .topBar {
    padding: 28px 22px 18px;
  }

  .topBar h1 {
    font-size: 28px;
  }

  .adminMain,
  .mainContent .app {
    padding: 0 22px 100px;
  }

  .balanceGrid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .balanceCardGreen {
    grid-column: span 1;
    min-height: 154px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .balanceCardGreen strong {
    font-size: 40px;
  }

  .balanceCardAmber,
  .balanceCardBlue {
    display: none;
  }

  .balanceCardBlue {
    min-height: 124px;
  }

  #dashboardPage .grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  #dashboardPage .grid button {
    min-height: 88px;
    padding: 12px;
    border-radius: 24px;
    font-size: 14px;
  }

  .dashboardInfoGrid {
    grid-template-columns: 1fr 1fr;
  }

  .dashboardInfoCard {
    min-height: 120px;
  }

  .panel,
  .card {
    border-radius: 24px;
    padding: 18px;
  }

  .actionRow,
  .userActions,
  .pageGrid {
    grid-template-columns: 1fr;
  }

  .bottomNav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    width: calc(100% - 28px);
    max-width: 430px;
    background: rgba(19, 22, 29, 0.94);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 8px;
    gap: 4px;
    z-index: 1000;
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
  }

  .bottomNavItem {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 16px;
    color: var(--muted);
    text-decoration: none;
    font-size: 12px;
    font-weight: 650;
    transition: 0.18s ease;
  }

  .bottomNavItem.active {
    background: rgba(59, 130, 246, 0.18);
    color: var(--blue-light);
  }

  .toast {
    left: 18px;
    right: 18px;
    bottom: 104px;
    max-width: none;
  }
}

@media (max-width: 380px) {
  .topBar {
    padding-left: 18px;
    padding-right: 18px;
  }

  .adminMain,
  .mainContent .app {
    padding-left: 18px;
    padding-right: 18px;
  }

  .balanceCardGreen strong {
    font-size: 34px;
  }

  #dashboardPage .grid button {
    font-size: 13px;
  }
}

@media (max-width: 900px) {
  .pageGrid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   LOGIN EXPERIENCE
========================= */

.loginApp {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;

  background:
    radial-gradient(circle at top left, rgba(59,130,246,0.18), transparent 32%),
    radial-gradient(circle at bottom right, rgba(59,130,246,0.08), transparent 28%),
    #090b10;

  position: relative;
  overflow: hidden;
}

/* subtle background glow */

.loginApp::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: rgba(59,130,246,0.06);
  filter: blur(120px);
  border-radius: 50%;
  top: -200px;
  right: -180px;
  pointer-events: none;
}

.loginApp::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,0.03);
  filter: blur(100px);
  border-radius: 50%;
  bottom: -200px;
  left: -120px;
  pointer-events: none;
}

/* auth card */

.loginCard {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 460px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.03),
      rgba(255,255,255,0.01)
    ),
    #151922;

  border: 1px solid rgba(255,255,255,0.06);

  border-radius: 32px;

  padding: 38px;

  backdrop-filter: blur(20px);

  box-shadow:
    0 20px 60px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.04);

  animation: loginEnter 0.4s ease;
}

/* brand area */

.loginBrand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 26px;
}

/* your logo */

.loginLogo {
  width: 74px;
  height: 74px;
  object-fit: contain;
  margin-bottom: 18px;

  filter:
    drop-shadow(0 10px 20px rgba(59,130,246,0.18));
}

/* optional icon */

.loginIcon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* headings */

.loginHeader {
  text-align: center;
  margin-bottom: 28px;
}

.loginHeader .eyebrow {
  color: #60a5fa;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
}

.loginHeader h1 {
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: 14px;
  font-weight: 800;
}

.loginHeader .subtext {
  font-size: 14px;
  color: #8c95a5;
  line-height: 1.6;
  max-width: 320px;
  margin: 0 auto;
}

/* tabs */

.loginTabs {
  display: grid;
  grid-template-columns: 1fr 1fr;

  padding: 6px;

  background: #0f1117;

  border: 1px solid rgba(255,255,255,0.04);

  border-radius: 999px;

  margin-bottom: 26px;
}

.loginTab {
  min-height: 46px;

  border-radius: 999px;

  background: transparent;

  color: #8c95a5;

  font-size: 14px;
  font-weight: 700;

  transition: 0.18s ease;
}

.loginTab:hover {
  background: rgba(255,255,255,0.03);
}

.loginTab.active {
  background: linear-gradient(
    135deg,
    #3b82f6,
    #2563eb
  );

  color: #fff;

  box-shadow:
    0 8px 20px rgba(37,99,235,0.35);
}

/* forms */

.loginForm {
  animation: fadeSlide 0.22s ease;
}

.loginForm input {
  margin-bottom: 14px;
}

.loginForm button {
  margin-top: 6px;
}

/* inputs */

.loginCard input {
  background: #0f1117;

  border: 1px solid rgba(255,255,255,0.06);

  height: 56px;

  border-radius: 18px;

  padding: 0 16px;

  font-size: 15px;

  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.loginCard input:focus {
  border-color: rgba(96,165,250,0.7);

  background: #121621;

  transform: translateY(-1px);

  box-shadow:
    0 0 0 4px rgba(59,130,246,0.10);
}

/* button */

.loginCard button {
  min-height: 56px;

  border-radius: 18px;

  font-size: 15px;
  font-weight: 800;
}

/* trust footer */

.loginTrust {
  margin-top: 26px;

  padding-top: 22px;

  border-top: 1px solid rgba(255,255,255,0.04);

  text-align: center;

  font-size: 12px;

  color: #606978;

  line-height: 1.6;
}

/* security badge */

.securityBadge {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 8px 12px;

  border-radius: 999px;

  background: rgba(59,130,246,0.10);

  border: 1px solid rgba(59,130,246,0.18);

  color: #8cbcff;

  font-size: 12px;
  font-weight: 700;

  margin-top: 14px;
}

/* animation */

@keyframes loginEnter {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* mobile */

@media (max-width: 680px) {
  .loginApp {
    padding: 18px;
  }

  .loginCard {
    padding: 30px 22px;
    border-radius: 28px;
  }

  /* .loginLogo {
    width: 64px;
    height: 64px;
  } */
   
  .loginLogo {
    width: 140px;
    height: auto;
    object-fit: contain;

    margin-bottom: 24px;

    filter:
      drop-shadow(0 12px 24px rgba(59,130,246,0.22));
  }

  .loginHeader h1 {
    font-size: 32px;
  }

  .loginHeader .subtext {
    font-size: 13px;
  }

  .loginCard input {
    height: 54px;
  }

  .loginCard button {
    min-height: 54px;
  }
}

.logoutModalCard {
  text-align: center;
}

.logoutModalIcon {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;

  display: grid;
  place-items: center;

  border-radius: 18px;

  background: rgba(248, 113, 113, 0.12);
  color: #f87171;

  font-size: 24px;
  font-weight: 800;
}

.logoutModalCard h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.logoutModalCard .subtext {
  max-width: 320px;
  margin: 0 auto 20px;
}

.logoutModalCard .modalActions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 520px) {
  .logoutModalCard .modalActions {
    grid-template-columns: 1fr;
  }
}

.topBar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.notificationButton {
  width: auto;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  background: #151922;
  border: 1px solid #252b38;
  color: #f4f6fb;
  font-size: 13px;
}

.notificationCount {
  min-width: 22px;
  height: 22px;

  display: inline-grid;
  place-items: center;

  border-radius: 999px;
  background: #3b82f6;
  color: #fff;

  font-size: 12px;
  font-weight: 800;
}

.notificationsModalCard {
  max-height: 80vh;
  overflow-y: auto;
}

.notificationItem {
  display: flex;
  justify-content: space-between;
  gap: 14px;

  padding: 14px;
  margin-bottom: 10px;

  border-radius: 18px;
  background: #11151d;
  border: 1px solid #252b38;
}

.notificationItem.unread {
  background:
    linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(59, 130, 246, 0.02)),
    #11151d;

  border-color: rgba(96, 165, 250, 0.35);
}

.notificationItem strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.notificationItem p {
  color: #8c95a5;
  font-size: 13px;
  margin-bottom: 6px;
}

.notificationItem small {
  color: #606978;
  font-size: 12px;
}

.emptyState {
  text-align: center;
  padding: 28px 10px;
}

@media (max-width: 680px) {
  .topBar {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 10px;
    padding: 28px 22px 18px;
  }

  .topBar > div {
    min-width: 0;
  }

  .topBar .eyebrow {
    margin-bottom: 14px;
  }

  .topBar h1 {
    font-size: 28px;
    line-height: 1;
    letter-spacing: -0.05em;
  }

  .notificationButton {
    position: relative;

    width: 48px;
    height: 48px;
    min-height: 48px;

    padding: 0;
    margin-top: 4px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #151922;
    border: 1px solid #252b38;
  }

  .notificationButton span {
    display: none;
  }

  .notificationButton::before {
    content: "🔔";
    font-size: 15px;
  }

  .notificationCount {
    position: absolute;

    top: -3px;
    right: -3px;

    min-width: 18px;
    height: 18px;

    display: grid;
    place-items: center;

    border-radius: 999px;

    background: #3b82f6;
    color: #fff;

    font-size: 10px;
    font-weight: 800;
  }

  .balanceGrid {
    margin-top: 4px;
  }

  .adminMain,
  .mainContent .app {
    padding-bottom: 130px;
  }
}

.linkButton {
  background: transparent !important;
  color: #60a5fa !important;
  border: none;
  box-shadow: none;
  min-height: auto;
  padding: 10px 0;
  margin-top: 10px;
}

.linkButton:hover {
  background: transparent !important;
  transform: none;
  color: #93c5fd !important;
}

.appLoader {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: grid;
  place-items: center;

  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.18), transparent 35%),
    #090b10;
}

.appLoader.hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.loaderCard {
  text-align: center;
  animation: loaderEnter 0.45s ease;
}

.loaderMark {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;

  display: grid;
  place-items: center;

  border-radius: 20px;

  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #fff;

  font-size: 28px;
  font-weight: 900;

  box-shadow: 0 18px 40px rgba(59, 130, 246, 0.28);
}

.loaderCard p {
  margin-bottom: 4px;

  color: #f8fafc;

  font-size: 16px;
  font-weight: 800;
}

.loaderCard span {
  color: #8c95a5;
  font-size: 13px;
}

@keyframes loaderEnter {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

button.loading {
  opacity: 0.7;
  cursor: not-allowed;
}


/* Landing page */

.landingBody {
  min-height: 100vh;
  background:
    radial-gradient(circle at 76% 12%, rgba(59, 130, 246, 0.18), transparent 34%),
    radial-gradient(circle at 8% 18%, rgba(96, 165, 250, 0.1), transparent 28%),
    #05070c;
}

.landingHeader {
  position: sticky;
  top: 18px;
  z-index: 1000;

  max-width: 1180px;
  margin: 18px auto 0;
  padding: 10px 14px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;

  background:
    linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03)),
    rgba(8, 13, 22, 0.72);

  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);

  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;

  box-shadow:
    0 18px 44px rgba(0,0,0,0.28),
    inset 0 1px 0 rgba(255,255,255,0.12);
}

.landingBrand {
  display: flex;
  align-items: center;
  padding-left: 10px;
}

.landingBrand img {
  width: 132px;
  height: auto;
  display: block;
}

.landingNav {
  display: flex;
  align-items: center;
  gap: 6px;

  padding: 6px;

  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
}

.landingNav a,
.landingFooter a {
  color: rgba(244,246,251,0.78);
  text-decoration: none;
  font-size: 13px;
  font-weight: 750;
  padding: 9px 14px;
  border-radius: 999px;
  transition: 0.18s ease;
}

.landingNav a:hover,
.landingFooter a:hover {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.landingLoginBtn,
.primaryLandingBtn,
.secondaryLandingBtn {
  text-decoration: none;
  border-radius: 999px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.18s ease;
}

.landingLoginBtn {
  color: #fff;
  padding: 11px 20px;
  border-radius: 999px;

  background:
    linear-gradient(135deg, rgba(59,130,246,0.95), rgba(29,78,216,0.95));

  border: 1px solid rgba(255,255,255,0.14);

  box-shadow:
    0 14px 32px rgba(37,99,235,0.34),
    inset 0 1px 0 rgba(255,255,255,0.16);
}

.landingLoginBtn:hover {
  transform: translateY(-1px);

  background:
    linear-gradient(135deg, rgba(96,165,250,0.95), rgba(37,99,235,0.95));
}

.landingMain {
  max-width: 1180px;
  margin: 0 auto;
  padding: 54px 24px 90px;
}

.landingHero {
  min-height: calc(100vh - 120px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: 44px;
}

.landingHeroContent {
  max-width: 720px;
}

.landingHeroContent h1 {
  max-width: 700px;
  font-size: clamp(46px, 6.2vw, 78px);
  line-height: 0.96;
  letter-spacing: -0.075em;
  margin-bottom: 24px;
}

.landingHeroText {
  max-width: 560px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.landingActions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.primaryLandingBtn {
  min-height: 52px;
  padding: 14px 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #1d4ed8);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.28);
}

.secondaryLandingBtn {
  min-height: 52px;
  padding: 14px 24px;
  color: var(--text);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.035);
}

.primaryLandingBtn:hover,
.secondaryLandingBtn:hover {
  transform: translateY(-1px);
}

.landingTrustRow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.landingTrustRow span {
  color: var(--blue-light);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(96, 165, 250, 0.18);
}

.landingPhoneMock {
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
  transform: translateY(-12px);
}

.phoneFrame {
  width: min(360px, 100%);
  padding: 12px;
  border-radius: 42px;
  background: linear-gradient(145deg, #1f2937, #0b1220);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.phoneScreen {
  width: 100%;
  display: block;
  border-radius: 30px;
}

.landingStats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 26px;
  margin: 32px 0 40px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: rgba(21, 25, 34, 0.6);
}

.landingStats div {
  padding: 12px;
}

.landingStats strong {
  display: block;
  font-size: 28px;
  color: var(--blue-light);
  margin-bottom: 8px;
}

.landingStats span {
  color: var(--muted);
  font-size: 14px;
}

.landingSection {
  padding: 78px 0;
  border-top: 1px solid var(--border);
}

.landingSection h2,
.landingCTA h2 {
  max-width: 760px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -0.06em;
  margin-bottom: 28px;
}

.landingFeatureGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.landingFeatureCard,
.landingBenefitList div,
.landingStepGrid div,
.landingCTA {
  background: rgba(21, 25, 34, 0.78);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 24px;
}

.featureIcon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(59, 130, 246, 0.14);
  color: var(--blue-light);
  font-size: 24px;
  margin-bottom: 20px;
}

.landingFeatureCard p,
.landingBenefitList p,
.landingStepGrid p,
.landingCTA p,
.landingFooter p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.landingSplit {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 34px;
}

.landingBenefitList {
  display: grid;
  gap: 12px;
}

.landingBenefitList strong {
  display: block;
  margin-bottom: 6px;
}

.landingStepGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.landingStepGrid span {
  color: var(--blue-light);
  font-size: 13px;
  font-weight: 800;
}

.landingStepGrid h3 {
  margin-top: 18px;
}

.landingCTA {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 36px;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.2), transparent 36%),
    rgba(21, 25, 34, 0.9);
}

.landingCTA h2 {
  margin-bottom: 12px;
}

.landingFooter {
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 24px 26px;
  border-top: 1px solid var(--border);

  display: grid;
  grid-template-columns: 1.2fr 0.5fr 0.5fr;
  gap: 28px;
  position: relative;
}

.landingFooter img {
  width: 140px;
  height: auto;
  margin-bottom: 14px;
}

.landingFooter strong {
  display: block;
  margin-bottom: 12px;
}

.landingFooter a {
  display: block;
  margin-bottom: 8px;
}

.landingCopyright {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* Landing responsive */

@media (max-width: 980px) {
  .landingHero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 34px;
  }

  .landingHeroContent {
    max-width: 760px;
  }

  .landingPhoneMock {
    transform: none;
    justify-content: flex-start;
  }

  .phoneFrame {
    width: min(340px, 100%);
  }
}

@media (max-width: 820px) {
  .landingHeader {
    top: 12px;
    margin: 12px 14px 0;
    padding: 10px 12px;
    border-radius: 26px;
  }

  .landingNav {
    display: none;
  }

  .landingBrand {
    padding-left: 2px;
  }

  .landingBrand img {
    width: 118px;
  }

  .landingLoginBtn {
    padding: 10px 14px;
    font-size: 13px;
  }

  .landingMain {
    padding: 34px 18px 64px;
  }

  .landingHero {
    gap: 28px;
  }

  .landingHeroContent h1 {
    font-size: 44px;
    line-height: 0.98;
    letter-spacing: -0.06em;
  }

  .landingHeroText {
    font-size: 15px;
    line-height: 1.7;
  }

  .landingActions {
    margin-top: 26px;
  }

  .primaryLandingBtn,
  .secondaryLandingBtn {
    width: 100%;
  }

  .landingPhoneMock {
    justify-content: center;
    margin-top: 0;
  }

  .phoneFrame {
    width: min(300px, 100%);
    padding: 10px;
    border-radius: 34px;
  }

  .phoneScreen {
    border-radius: 24px;
  }

  .landingStats,
  .landingFeatureGrid,
  .landingSplit,
  .landingStepGrid,
  .landingCTA,
  .landingFooter {
    grid-template-columns: 1fr;
  }

  .landingStats {
    padding: 18px;
  }

  .landingSection {
    padding: 58px 0;
  }

  .landingCTA {
    display: block;
  }

  .landingCTA .primaryLandingBtn {
    margin-top: 18px;
  }
}

@media (max-width: 420px) {
  .landingHeroContent h1 {
    font-size: 40px;
  }

  .phoneFrame {
    width: min(280px, 100%);
  }
}

.adminActionModal {
  max-width: 540px;
	text-align: center;

}

.adminActionIcon {
  width: 56px;
  height: 56px;

  display: grid;
  place-items: center;

  margin-bottom: 18px;

  border-radius: 18px;

  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.22);

  color: #fbbf24;

  font-size: 24px;
  font-weight: 800;
	margin: 0 auto 18px;

}

.adminActionModal textarea {
  margin-top: 18px;
}

.adminActionModal .modalActions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;

  margin-top: 18px;
}

.statusBadge {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	height: 32px;
	padding: 0 14px;

	border-radius: 999px;

	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;

	border: 1px solid var(--border);
	background: var(--bg-soft);
	color: var(--muted);
}

.status-pending {
	color: var(--amber);
	border-color: rgba(251, 191, 36, 0.4);
	background: rgba(251, 191, 36, 0.1);
}

.status-approved,
.status-active,
.status-paid {
	color: var(--green);
	border-color: rgba(74, 222, 128, 0.4);
	background: rgba(74, 222, 128, 0.1);
}

.status-rejected,
.status-frozen,
.status-failed {
	color: var(--red);
	border-color: rgba(248, 113, 113, 0.4);
	background: rgba(248, 113, 113, 0.1);
}

#dashboardPage .panel button {
	margin-bottom: 10px;
}

#dashboardPage .panel button:last-child {
	margin-bottom: 0;
}

#dashboardPage .pageGrid .panel:last-child button {
	min-height: 48px;
	border-radius: 14px;
}

.notificationButton.alertsEnabled {
	background: rgba(74, 222, 128, 0.14);
	color: var(--green);
	border: 1px solid rgba(74, 222, 128, 0.32);
}

.notificationButton.alertsEnabled:hover {
	background: rgba(74, 222, 128, 0.14);
	transform: none;
}

.activityPreviewItem {
	padding: 12px 0;
	border-bottom: 1px solid var(--border);
}

.activityPreviewItem:last-child {
	border-bottom: none;
}

.activityPreviewItem strong {
	display: block;
	font-size: 14px;
	margin-bottom: 4px;
}

.activityPreviewItem small {
	color: var(--muted);
	font-size: 12px;
}

.adminFilters {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 10px;
	margin-bottom: 16px;
}

.adminUserCard {
	padding: 18px;
	border-bottom: 1px solid var(--border);
}

.adminUserHeader {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 14px;
}

.adminUserHeader p {
	margin-top: 3px;
	font-weight: 600;
}

.adminUserHeader small {
	color: var(--muted);
}

.adminUserBadges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
}

.adminUserMeta {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin-bottom: 14px;
}

.adminUserMeta div {
	background: var(--bg-soft);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 12px;
}

.adminUserMeta span {
	display: block;
	color: var(--muted);
	font-size: 12px;
	margin-bottom: 4px;
}

.adminUserMeta strong {
	font-size: 14px;
}

@media (max-width: 760px) {
	.adminFilters,
	.adminUserMeta {
		grid-template-columns: 1fr;
	}

	.adminUserHeader {
		flex-direction: column;
	}

	.adminUserBadges {
		justify-content: flex-start;
	}
}

.adminUserCard {
	padding: 22px 0;
	border-bottom: 1px solid var(--border);
}

.adminUserCard:first-child {
	padding-top: 0;
}

.adminUserHeader strong {
	font-size: 24px;
	letter-spacing: -0.03em;
}

.adminUserHeader p {
	font-size: 15px;
	color: var(--text);
}

.adminUserHeader small {
	font-size: 13px;
}

.adminUserMeta div {
	background:
		linear-gradient(
			180deg,
			rgba(255,255,255,0.02),
			rgba(255,255,255,0.01)
		),
		var(--bg-soft);

	border: 1px solid rgba(255,255,255,0.04);

	min-height: 92px;

	display: flex;
	flex-direction: column;
	justify-content: center;
}

.adminUserMeta strong {
	font-size: 18px;
	letter-spacing: -0.03em;
}

.adminOverviewStats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin-bottom: 18px;
}

.overviewStat {
	background: var(--bg-soft);
	border: 1px solid var(--border);
	border-radius: 18px;
	padding: 16px;
}

.overviewStat span {
	display: block;
	font-size: 12px;
	color: var(--muted);
	margin-bottom: 6px;
}

.overviewStat strong {
	font-size: 26px;
	letter-spacing: -0.04em;
}

.disabledPaymentBtn {
	opacity: 0.55;
	cursor: not-allowed;
	filter: grayscale(0.15);
}

.disabledPaymentBtn:hover {
	transform: none;
	box-shadow: none;
}

.withdrawalCard {
	margin-bottom: 18px;
}

.withdrawalCard .adminUserMeta {
	margin-top: 18px;
}

.sensitiveValue {
	letter-spacing: 0.08em;
	color: #fbbf24;
}