/* =========================================================
   PAYFLOW EDUCATIONAL DEMO
   HOME PAGE DESIGN SYSTEM
========================================================= */

:root {
  --blue: #0070e0;
  --blue-dark: #003087;
  --blue-deep: #001c64;
  --blue-light: #0b7ff5;
  --blue-soft: #eaf3ff;

  --page: #f1f4fb;
  --surface: #ffffff;
  --surface-soft: #f7f9fc;

  --text: #111111;
  --text-soft: #3f4145;
  --muted: #65676d;
  --light-text: #90939a;

  --border: #e1e5ec;
  --border-strong: #d3d8e1;

  --success: #16864a;
  --danger: #c93d52;

  --shadow-small:
    0 4px 12px rgba(25, 42, 70, 0.05);

  --shadow-medium:
    0 12px 30px rgba(25, 42, 70, 0.09);

  --shadow-large:
    0 24px 64px rgba(25, 42, 70, 0.17);

  --radius-small: 14px;
  --radius: 20px;
  --radius-large: 28px;
  --round: 999px;

  --banner-height: 30px;
  --header-height: 88px;
  --bottom-navigation-height: 92px;

  --content-width: 760px;
  --page-space: 18px;

  --fast: 160ms ease;
  --normal: 260ms ease;
}

/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  width: 100%;
  min-height: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--page);
  color: var(--text);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "SF Pro Text",
    "Helvetica Neue",
    Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "SF Pro Text",
    "Helvetica Neue",
    Arial,
    sans-serif;
}

button,
input,
select,
textarea {
  font-size: inherit;
}

button {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  display: block;
}

h1,
h2,
h3,
p {
  margin: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.hidden {
  display: none !important;
}

/* =========================================================
   ACCESSIBILITY
========================================================= */

.skip-link {
  position: fixed;
  top: -100px;
  left: 18px;
  z-index: 30000;
  padding: 13px 18px;
  border-radius: 14px;
  background: #ffffff;
  color: var(--blue-dark);
  font-weight: 700;
  box-shadow: var(--shadow-large);
}

.skip-link:focus {
  top: 18px;
}

:focus-visible {
  outline: 3px solid rgba(0, 112, 224, 0.3);
  outline-offset: 3px;
}

.noscript-warning {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30000;
  max-width: 420px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #121820;
  color: #ffffff;
  box-shadow: var(--shadow-large);
}

/* =========================================================
   EDUCATIONAL BANNER
========================================================= */

.educational-banner {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10000;
  min-height: var(--banner-height);
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #121820;
  color: #ffffff;
  text-align: center;
  text-transform: uppercase;
  font-size: 0.56rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.055em;
}

/* =========================================================
   MOBILE HEADER
========================================================= */

.mobile-header {
  position: fixed;
  top: var(--banner-height);
  right: 0;
  left: 0;
  z-index: 9000;
  height: var(--header-height);
  padding:
    14px
    max(var(--page-space), env(safe-area-inset-right))
    12px
    max(var(--page-space), env(safe-area-inset-left));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(241, 244, 251, 0.97);
  backdrop-filter: blur(20px) saturate(150%);
}

.header-circle-button {
  position: relative;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: var(--shadow-small);
  transition:
    transform var(--fast),
    box-shadow var(--fast),
    background-color var(--fast);
}

.header-circle-button:hover {
  background: #f8fbff;
  box-shadow: var(--shadow-medium);
  transform: translateY(-1px);
}

.header-circle-button img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.notification-shortcut {
  overflow: visible;
}

.notification-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border: 2px solid var(--page);
  border-radius: 12px;
  background: var(--blue);
  color: #ffffff;
  font-size: 0.64rem;
  font-weight: 800;
}

.profile-shortcut {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  padding: 3px;
  overflow: hidden;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: var(--shadow-small);
  transition:
    transform var(--fast),
    box-shadow var(--fast);
}

.profile-shortcut:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-1px);
}

.profile-shortcut img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

/* =========================================================
   HOME MAIN
========================================================= */

.home-main {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding:
    calc(
      var(--banner-height) +
      var(--header-height) +
      12px
    )
    max(var(--page-space), env(safe-area-inset-right))
    calc(
      var(--bottom-navigation-height) +
      38px
    )
    max(var(--page-space), env(safe-area-inset-left));
}

/* =========================================================
   SETUP PROGRESS CARD
========================================================= */

.setup-progress-card {
  min-height: 122px;
  padding: 20px 20px;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 15px;
  border-radius: 25px;
  background: #ffffff;
  box-shadow: var(--shadow-small);
}

.setup-progress-ring {
  position: relative;
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
}

.setup-progress-ring svg {
  position: absolute;
  inset: 0;
  width: 66px;
  height: 66px;
  transform: rotate(-90deg);
}

.setup-progress-ring circle {
  fill: none;
  stroke-width: 6;
}

.setup-ring-track {
  stroke: #edf0f5;
}

.setup-ring-progress {
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-dasharray: 194.8;
  stroke-dashoffset: 129.9;
}

.setup-progress-ring strong {
  position: relative;
  z-index: 2;
  color: #111111;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.setup-progress-copy {
  min-width: 0;
}

.setup-progress-copy h1 {
  color: #111111;
  font-size: 1.23rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.setup-progress-copy p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.setup-progress-arrow {
  width: 24px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #777a80;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
}

.setup-progress-arrow:hover {
  background: var(--blue-soft);
  color: var(--blue);
}

/* =========================================================
   WALLET CAROUSEL
========================================================= */

.wallet-carousel {
  width: calc(100% + var(--page-space));
  margin-top: 24px;
  padding-right: var(--page-space);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 89%;
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.wallet-carousel::-webkit-scrollbar {
  display: none;
}

.wallet-card {
  min-height: 395px;
  overflow: hidden;
  border-radius: 25px;
  scroll-snap-align: start;
  box-shadow: var(--shadow-small);
}

.wallet-balance-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.wallet-card-heading {
  padding: 22px 22px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.wallet-card-brand {
  width: 58px;
  height: 43px;
  object-fit: contain;
}

.wallet-card-heading strong {
  color: #171717;
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.wallet-balance-content {
  flex: 1;
  min-height: 195px;
  padding: 44px 22px 31px;
  display: flex;
  align-items: flex-end;
}

.wallet-balance-amount {
  color: #000000;
  font-size: clamp(3.45rem, 16vw, 4.75rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.078em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

/* =========================================================
   WALLET PRIMARY ACTION
========================================================= */

.wallet-primary-action {
  min-height: 119px;
  padding: 20px 21px;
  display: grid;
  grid-template-columns: 59px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 14px;
  background:
    linear-gradient(
      135deg,
      #0674ed 0%,
      #005acb 100%
    );
  color: #ffffff;
}

.wallet-action-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.11);
}

.wallet-action-icon img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.wallet-action-copy {
  min-width: 0;
}

.wallet-action-copy strong,
.wallet-action-copy small {
  display: block;
}

.wallet-action-copy strong {
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.wallet-action-copy small {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.83);
  font-size: 0.77rem;
  font-weight: 400;
  line-height: 1.35;
}

.wallet-action-arrow {
  color: #ffffff;
  font-size: 2.4rem;
  font-weight: 200;
  line-height: 1;
}

/* =========================================================
   SECONDARY WALLET CARDS
========================================================= */

.pay-later-card,
.crypto-wallet-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.pay-later-card {
  background:
    radial-gradient(
      circle at 95% 95%,
      rgba(0, 112, 224, 0.18),
      transparent 42%
    ),
    #dff5ff;
}

.crypto-wallet-card {
  background:
    radial-gradient(
      circle at 95% 95%,
      rgba(255, 255, 255, 0.18),
      transparent 42%
    ),
    linear-gradient(
      145deg,
      #23349d 0%,
      #006de3 100%
    );
  color: #ffffff;
}

.secondary-wallet-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.secondary-wallet-heading > strong {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.secondary-wallet-heading img {
  width: 47px;
  height: 47px;
  object-fit: contain;
}

.secondary-wallet-content {
  flex: 1;
  padding-top: 43px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.secondary-wallet-content p {
  max-width: 245px;
  color: inherit;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.secondary-wallet-amount {
  display: block;
  margin-top: 17px;
  font-size: clamp(2.75rem, 11vw, 3.85rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.07em;
  font-variant-numeric: tabular-nums;
}

.secondary-wallet-link {
  min-height: 48px;
  margin-top: 24px;
  padding: 12px 18px;
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.crypto-wallet-card .secondary-wallet-link {
  background: #ffffff;
}

/* =========================================================
   WALLET INDICATORS
========================================================= */

.wallet-carousel-indicators {
  margin-top: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.wallet-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b9bec8;
  transition:
    width var(--fast),
    background-color var(--fast);
}

.wallet-indicator.active {
  width: 21px;
  border-radius: 10px;
  background: var(--blue);
}
/* =========================================================
   RECENT ACTIVITY CARD
========================================================= */

.recent-activity-card {
  min-height: 103px;
  margin-top: 22px;
  padding: 18px 21px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-small);
  transition:
    transform var(--fast),
    box-shadow var(--fast);
}

.recent-activity-card:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-1px);
}

.recent-activity-copy {
  min-width: 0;
}

.recent-activity-copy span {
  display: block;
  color: #55575c;
  font-size: 0.93rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.recent-activity-copy strong {
  display: block;
  margin-top: 5px;
  color: #111111;
  font-size: 1.22rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}

.recent-activity-button {
  width: 57px;
  height: 57px;
  flex: 0 0 57px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #050505;
}

.recent-activity-button img {
  width: 37px;
  height: 37px;
  object-fit: contain;
}

/* =========================================================
   SHARED HOME SECTIONS
========================================================= */

.home-content-section {
  margin-top: 33px;
}

.section-heading-row {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.section-heading-row h2 {
  color: #111111;
  font-size: 1.46rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.section-heading-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #5d6066;
  font-size: 0.84rem;
  font-weight: 500;
}

.section-heading-link > span:last-child {
  font-size: 1.65rem;
  font-weight: 300;
  line-height: 0.8;
}

/* =========================================================
   FEATURED OFFERS CAROUSEL
========================================================= */

.featured-offers-carousel {
  width: calc(100% + var(--page-space));
  padding-right: var(--page-space);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 91%;
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.featured-offers-carousel::-webkit-scrollbar {
  display: none;
}

.featured-offer-card {
  min-height: 279px;
  padding: 23px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 24px;
  color: #ffffff;
  scroll-snap-align: start;
  box-shadow: var(--shadow-small);
}

.green-offer-card {
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(255, 255, 255, 0.12),
      transparent 35%
    ),
    linear-gradient(
      145deg,
      #03977e 0%,
      #00705e 100%
    );
}

.blue-offer-card {
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(255, 255, 255, 0.13),
      transparent 35%
    ),
    linear-gradient(
      145deg,
      #0a75ed 0%,
      #004bbb 100%
    );
}

.purple-offer-card {
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(255, 255, 255, 0.13),
      transparent 35%
    ),
    linear-gradient(
      145deg,
      #7650cc 0%,
      #4a1b96 100%
    );
}

.featured-offer-heading {
  display: flex;
  align-items: center;
  gap: 16px;
}

.featured-offer-logo {
  width: 70px;
  height: 70px;
  flex: 0 0 70px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  background: #ffffff;
}

.featured-offer-logo img {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: contain;
}

.featured-offer-heading > strong {
  color: #ffffff;
  font-size: 1.28rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.featured-offer-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 17px;
}

.featured-offer-copy {
  min-width: 0;
}

.featured-offer-copy strong {
  display: block;
  color: #ffffff;
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.featured-offer-copy p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.35;
}

.featured-offer-save {
  min-width: 108px;
  min-height: 51px;
  padding: 11px 20px;
  flex: 0 0 auto;
  border-radius: var(--round);
  background: rgba(255, 255, 255, 0.78);
  color: #090909;
  font-size: 0.88rem;
  font-weight: 700;
  transition:
    background-color var(--fast),
    color var(--fast),
    transform var(--fast);
}

.featured-offer-save:hover {
  background: #ffffff;
  transform: translateY(-1px);
}

.featured-offer-save.saved {
  background: #ffffff;
  color: var(--success);
}

/* =========================================================
   QUICK ACTIONS
========================================================= */

.home-quick-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.home-quick-action {
  min-height: 104px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 11px;
  overflow: hidden;
  border-radius: 19px;
  background: #ffffff;
  box-shadow: var(--shadow-small);
  transition:
    transform var(--fast),
    box-shadow var(--fast);
}

.home-quick-action:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-1px);
}

.home-quick-action-icon {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--blue-soft);
}

.home-quick-action-icon img {
  width: 33px;
  height: 33px;
  object-fit: contain;
}

.home-quick-action-copy {
  min-width: 0;
}

.home-quick-action-copy strong,
.home-quick-action-copy small {
  display: block;
}

.home-quick-action-copy strong {
  overflow: hidden;
  color: #151515;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-quick-action-copy small {
  margin-top: 4px;
  color: #6c6e73;
  font-size: 0.65rem;
  font-weight: 400;
  line-height: 1.35;
}

/* =========================================================
   EDUCATIONAL INFORMATION
========================================================= */

.educational-information-card {
  margin-top: 26px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  border: 1px solid var(--border);
  border-radius: 19px;
  background: #ffffff;
  box-shadow: var(--shadow-small);
}

.educational-information-icon {
  width: 45px;
  height: 45px;
  flex: 0 0 45px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--blue-soft);
}

.educational-information-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.educational-information-copy {
  min-width: 0;
}

.educational-information-copy strong {
  display: block;
  color: var(--blue-dark);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
}

.educational-information-copy p {
  margin-top: 5px;
  color: #666970;
  font-size: 0.66rem;
  font-weight: 400;
  line-height: 1.55;
}

/* =========================================================
   BOTTOM NAVIGATION
========================================================= */

.bottom-navigation {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 8500;
  min-height: var(--bottom-navigation-height);
  padding:
    8px
    max(8px, env(safe-area-inset-right))
    max(8px, env(safe-area-inset-bottom))
    max(8px, env(safe-area-inset-left));
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.98);
  box-shadow:
    0 -12px 34px rgba(26, 42, 67, 0.08);
  backdrop-filter: blur(20px) saturate(150%);
}

.bottom-navigation-item {
  position: relative;
  min-width: 0;
  min-height: 65px;
  padding: 5px 2px 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  color: #66686d;
  text-align: center;
  font-size: 0.61rem;
  font-weight: 400;
  line-height: 1.15;
}

.bottom-navigation-icon {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
}

.bottom-navigation-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.bottom-navigation-item.active {
  color: #111111;
  font-weight: 700;
}

.bottom-navigation-item.active::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 22%;
  width: 56%;
  height: 3px;
  border-radius: 4px;
  background: var(--blue);
}

.central-navigation-item {
  overflow: visible;
}

.central-navigation-circle {
  width: 67px;
  height: 67px;
  margin-top: -33px;
  display: grid;
  place-items: center;
  border: 5px solid #ffffff;
  border-radius: 50%;
  background:
    linear-gradient(
      145deg,
      #0b80f6 0%,
      #0063d7 100%
    );
  box-shadow:
    0 13px 28px rgba(0, 91, 207, 0.26);
}

.central-navigation-circle img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.central-navigation-item > span:last-child {
  color: #62646a;
}

/* =========================================================
   SIDE MENU
========================================================= */

.side-menu {
  position: fixed;
  inset: 0;
  z-index: 20000;
}

.side-menu-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 20, 30, 0.53);
  backdrop-filter: blur(5px);
}

.side-menu-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(370px, 89vw);
  padding:
    calc(24px + env(safe-area-inset-top))
    17px
    calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto;
  background: #ffffff;
  box-shadow:
    20px 0 58px rgba(19, 34, 57, 0.22);
  animation: openSideMenu 220ms ease both;
}

@keyframes openSideMenu {
  from {
    opacity: 0;
    transform: translateX(-26px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.side-menu-header {
  padding: 7px 7px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 17px;
  border-bottom: 1px solid var(--border);
}

.side-menu-profile {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
}

.side-menu-profile-image {
  width: 55px;
  height: 55px;
  flex: 0 0 55px;
  border-radius: 50%;
  object-fit: cover;
}

.side-menu-profile > div {
  min-width: 0;
}

.side-menu-profile p {
  color: #74777d;
  text-transform: uppercase;
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.07em;
}

.side-menu-profile strong {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: var(--blue-dark);
  font-size: 1.15rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.side-menu-close-button {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.side-menu-close-button span {
  margin-top: -3px;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
}

.side-menu-navigation {
  margin-top: 18px;
  display: grid;
  gap: 5px;
}

.side-menu-link {
  min-height: 73px;
  padding: 10px 11px;
  display: grid;
  grid-template-columns: 47px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  border-radius: 17px;
  transition:
    background-color var(--fast),
    color var(--fast);
}

.side-menu-link:hover {
  background: var(--blue-soft);
}

.side-menu-link-icon {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #f0f5fc;
}

.side-menu-link-icon img {
  width: 29px;
  height: 29px;
  object-fit: contain;
}

.side-menu-link-copy {
  min-width: 0;
}

.side-menu-link-copy strong,
.side-menu-link-copy small {
  display: block;
}

.side-menu-link-copy strong {
  color: #151515;
  font-size: 0.85rem;
  font-weight: 700;
}

.side-menu-link-copy small {
  margin-top: 3px;
  color: #73767c;
  font-size: 0.64rem;
  line-height: 1.35;
}

.side-menu-link-arrow {
  color: #74777d;
  font-size: 1.7rem;
  font-weight: 300;
  line-height: 1;
}

.side-menu-information {
  margin-top: 23px;
  padding: 15px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-radius: 17px;
  background: var(--blue-soft);
}

.side-menu-information-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
}

.side-menu-information-icon img {
  width: 37px;
  height: 37px;
  object-fit: contain;
}

.side-menu-information strong {
  display: block;
  color: var(--blue-dark);
  font-size: 0.73rem;
}

.side-menu-information p {
  margin-top: 4px;
  color: #666970;
  font-size: 0.64rem;
  line-height: 1.5;
}

.side-menu-logout {
  min-height: 54px;
  margin-top: 14px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 16px;
  color: #26272a;
  font-size: 0.78rem;
  font-weight: 700;
}

.side-menu-logout img {
  width: 27px;
  height: 27px;
  object-fit: contain;
}

/* =========================================================
   OFFER TOAST
========================================================= */

.offer-toast {
  position: fixed;
  right: 50%;
  bottom:
    calc(
      var(--bottom-navigation-height) +
      18px
    );
  z-index: 22000;
  width: max-content;
  max-width: calc(100% - 30px);
  padding: 13px 17px;
  border-radius: 15px;
  background: #121820;
  color: #ffffff;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  box-shadow: var(--shadow-large);
  transform: translateX(50%);
}

/* =========================================================
   PAGE LOADER
========================================================= */

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 30000;
  display: grid;
  place-items: center;
  background: rgba(243, 246, 252, 0.97);
  backdrop-filter: blur(10px);
}

.page-loader-content {
  min-width: 220px;
  padding: 27px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-loader-logo {
  width: 63px;
  height: 63px;
  object-fit: contain;
}

.page-loader-spinner {
  width: 41px;
  height: 41px;
  margin: 19px auto 14px;
  border: 4px solid #dce8f7;
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: loaderSpin 780ms linear infinite;
}

@keyframes loaderSpin {
  to {
    transform: rotate(360deg);
  }
}

.page-loader-content p {
  color: #666970;
  font-size: 0.76rem;
  font-weight: 600;
}
/* =========================================================
   RESPONSIVE LAYOUT
========================================================= */

@media (min-width:768px){

.home-main{
padding-left:32px;
padding-right:32px;
}

.wallet-carousel{
grid-auto-columns:520px;
}

.featured-offers-carousel{
grid-auto-columns:420px;
}

.home-quick-actions{
grid-template-columns:repeat(4,1fr);
}

.bottom-navigation{
max-width:760px;
left:50%;
transform:translateX(-50%);
border-radius:28px 28px 0 0;
}

.mobile-header{
max-width:760px;
left:50%;
transform:translateX(-50%);
}

.educational-banner{
max-width:760px;
left:50%;
transform:translateX(-50%);
}

}

@media (max-width:480px){

.home-main{
padding-left:16px;
padding-right:16px;
}

.wallet-carousel{
width:calc(100% + 16px);
grid-auto-columns:94%;
}

.featured-offers-carousel{
width:calc(100% + 16px);
grid-auto-columns:94%;
}

.setup-progress-copy h1{
font-size:1.08rem;
}

.wallet-balance-amount{
font-size:3.4rem;
}

.secondary-wallet-amount{
font-size:2.9rem;
}

.section-heading-row h2{
font-size:1.3rem;
}

}

/* =========================================================
   SMOOTH ANIMATIONS
========================================================= */

.wallet-card,
.featured-offer-card,
.home-quick-action,
.recent-activity-card,
.side-menu-link,
.profile-shortcut,
.header-circle-button{
transition:
transform .22s ease,
box-shadow .22s ease,
background-color .22s ease;
}

.wallet-card:hover,
.featured-offer-card:hover,
.home-quick-action:hover,
.recent-activity-card:hover{
transform:translateY(-3px);
box-shadow:0 18px 40px rgba(0,0,0,.12);
}

.wallet-card:active,
.featured-offer-card:active,
.home-quick-action:active{
transform:scale(.98);
}

/* =========================================================
   SCROLLBAR
========================================================= */

*{
scrollbar-width:thin;
scrollbar-color:#0070e0 transparent;
}

::-webkit-scrollbar{
width:7px;
height:7px;
}

::-webkit-scrollbar-thumb{
background:#0070e0;
border-radius:999px;
}

::-webkit-scrollbar-track{
background:transparent;
}

/* =========================================================
   IMAGE QUALITY
========================================================= */

img{
image-rendering:auto;
object-fit:cover;
}

.wallet-card-brand{
width:72px;
height:52px;
}

.profile-shortcut img{
object-fit:cover;
}

.featured-offer-logo img{
width:64px;
height:64px;
}

.home-quick-action-icon img{
width:36px;
height:36px;
}

.bottom-navigation-icon img{
width:30px;
height:30px;
}

.central-navigation-circle img{
width:40px;
height:40px;
}

/* =========================================================
   BETTER NUMBER TYPOGRAPHY
========================================================= */

.wallet-balance-amount,
.secondary-wallet-amount,
.recent-activity-copy strong{

font-variant-numeric:tabular-nums;
font-feature-settings:"tnum";
font-weight:700;
letter-spacing:-.06em;

}

/* =========================================================
   BUTTON STATES
========================================================= */

button:disabled{
opacity:.55;
cursor:not-allowed;
}

button:focus-visible,
a:focus-visible{
outline:3px solid rgba(0,112,224,.35);
outline-offset:4px;
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion:reduce){

*{
animation:none!important;
transition:none!important;
scroll-behavior:auto!important;
}

}
/* =========================================================
   SHARED INNER PAGE LAYOUT
========================================================= */

.inner-page-main {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding:
    calc(
      var(--banner-height) +
      var(--header-height) +
      16px
    )
    max(var(--page-space), env(safe-area-inset-right))
    calc(
      var(--bottom-navigation-height) +
      40px
    )
    max(var(--page-space), env(safe-area-inset-left));
}

.inner-page-heading {
  margin-bottom: 24px;
}

.inner-page-heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.inner-page-eyebrow {
  color: var(--blue);
  text-transform: uppercase;
  font-size: 0.64rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.085em;
}

.inner-page-heading h1 {
  margin-top: 6px;
  color: #111111;
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.065em;
}

.inner-page-heading p {
  max-width: 620px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.inner-page-back {
  min-height: 43px;
  padding: 9px 13px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #ffffff;
  color: var(--blue-dark);
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: var(--shadow-small);
}

.inner-page-back img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* =========================================================
   SHARED SECTION COMPONENTS
========================================================= */

.page-section {
  margin-top: 25px;
}

.page-section:first-child {
  margin-top: 0;
}

.page-section-heading {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.page-section-heading h2 {
  color: #111111;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.page-section-heading p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.45;
}

.page-section-heading a {
  flex: 0 0 auto;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 700;
}

.content-card {
  overflow: hidden;
  border-radius: 23px;
  background: #ffffff;
  box-shadow: var(--shadow-small);
}

.content-card-padding {
  padding: 21px;
}

.card-divider {
  height: 1px;
  background: var(--border);
}

/* =========================================================
   ACCOUNT PAGE
========================================================= */

.account-summary-carousel {
  width: calc(100% + var(--page-space));
  padding-right: var(--page-space);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 90%;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.account-summary-carousel::-webkit-scrollbar {
  display: none;
}

.account-summary-card {
  min-height: 250px;
  padding: 23px;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  background: #ffffff;
  scroll-snap-align: start;
  box-shadow: var(--shadow-small);
}

.primary-account-card {
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(255, 255, 255, 0.16),
      transparent 36%
    ),
    linear-gradient(
      145deg,
      #0879ef,
      #0054c2
    );
  color: #ffffff;
}

.secondary-account-card {
  background:
    linear-gradient(
      145deg,
      #ffffff,
      #f0f7ff
    );
}

.crypto-account-card {
  background:
    linear-gradient(
      145deg,
      #27389e,
      #006ce3
    );
  color: #ffffff;
}

.account-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.account-card-heading span {
  font-size: 0.82rem;
  font-weight: 600;
}

.account-card-heading img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.account-card-caption {
  margin-top: 34px;
  color: inherit;
  opacity: 0.78;
  font-size: 0.72rem;
}

.account-card-balance {
  margin-top: 7px;
  font-size: clamp(2.7rem, 12vw, 4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.075em;
  font-variant-numeric: tabular-nums;
}

.account-card-footer {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.account-card-footer span {
  font-size: 0.7rem;
  opacity: 0.8;
}

.account-card-footer a {
  min-height: 42px;
  padding: 9px 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue-dark);
  font-size: 0.72rem;
  font-weight: 700;
}

.account-tab-list {
  margin-top: 20px;
  padding: 6px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  border-radius: 17px;
  background: #ffffff;
  box-shadow: var(--shadow-small);
  scrollbar-width: none;
}

.account-tab-list::-webkit-scrollbar {
  display: none;
}

.account-tab-button {
  min-height: 42px;
  padding: 9px 16px;
  flex: 0 0 auto;
  border-radius: 13px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.account-tab-button.active {
  background: var(--blue);
  color: #ffffff;
}

.account-list {
  overflow: hidden;
  border-radius: 23px;
  background: #ffffff;
  box-shadow: var(--shadow-small);
}

.account-list-item {
  min-height: 84px;
  padding: 15px 17px;
  display: grid;
  grid-template-columns: 51px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  border-top: 1px solid var(--border);
}

.account-list-item:first-child {
  border-top: 0;
}

.account-list-icon {
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--blue-soft);
}

.account-list-icon img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.account-list-copy {
  min-width: 0;
}

.account-list-copy strong,
.account-list-copy small {
  display: block;
}

.account-list-copy strong {
  color: #151515;
  font-size: 0.84rem;
  font-weight: 700;
}

.account-list-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.65rem;
  line-height: 1.35;
}

.account-list-value {
  min-width: 90px;
  text-align: right;
}

.account-list-value strong,
.account-list-value small {
  display: block;
}

.account-list-value strong {
  color: #111111;
  font-size: 0.85rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.account-list-value small {
  margin-top: 4px;
  color: var(--success);
  font-size: 0.64rem;
  font-weight: 600;
}

/* =========================================================
   ACTIVITY PAGE
========================================================= */

.activity-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.activity-summary-card {
  min-height: 109px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow-small);
}

.activity-summary-icon {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--blue-soft);
}

.activity-summary-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.activity-summary-card small,
.activity-summary-card strong {
  display: block;
}

.activity-summary-card small {
  color: var(--muted);
  font-size: 0.64rem;
}

.activity-summary-card strong {
  margin-top: 5px;
  color: #111111;
  font-size: 0.9rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.activity-filter-list {
  margin-top: 20px;
  padding: 6px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  border-radius: 17px;
  background: #ffffff;
  box-shadow: var(--shadow-small);
  scrollbar-width: none;
}

.activity-filter-list::-webkit-scrollbar {
  display: none;
}

.activity-filter-button {
  min-height: 42px;
  padding: 9px 16px;
  flex: 0 0 auto;
  border-radius: 13px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.activity-filter-button.active {
  background: var(--blue);
  color: #ffffff;
}

.activity-list {
  overflow: hidden;
  border-radius: 23px;
  background: #ffffff;
  box-shadow: var(--shadow-small);
}

.activity-item {
  min-height: 86px;
  padding: 15px 17px;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  border-top: 1px solid var(--border);
}

.activity-item:first-child {
  border-top: 0;
}

.activity-item-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--blue-soft);
}

.activity-item-icon img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.activity-item-copy {
  min-width: 0;
}

.activity-item-copy strong,
.activity-item-copy small,
.activity-item-copy time {
  display: block;
}

.activity-item-copy strong {
  overflow: hidden;
  color: #151515;
  font-size: 0.82rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.activity-item-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.63rem;
}

.activity-item-copy time {
  margin-top: 3px;
  color: var(--light-text);
  font-size: 0.59rem;
}

.activity-item-amount {
  min-width: 86px;
  text-align: right;
}

.activity-item-amount strong,
.activity-item-amount small {
  display: block;
}

.activity-item-amount strong {
  color: #111111;
  font-size: 0.82rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.activity-item-amount small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.59rem;
}

/* =========================================================
   NOTIFICATIONS PAGE
========================================================= */

.notification-control-card {
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: 21px;
  background: #ffffff;
  box-shadow: var(--shadow-small);
}

.notification-control-copy strong,
.notification-control-copy small {
  display: block;
}

.notification-control-copy strong {
  color: #111111;
  font-size: 0.86rem;
  font-weight: 700;
}

.notification-control-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.65rem;
}

.toggle-switch {
  position: relative;
  width: 51px;
  height: 30px;
  flex: 0 0 51px;
}

.toggle-switch input {
  position: absolute;
  opacity: 0;
}

.toggle-switch-track {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: #c8ccd3;
  transition: background-color var(--fast);
}

.toggle-switch-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.18);
  transition: transform var(--fast);
}

.toggle-switch input:checked + .toggle-switch-track {
  background: var(--blue);
}

.toggle-switch input:checked + .toggle-switch-track::after {
  transform: translateX(21px);
}

.notification-list {
  overflow: hidden;
  border-radius: 23px;
  background: #ffffff;
  box-shadow: var(--shadow-small);
}

.notification-item {
  position: relative;
  min-height: 92px;
  padding: 16px 48px 16px 17px;
  display: grid;
  grid-template-columns: 51px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  border-top: 1px solid var(--border);
}

.notification-item:first-child {
  border-top: 0;
}

.notification-item.unread {
  background: #f1f7ff;
}

.notification-item.unread::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.notification-item-icon {
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--blue-soft);
}

.notification-item-icon img {
  width: 31px;
  height: 31px;
  object-fit: contain;
}

.notification-item-copy {
  min-width: 0;
}

.notification-item-copy strong,
.notification-item-copy p,
.notification-item-copy time {
  display: block;
}

.notification-item-copy strong {
  color: #151515;
  font-size: 0.81rem;
  font-weight: 700;
}

.notification-item-copy p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.64rem;
  line-height: 1.45;
}

.notification-item-copy time {
  margin-top: 5px;
  color: var(--light-text);
  font-size: 0.58rem;
}

.notification-dismiss {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f0f3f8;
  color: var(--muted);
  font-size: 1.35rem;
  transform: translateY(-50%);
}

/* =========================================================
   RESPONSIVE INNER PAGES
========================================================= */

@media (min-width: 700px) {
  .inner-page-main {
    padding-right: 32px;
    padding-left: 32px;
  }

  .account-summary-carousel {
    grid-auto-columns: 470px;
  }

  .activity-summary-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .inner-page-main {
    padding-right: 12px;
    padding-left: 12px;
  }

  .inner-page-heading-row {
    display: block;
  }

  .inner-page-back {
    margin-top: 13px;
  }

  .account-summary-carousel {
    width: calc(100% + 12px);
    padding-right: 12px;
    grid-auto-columns: 94%;
  }

  .activity-item {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .activity-item-amount {
    grid-column: 2;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }
}
/* =========================================================
   GLOBAL TOP SPACING FIX — ALL PAGES
   ========================================================= */

html,
body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
}

body.app-page {
    margin: 0 !important;
    padding: 0 !important;
}

/* Keep the header at the very top */
.mobile-header {
    position: sticky !important;
    top: 0 !important;
    left: 0;
    right: 0;
    z-index: 1000;

    width: 100%;
    margin: 0 !important;
    padding: 16px 20px !important;
    box-sizing: border-box;

    background: #ffffff !important;
}

/* Remove unwanted spacing above page content */
main,
.inner-page-main,
.home-main,
.app-main,
.page-main {
    margin-top: 0 !important;
}

/* Prevent the first section from creating space above itself */
main > :first-child,
.inner-page-main > :first-child,
.home-main > :first-child,
.app-main > :first-child {
    margin-top: 0 !important;
}

/* Remove hidden educational banner completely */
.educational-banner {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

/* Prevent wallet/carousel content from showing above the header */
.wallet-carousel,
.wallet-carousel-track,
.wallet-card,
.balance-card,
.home-wallet-section {
    position: relative;
    z-index: 1;
}

/* Header must remain above all cards */
.mobile-header {
    z-index: 9999 !important;
}

/* Remove accidental transforms that can pull content upward */
.app-page,
.home-page,
.inner-page-main,
.home-main {
    transform: none !important;
}

/* Mobile layout */
@media (max-width: 767px) {
    .mobile-header {
        min-height: 84px;
    }

    .inner-page-main,
    .home-main,
    .app-main,
    main {
        padding-top: 0 !important;
    }
}
/* =========================================================
   PERMANENT FIXED HEADER — ALL PAGES
   ========================================================= */

.educational-banner{
    display: none !important;
}

.mobile-header{
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;

    width: 100%;
    min-height: 84px;

    margin: 0 !important;
    padding: 16px 20px !important;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #ffffff !important;
    z-index: 9999 !important;
}

.home-main,
.inner-page-main,
.app-main,
.page-main,
main{
    padding-top: 84px !important;
}