* {
  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);
  }
}
