@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700;800&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&display=swap');

/* =========================================================
   WAKALA UNIFIED DESIGN SYSTEM
   Homepage is the visual source of truth.
   ========================================================= */

:root {
  /* Homepage palette — preserve these values across Wakala */
  --ink: #101722;
  --ink-2: #26303c;
  --paper: #faf7ef;
  --paper-2: #f1eadb;
  --paper-3: #e9dfcd;
  --green: #218766;
  --green-dark: #176b50;
  --gold: #d99b39;
  --cream: #fffdf8;
  --muted: #716b60;
  --white: #ffffff;

  --line: rgba(16, 23, 34, .12);
  --line-dark: rgba(255,255,255,.14);

  /* Supporting UI colors */
  --success: #218766;
  --success-soft: rgba(33,135,102,.10);
  --danger: #b42318;
  --danger-soft: #fdf0ee;
  --warning: #b7791f;
  --warning-soft: #fff5df;

  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --mono: "DM Mono", monospace;

  --container: 1240px;
  --sidebar-width: 252px;
  --radius: 24px;
  --radius-sm: 14px;
  --radius-xs: 10px;

  --shadow: 0 25px 70px rgba(31, 35, 29, .08);
  --shadow-card: 0 8px 28px rgba(31, 35, 29, .055);
  --shadow-dark: 0 24px 60px rgba(16,23,34,.18);
}

/* =========================================================
   RESET / BASE
   ========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

img,
svg {
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid rgba(33,135,102,.22);
  outline-offset: 3px;
}

::selection {
  background: rgba(33,135,102,.18);
  color: var(--ink);
}

/* =========================================================
   SHARED TYPOGRAPHY / UTILITY
   ========================================================= */

.eyebrow {
  color: var(--green);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -.04em;
}

.brand-dot {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(33,135,102,.10);
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.text-button,
.section-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 17px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.primary-button:hover {
  transform: translateY(-2px);
  background: var(--ink-2);
  box-shadow: 0 10px 24px rgba(16,23,34,.14);
}

/* =========================================================
   DASHBOARD APP SHELL
   ========================================================= */

.app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, var(--sidebar-width)) minmax(0, 1fr);
  background:
    radial-gradient(circle at 90% 0%, rgba(33,135,102,.045), transparent 30%),
    var(--paper);
}

/* =========================================================
   SIDEBAR
   ========================================================= */

.sidebar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 24px 15px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 10px 0 35px rgba(16,23,34,.07);
}

.sidebar::after {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  right: -250px;
  bottom: -210px;
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 50%;
  pointer-events: none;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 7px;
}

.sidebar .brand {
  color: var(--white);
}

.sidebar .brand-dot {
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(33,135,102,.13);
}

.sidebar-label {
  margin: 46px 10px 12px;
  color: rgba(255,255,255,.38);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.nav {
  display: grid;
  gap: 4px;
}

.nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 12px;
  border-radius: 12px;
  color: rgba(255,255,255,.58);
  font-size: 12px;
  font-weight: 600;
  transition:
    color .2s ease,
    background .2s ease,
    transform .2s ease;
}

.nav a:hover {
  background: rgba(255,255,255,.055);
  color: var(--white);
  transform: translateX(1px);
}

.nav a.active {
  background:
    linear-gradient(
      90deg,
      rgba(33,135,102,.22),
      rgba(255,255,255,.035)
    );
  color: var(--white);
}

.nav a.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 4px;
  background: var(--green);
  box-shadow: 0 0 14px rgba(33,135,102,.38);
}

.nav-icon {
  width: 21px;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.38);
  font-size: 16px;
}

.nav a.active .nav-icon {
  color: #73c4a8;
}

.sidebar-footer {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 17px 10px 0;
  border-top: 1px solid var(--line-dark);
}

.account-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: rgba(255,255,255,.48);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #73c4a8;
  box-shadow: 0 0 0 4px rgba(115,196,168,.10);
}

.logout {
  width: 100%;
  min-height: 41px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  background: rgba(255,255,255,.02);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}

.logout:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.20);
  transform: translateY(-1px);
}

.mobile-logout {
  display: none;
}

/* =========================================================
   MAIN / TOPBAR
   ========================================================= */

.main {
  min-width: 0;
  padding: 28px clamp(22px, 4vw, 62px) 64px;
}

.main-inner {
  width: min(1320px, 100%);
  margin-inline: auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  margin-bottom: 50px;
  gap: 20px;
}

.date {
  margin: 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.secure {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.secure::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(33,135,102,.10);
}

.profile {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 4px 10px 4px 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 5px 16px rgba(31,35,29,.04);
}

.avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
}

.profile-name {
  max-width: 140px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 11px;
  font-weight: 700;
}

/* =========================================================
   DASHBOARD INTRO
   ========================================================= */

.intro {
  position: relative;
}

.intro::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  right: -120px;
  top: -110px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(33,135,102,.08),
    transparent 68%
  );
  pointer-events: none;
}

.intro h1 {
  position: relative;
  z-index: 1;
  margin: 9px 0 8px;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.055em;
}

.intro p {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

/* =========================================================
   GENERIC CARDS
   ========================================================= */

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255,253,248,.88);
  box-shadow: var(--shadow-card);
}

.section-title,
.quick-card h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.035em;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 13px;
}

/* =========================================================
   BALANCE
   ========================================================= */

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: 18px;
  margin-top: 34px;
}

.balance-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  padding: 29px;
  border: 0;
  border-radius: var(--radius);
  background:
    radial-gradient(
      circle at 100% 100%,
      rgba(33,135,102,.42),
      transparent 34%
    ),
    radial-gradient(
      circle at 80% 15%,
      rgba(217,155,57,.11),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      var(--ink),
      #172333 72%,
      var(--green-dark)
    );
  color: var(--white);
  box-shadow: 0 22px 55px rgba(16,23,34,.15);
}

.balance-card::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -310px;
  top: -260px;
  border: 1px solid rgba(255,255,255,.045);
  border-radius: 50%;
  box-shadow:
    0 0 0 45px rgba(255,255,255,.012),
    0 0 0 90px rgba(255,255,255,.008);
}

.balance-card::after {
  content: "";
  position: absolute;
  width: 390px;
  height: 390px;
  right: -185px;
  bottom: -240px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 50%;
}

.balance-content {
  position: relative;
  z-index: 1;
}

.balance-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.balance-label {
  color: rgba(255,255,255,.55);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.currency-select {
  min-height: 35px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 999px;
  outline: 0;
  background: rgba(255,255,255,.055);
  color: var(--white);
  font-size: 10px;
  cursor: pointer;
}

.currency-select:focus {
  border-color: rgba(255,255,255,.35);
  box-shadow: 0 0 0 4px rgba(255,255,255,.06);
}

.currency-select option {
  color: var(--ink);
  background: var(--white);
}

.balance-value {
  margin-top: 34px;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 62px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.055em;
}

.balance-subtitle {
  margin-top: 10px;
  color: #8bd0b7;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .04em;
}

.account-number {
  margin-top: 8px;
  color: rgba(255,255,255,.42);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .04em;
}

.balance-footer {
  position: absolute;
  left: 29px;
  right: 29px;
  bottom: 25px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,.11);
  color: rgba(255,255,255,.43);
  font-family: var(--mono);
  font-size: 9px;
}

.connected {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--white);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
}

.connected::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #73c4a8;
  box-shadow: 0 0 0 4px rgba(115,196,168,.08);
}

/* =========================================================
   QUICK ACTIONS
   ========================================================= */

.quick-card {
  padding: 26px;
}

.quick-card > p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-top: 22px;
}

.action {
  display: grid;
  justify-items: center;
  gap: 9px;
  min-height: 96px;
  padding: 12px 7px 10px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--cream);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  transition:
    transform .2s ease,
    border-color .2s ease,
    background .2s ease,
    box-shadow .2s ease;
}

.action:hover {
  border-color: rgba(33,135,102,.35);
  background: rgba(255,255,255,.95);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(33,135,102,.08);
}

.action-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(33,135,102,.10);
  color: var(--green);
  font-size: 18px;
  box-shadow: 0 5px 12px rgba(33,135,102,.07);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.action:hover .action-icon {
  background: var(--green);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(33,135,102,.18);
}

/* =========================================================
   LOWER DASHBOARD CARDS
   ========================================================= */

.lower-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
  margin-top: 18px;
}

.section-card {
  padding: 26px;
}

.currency-row,
.transaction {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.currency-row:first-of-type,
.transaction:first-of-type {
  border-top: 0;
}

.currency-mark,
.transaction-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
}

.currency-mark {
  background: rgba(33,135,102,.10);
  color: var(--green);
}

.row-main {
  min-width: 0;
  flex: 1;
}

.row-main strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
}

.row-main span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.row-amount {
  text-align: right;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
}

.row-amount small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 400;
}

.transaction-icon {
  background: rgba(217,155,57,.11);
  color: var(--gold);
}

.transaction-status {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
}

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

.live {
  color: var(--gold);
}

/* =========================================================
   INSIGHT
   ========================================================= */

.insight {
  margin-top: 14px;
  padding: 20px;
  border: 1px solid rgba(33,135,102,.10);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(217,155,57,.10), transparent 35%),
    linear-gradient(135deg, #edf7f2, #fffdf8);
}

.insight h3 {
  max-width: 300px;
  margin: 8px 0;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.035em;
}

.insight p {
  margin: 0;
  color: #53675e;
  font-size: 11px;
  line-height: 1.65;
}

/* =========================================================
   DASHBOARD ESIM
   ========================================================= */

.esim-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 30px;
  margin-top: 18px;
  padding: 29px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background:
    radial-gradient(
      circle at 90% 20%,
      rgba(217,155,57,.20),
      transparent 30%
    ),
    linear-gradient(
      120deg,
      var(--green-dark),
      var(--green) 62%,
      #bc8330
    );
  color: var(--white);
  box-shadow: 0 18px 45px rgba(33,135,102,.12);
}

.esim-card::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -190px;
  bottom: -260px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 50%;
}

.esim-card > * {
  position: relative;
  z-index: 1;
}

.esim-card .eyebrow {
  color: rgba(255,255,255,.70);
}

.esim-card h2 {
  max-width: 600px;
  margin: 8px 0;
  font-family: var(--serif);
  font-size: clamp(29px, 4vw, 43px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.045em;
}

.esim-card p {
  max-width: 540px;
  margin: 0;
  color: rgba(255,255,255,.77);
  font-size: 12px;
  line-height: 1.7;
}

.esim-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 18px;
  padding: 0 16px;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.esim-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(16,23,34,.14);
}

.sim-preview {
  min-height: 180px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 14px;
  background: rgba(16,23,34,.12);
}

.sim-card {
  position: relative;
  width: 96px;
  height: 126px;
  padding: 14px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,.75);
  border-radius: 11px;
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.08),
      rgba(255,255,255,.015)
    );
  transform: rotate(8deg);
  font-family: var(--mono);
  font-size: 9px;
}

.sim-card::after {
  content: "";
  position: absolute;
  width: 85px;
  height: 85px;
  right: -48px;
  bottom: -48px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 50%;
}

.sim-lines {
  display: grid;
  gap: 6px;
  margin-top: 26px;
}

.sim-lines span {
  height: 2px;
  background: rgba(255,255,255,.65);
}

/* =========================================================
   LOADER
   ========================================================= */

.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--paper);
}

.loader.hidden {
  display: none;
}

.loader-content {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.loader-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(33,135,102,.08);
  animation: dashboardPulse 1s infinite;
}

@keyframes dashboardPulse {
  0%, 100% { opacity: .35; transform: scale(.9); }
  50% { opacity: 1; transform: scale(1); }
}

/* =========================================================
   MOBILE MENU
   ========================================================= */

.menu-toggle {
  display: none;
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 9px;
  background: transparent;
  color: var(--white);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* =========================================================
   ONBOARDING
   Reuses homepage palette and typography.
   ========================================================= */

body:has(.onboarding-shell) {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
  background:
    radial-gradient(
      circle at 10% 10%,
      rgba(33,135,102,.11) 0,
      transparent 30%
    ),
    var(--paper);
}

.onboarding-shell {
  width: min(100%, 980px);
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  min-height: 610px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--cream);
  box-shadow: 0 28px 80px rgba(16,23,34,.10);
}

.onboarding-copy {
  position: relative;
  overflow: hidden;
  padding: 48px;
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(33,135,102,.20),
      transparent 35%
    ),
    linear-gradient(
      145deg,
      var(--ink),
      #172333 72%,
      var(--green-dark)
    );
  color: var(--white);
}

.onboarding-copy::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  right: -310px;
  bottom: -300px;
  border: 1px solid rgba(255,255,255,.065);
  border-radius: 50%;
  box-shadow:
    0 0 0 55px rgba(255,255,255,.012),
    0 0 0 110px rgba(255,255,255,.008);
}

.onboarding-copy::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  left: -150px;
  top: 45%;
  border: 1px dashed rgba(33,135,102,.28);
  border-radius: 50%;
}

.onboarding-copy .brand {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.copy-content {
  position: relative;
  z-index: 2;
  margin-top: 120px;
}

.copy-content .eyebrow {
  color: #73c4a8;
}

.copy-content h1 {
  max-width: 390px;
  margin: 12px 0 18px;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 60px);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.055em;
}

.copy-content p {
  max-width: 400px;
  color: rgba(255,255,255,.63);
  font-size: 13px;
  line-height: 1.75;
}

.benefits {
  display: grid;
  gap: 13px;
  margin-top: 30px;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255,255,255,.78);
  font-size: 11px;
  font-weight: 600;
}

.benefit span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  flex: 0 0 25px;
  border: 1px solid rgba(115,196,168,.16);
  border-radius: 50%;
  background: rgba(33,135,102,.13);
  color: #73c4a8;
}

.onboarding-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
  background: var(--cream);
}

.step {
  display: inline-flex;
  width: max-content;
  padding: 7px 10px;
  border: 1px solid rgba(33,135,102,.10);
  border-radius: 999px;
  background: rgba(33,135,102,.07);
  color: var(--green);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.onboarding-form h2 {
  margin: 16px 0 8px;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.045em;
}

.description {
  max-width: 470px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 800;
}

.field input {
  width: 100%;
  height: 50px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  background: rgba(255,255,255,.70);
  color: var(--ink);
  font-size: 14px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.field input:hover {
  border-color: rgba(16,23,34,.20);
}

.field input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(33,135,102,.10);
  background: var(--white);
}

.field small {
  display: block;
  margin-top: 7px;
  color: #8a8377;
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.6;
}

.email-field,
.field input[readonly] {
  background: rgba(241,234,219,.45) !important;
  color: #6f675d !important;
  cursor: default;
}

.submit {
  width: 100%;
  height: 52px;
  margin-top: 5px;
  border: 0;
  border-radius: 12px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.submit:hover {
  background: var(--ink-2);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(16,23,34,.14);
}

.submit:disabled {
  opacity: .55;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.message {
  min-height: 22px;
  margin-top: 13px;
  font-size: 11px;
}

.message.error {
  color: var(--danger);
}

.message.success {
  color: var(--green);
}

.secure-note {
  display: flex;
  gap: 7px;
  align-items: center;
  margin-top: 20px;
  color: #8a8377;
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.5;
}

.secure-note::before {
  content: "✓";
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  flex: 0 0 17px;
  border-radius: 50%;
  background: rgba(33,135,102,.09);
  color: var(--green);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 800;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {
  .app {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .sidebar {
    padding-inline: 12px;
  }

  .main {
    padding-inline: clamp(18px, 3vw, 34px);
  }
}

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

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

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

  .onboarding-copy {
    min-height: 360px;
  }

  .copy-content {
    margin-top: 70px;
  }

  .copy-content h1 {
    max-width: 600px;
  }
}

@media (max-width: 720px) {
  .app {
    display: block;
  }

  .sidebar {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 15px 16px;
  }

  .sidebar-label,
  .sidebar-footer {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--line-dark);
  }

  .nav.open {
    display: grid;
  }

  .mobile-logout {
    display: block;
    margin-top: 8px;
  }

  .main {
    padding: 22px 15px 42px;
  }

  .topbar {
    margin-bottom: 38px;
  }

  .secure {
    display: none;
  }

  .profile-name {
    display: none;
  }

  .intro h1 {
    font-size: 44px;
  }

  .balance-card {
    min-height: 305px;
    padding: 22px;
  }

  .balance-footer {
    left: 22px;
    right: 22px;
    bottom: 21px;
  }

  .quick-card,
  .section-card {
    padding: 21px;
  }

  .esim-card {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .sim-preview {
    min-height: 135px;
  }

  body:has(.onboarding-shell) {
    display: block;
    padding: 0;
  }

  .onboarding-shell {
    width: 100%;
    min-height: 100vh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .onboarding-copy {
    min-height: 0;
    padding: 25px 22px 34px;
  }

  .copy-content {
    margin-top: 65px;
  }

  .copy-content h1 {
    font-size: 43px;
  }

  .benefits {
    display: none;
  }

  .onboarding-form {
    padding: 34px 22px 42px;
  }

  .onboarding-form h2 {
    font-size: 32px;
  }
}

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

  .balance-value {
    font-size: 41px;
  }

  .intro h1 {
    font-size: 40px;
  }

  .balance-header {
    align-items: flex-start;
  }

  .currency-select {
    max-width: 105px;
  }
}

@media (max-width: 380px) {
  .main {
    padding-inline: 12px;
  }

  .balance-card,
  .quick-card,
  .section-card {
    padding-inline: 18px;
  }

  .balance-footer {
    left: 18px;
    right: 18px;
  }

  .balance-value {
    font-size: 37px;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================
   WAKALA PRODUCT POLISH — HOMEPAGE VISUAL LANGUAGE
   Visual refinement only: existing dashboard functionality and
   markup remain unchanged.
   ========================================================= */

.main {
  position: relative;
  overflow: hidden;
}

.main::before,
.main::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}

.main::before {
  width: 520px;
  height: 520px;
  top: 90px;
  right: -300px;
  border: 1px solid rgba(33,135,102,.10);
  box-shadow: 0 0 0 42px rgba(33,135,102,.025),
              0 0 0 84px rgba(33,135,102,.018);
}

.main::after {
  width: 260px;
  height: 260px;
  left: -175px;
  bottom: 240px;
  border: 1px solid rgba(217,155,57,.10);
}

.main-inner {
  position: relative;
  z-index: 1;
  max-width: 1320px;
}

.topbar {
  min-height: 76px;
  padding-block: 18px;
  border-bottom: 1px solid rgba(16,23,34,.07);
}

.secure {
  border: 1px solid rgba(33,135,102,.15);
  background: rgba(33,135,102,.055);
  color: var(--green-dark);
  padding: 7px 11px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .04em;
}

.profile {
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.avatar {
  border: 1px solid rgba(33,135,102,.22);
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(33,135,102,.07);
}

.intro {
  position: relative;
  padding: 58px 0 34px;
}

.intro::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  top: 12px;
  right: 4%;
  border: 1px solid rgba(16,23,34,.07);
  border-radius: 50%;
  box-shadow: 0 0 0 22px rgba(16,23,34,.018),
              0 0 0 44px rgba(16,23,34,.012);
  z-index: -1;
}

.intro h1 {
  max-width: 760px;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.055em;
  margin-top: 10px;
}

.intro p {
  max-width: 590px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
}

.dashboard-grid {
  gap: 18px;
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, .65fr);
}

.card {
  border: 1px solid rgba(16,23,34,.075);
  box-shadow: var(--shadow-card);
  background: rgba(255,253,248,.88);
  backdrop-filter: blur(10px);
}

.balance-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
  color: var(--white);
  border-color: rgba(255,255,255,.08);
  box-shadow: 0 30px 70px rgba(16,23,34,.16);
}

.balance-card::before,
.balance-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.balance-card::before {
  width: 430px;
  height: 430px;
  right: -190px;
  top: -175px;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 0 0 28px rgba(255,255,255,.025),
              0 0 0 56px rgba(255,255,255,.018),
              0 0 0 84px rgba(255,255,255,.012);
}

.balance-card::after {
  width: 8px;
  height: 8px;
  right: 112px;
  top: 96px;
  background: var(--gold);
  box-shadow: 0 0 0 7px rgba(217,155,57,.11),
              0 0 18px rgba(217,155,57,.35);
}

.balance-content {
  position: relative;
  z-index: 2;
  padding: 31px 32px 25px;
}

.balance-label,
.balance-subtitle {
  color: rgba(255,255,255,.62);
}

.balance-header {
  align-items: center;
}

.currency-select {
  min-width: 82px;
  padding: 8px 28px 8px 11px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 999px;
  background: rgba(255,255,255,.075);
  color: var(--white);
  font-family: var(--mono);
  font-size: 10px;
}

.currency-select option {
  color: var(--ink);
}

.balance-value {
  max-width: 780px;
  margin-top: 34px;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 67px);
  font-weight: 600;
  line-height: .95;
  letter-spacing: -.055em;
  overflow-wrap: anywhere;
}

.account-number {
  display: inline-flex;
  margin-top: 26px;
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 8px;
  background: rgba(255,255,255,.045);
  color: rgba(255,255,255,.58);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .05em;
}

.balance-footer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 31px;
  border-top: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.035);
  color: rgba(255,255,255,.55);
  font-size: 10px;
}

.connected {
  color: #d9f3e6;
}

.quick-card {
  position: relative;
  overflow: hidden;
  padding: 31px;
  background: var(--paper-2);
}

.quick-card::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -90px;
  bottom: -90px;
  border: 1px solid rgba(33,135,102,.12);
  border-radius: 50%;
  box-shadow: 0 0 0 22px rgba(33,135,102,.025);
  pointer-events: none;
}

.quick-card h2,
.section-title {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -.035em;
}

.quick-card h2 {
  font-size: 28px;
  line-height: 1.05;
}

.quick-card > p {
  max-width: 300px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

.actions {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 9px;
  margin-top: 25px;
}

.action {
  min-height: 78px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 13px;
  border: 1px solid rgba(16,23,34,.08);
  border-radius: 14px;
  background: rgba(255,253,248,.72);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.action:hover {
  transform: translateY(-2px);
  border-color: rgba(33,135,102,.25);
  background: var(--white);
}

.action-icon {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 9px;
  background: var(--green);
  color: var(--white);
  font-size: 12px;
  box-shadow: 0 7px 16px rgba(33,135,102,.16);
}

.lower-grid {
  gap: 18px;
  margin-top: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.section-card {
  padding: 26px;
}

.section-head {
  padding-bottom: 17px;
  border-bottom: 1px solid rgba(16,23,34,.08);
}

.section-title {
  font-size: 24px;
  line-height: 1.1;
}

.text-button,
.section-link {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.currency-row {
  min-height: 76px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(16,23,34,.065);
  transition: padding .2s ease, transform .2s ease;
}

.currency-row:last-child {
  border-bottom: 0;
}

.currency-row:hover {
  padding-inline: 7px;
  transform: translateX(2px);
}

.currency-mark {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(33,135,102,.16);
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--green-dark);
  font-family: var(--mono);
  font-size: 9px;
  box-shadow: inset 0 0 0 5px rgba(255,255,255,.32);
}

.row-main strong {
  font-size: 11px;
}

.row-main span {
  color: var(--muted);
  font-size: 9px;
}

.row-amount {
  font-family: var(--mono);
}

.balance-amount {
  font-size: 12px;
  font-weight: 500;
}

.row-amount small {
  color: var(--muted);
  font-size: 8px;
}

.transaction {
  min-height: 68px;
  border-bottom: 1px solid rgba(16,23,34,.065);
}

.transaction-icon {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(16,23,34,.08);
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--green);
}

.insight {
  margin-top: 22px;
  padding: 21px;
  border: 1px solid rgba(217,155,57,.18);
  border-radius: 17px;
  background:
    radial-gradient(circle at 100% 0%, rgba(217,155,57,.10), transparent 36%),
    var(--paper-2);
}

.insight h3 {
  max-width: 320px;
  margin-top: 7px;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.1;
  letter-spacing: -.025em;
}

.insight p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

.insight .primary-button {
  margin-top: 15px;
  min-height: 38px;
  padding-inline: 14px;
  font-size: 10px;
}

.esim-card {
  position: relative;
  overflow: hidden;
  min-height: 245px;
  margin-top: 18px;
  padding: 36px;
  border: 1px solid rgba(16,23,34,.08);
  border-radius: var(--radius);
  background: var(--green-dark);
  color: var(--white);
  box-shadow: 0 26px 55px rgba(23,107,80,.15);
}

.esim-card::before,
.esim-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}

.esim-card::before {
  width: 390px;
  height: 390px;
  right: -145px;
  top: -190px;
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: 0 0 0 30px rgba(255,255,255,.025),
              0 0 0 60px rgba(255,255,255,.018);
}

.esim-card::after {
  width: 7px;
  height: 7px;
  right: 260px;
  top: 56px;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(217,155,57,.10);
}

.esim-card > div:first-child {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.esim-card h2 {
  max-width: 590px;
  margin-top: 8px;
  font-family: var(--serif);
  font-size: clamp(29px, 3vw, 42px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.04em;
}

.esim-card p {
  max-width: 510px;
  margin-top: 13px;
  color: rgba(255,255,255,.70);
  font-size: 11px;
}

.esim-button {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: 21px;
  padding: 0 17px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  transition: transform .2s ease;
}

.esim-button:hover {
  transform: translateY(-2px);
}

.sim-preview {
  position: absolute;
  right: 58px;
  bottom: 28px;
  width: 185px;
  height: 135px;
  display: grid;
  place-items: center;
  transform: rotate(8deg);
  opacity: .98;
}

.sim-card {
  position: relative;
  width: 145px;
  height: 88px;
  padding: 15px;
  border: 1px solid rgba(16,23,34,.14);
  border-radius: 13px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 8px;
  box-shadow: 0 20px 35px rgba(16,23,34,.24);
}

.sim-card::after {
  content: "";
  position: absolute;
  right: 13px;
  top: 13px;
  width: 28px;
  height: 21px;
  border: 1px solid rgba(16,23,34,.22);
  border-radius: 5px;
  background: linear-gradient(135deg, transparent 47%, rgba(16,23,34,.12) 48%, transparent 53%);
}

.sim-lines {
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 13px;
  display: grid;
  gap: 4px;
}

.sim-lines span {
  height: 2px;
  border-radius: 2px;
  background: rgba(16,23,34,.14);
}

.sim-lines span:nth-child(1) { width: 58%; }
.sim-lines span:nth-child(2) { width: 42%; }
.sim-lines span:nth-child(3) { width: 28%; }

@media (max-width: 1000px) {
  .dashboard-grid,
  .lower-grid {
    grid-template-columns: 1fr;
  }

  .sim-preview {
    right: 25px;
    opacity: .72;
  }
}

@media (max-width: 720px) {
  .main::before {
    width: 330px;
    height: 330px;
    right: -245px;
  }

  .topbar {
    min-height: 68px;
  }

  .secure {
    display: none;
  }

  .intro {
    padding: 39px 0 27px;
  }

  .intro::after {
    width: 105px;
    height: 105px;
    right: -8px;
    top: 10px;
  }

  .intro h1 {
    max-width: 310px;
    font-size: 43px;
  }

  .intro p {
    max-width: 340px;
    font-size: 13px;
    line-height: 1.55;
  }

  .balance-card {
    min-height: 285px;
  }

  .balance-content {
    padding: 24px 21px 21px;
  }

  .balance-value {
    margin-top: 30px;
    font-size: 43px;
  }

  .balance-card::before {
    width: 300px;
    height: 300px;
    right: -170px;
    top: -105px;
  }

  .balance-footer {
    padding: 13px 21px;
  }

  .quick-card,
  .section-card {
    padding: 21px;
  }

  .quick-card h2 {
    font-size: 25px;
  }

  .actions {
    gap: 8px;
  }

  .action {
    min-height: 72px;
  }

  .currency-row {
    min-height: 70px;
  }

  .row-main strong {
    font-size: 10px;
  }

  .row-amount {
    min-width: 82px;
  }

  .esim-card {
    min-height: 330px;
    padding: 27px 22px;
  }

  .esim-card h2 {
    max-width: 300px;
    font-size: 31px;
  }

  .esim-card p {
    max-width: 285px;
    font-size: 10px;
  }

  .sim-preview {
    right: -2px;
    bottom: 8px;
    transform: rotate(8deg) scale(.85);
    opacity: .56;
  }
}

@media (prefers-reduced-motion: reduce) {
  .action,
  .currency-row,
  .esim-button {
    transition: none;
  }
}

/* =========================================================
   FINAL DASHBOARD RESPONSIVE OVERRIDES
   ========================================================= */

@media (max-width: 900px) {
  .app {
    display: block;
  }

  .sidebar {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 15px 18px;
  }

  .sidebar-label,
  .sidebar-footer {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .sidebar .nav {
    display: none;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--line-dark);
  }

  .sidebar .nav.open {
    display: grid;
  }

  .main {
    padding: 22px clamp(15px, 4vw, 34px) 48px;
  }

  .topbar {
    margin-bottom: 34px;
  }

  .dashboard-grid,
  .lower-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .balance-value {
    overflow-wrap: anywhere;
  }

  .esim-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .sim-preview {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 8px;
  }
}

@media (max-width: 560px) {
  .topbar {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }

  .topbar-right {
    margin-left: auto;
  }

  .intro {
    padding-top: 34px;
  }

  .intro h1 {
    max-width: 100%;
    font-size: clamp(38px, 12vw, 50px);
  }

  .balance-card {
    min-height: 285px;
    padding: 22px;
  }

  .balance-content {
    padding: 0;
  }

  .balance-header {
    align-items: flex-start;
  }

  .balance-value {
    margin-top: 29px;
    font-size: clamp(35px, 11vw, 48px);
  }

  .balance-footer {
    left: 22px;
    right: 22px;
    bottom: 21px;
  }

  .section-head {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .currency-row {
    gap: 9px;
  }

  .row-main strong {
    overflow-wrap: anywhere;
  }

  .row-amount {
    min-width: 68px;
  }
}

/* =========================================================
   FINTECH LIGHT THEME
   ========================================================= */

:root {
  --dashboard-bg: #f5f7fa;
  --dashboard-surface: #ffffff;
  --dashboard-border: #e2e8f0;
  --dashboard-text: #17212b;
  --dashboard-muted: #667382;
  --dashboard-gold: #b27a22;
  --dashboard-gold-soft: #fff7e8;
  --dashboard-gold-border: #ead3a4;
}

.wk-page-shell {
  background: var(--dashboard-bg);
  color: var(--dashboard-text);
}

.wk-page-shell::before,
.wk-page-shell::after {
  opacity: .28;
}

.app {
  background: var(--dashboard-bg);
}

.sidebar {
  border-right: 1px solid var(--dashboard-border);
  background: var(--dashboard-surface);
  color: var(--dashboard-text);
  box-shadow: 8px 0 28px rgba(23,33,43,.035);
}

.sidebar::after {
  display: none;
}

.sidebar .brand {
  color: var(--dashboard-text);
}

.sidebar .brand-dot {
  background: var(--dashboard-gold);
  box-shadow: 0 0 0 6px rgba(178,122,34,.12);
}

.sidebar-label {
  color: #8995a3;
}

.nav a {
  color: #637080;
}

.nav a:hover {
  background: #f7f9fb;
  color: var(--dashboard-text);
}

.nav a.active {
  background: var(--dashboard-gold-soft);
  color: var(--dashboard-text);
}

.nav a.active::before {
  background: var(--dashboard-gold);
  box-shadow: 0 0 12px rgba(178,122,34,.25);
}

.nav-icon,
.nav a.active .nav-icon {
  color: var(--dashboard-gold);
}

.sidebar-footer {
  border-top-color: var(--dashboard-border);
}

.account-status {
  color: #7d8996;
}

.status-dot {
  background: #2d9b72;
  box-shadow: 0 0 0 4px rgba(45,155,114,.10);
}

.logout {
  border-color: var(--dashboard-border);
  background: #fff;
  color: var(--dashboard-text);
}

.logout:hover {
  background: #f7f9fb;
  border-color: #cbd5df;
}

.main {
  background:
    radial-gradient(circle at 92% 0%, rgba(178,122,34,.06), transparent 26%),
    var(--dashboard-bg);
}

.main::before,
.main::after,
.intro::after {
  opacity: .35;
}

.topbar {
  border-bottom-color: var(--dashboard-border);
}

.date,
.intro p,
.quick-card > p,
.row-main span,
.row-amount small {
  color: var(--dashboard-muted);
}

.secure {
  border-color: #cde6da;
  background: #f0faf5;
  color: #237b5b;
}

.profile {
  border-left-color: var(--dashboard-border);
  background: rgba(255,255,255,.78);
}

.avatar {
  border-color: var(--dashboard-gold-border);
  background: var(--dashboard-gold);
  box-shadow: 0 0 0 5px rgba(178,122,34,.10);
}

.card {
  border-color: var(--dashboard-border);
  background: var(--dashboard-surface);
  box-shadow: 0 8px 24px rgba(23,33,43,.045);
  backdrop-filter: none;
}

.balance-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(218,169,78,.28), transparent 31%),
    linear-gradient(135deg, #273541, #17252f 70%, #195542);
  box-shadow: 0 18px 40px rgba(23,33,43,.14);
}

.balance-card::after {
  background: #d7a148;
  box-shadow: 0 0 0 7px rgba(215,161,72,.14), 0 0 18px rgba(215,161,72,.34);
}

.currency-select {
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.10);
}

.quick-card {
  background: var(--dashboard-surface);
}

.action {
  border-color: var(--dashboard-border);
  background: #fbfcfd;
}

.action:hover {
  border-color: var(--dashboard-gold-border);
  background: var(--dashboard-gold-soft);
}

.action-icon {
  background: var(--dashboard-gold-soft);
  color: var(--dashboard-gold);
  box-shadow: none;
}

.action:hover .action-icon {
  background: var(--dashboard-gold);
  color: #fff;
  box-shadow: 0 6px 14px rgba(178,122,34,.20);
}

.section-head {
  border-bottom-color: var(--dashboard-border);
}

.currency-row,
.transaction {
  border-color: var(--dashboard-border);
}

.currency-mark,
.transaction-icon {
  border-color: var(--dashboard-gold-border);
  background: var(--dashboard-gold-soft);
  color: var(--dashboard-gold);
  box-shadow: none;
}

.currency-row:hover {
  background: #fcfdfe;
}

.ready {
  color: #237b5b;
}

.live {
  color: var(--dashboard-gold);
}

.insight {
  border-color: var(--dashboard-gold-border);
  background: var(--dashboard-gold-soft);
}

.esim-card {
  background:
    radial-gradient(circle at 92% 10%, rgba(218,169,78,.30), transparent 28%),
    linear-gradient(135deg, #195542, #237b5b);
  box-shadow: 0 18px 40px rgba(35,123,91,.13);
}

@media (max-width: 900px) {
  .sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--dashboard-border);
  }

  .sidebar .nav {
    border-top-color: var(--dashboard-border);
  }

  .menu-toggle {
    border-color: var(--dashboard-border);
    color: var(--dashboard-text);
  }
}
