:root {
  --ev-green: #3a7dff;
  --ev-green-dark: #1f5fe0;
  --ev-green-soft: rgba(58, 125, 255, 0.12);
  --ev-green-line: #649cff;
  --ev-black: #e8f0ff;
  --ev-ink: #bfd0ea;
  --ev-muted: #8da5cc;
  --ev-soft: #0f1c33;
  --ev-white: #111b30;
  --ev-surface: #0c172d;
  --ev-border: rgba(255, 255, 255, 0.08);
  --ev-border-strong: rgba(255, 255, 255, 0.16);
  --ev-danger: #ff4d5b;
  --ev-warning: #ff8994;
  --ev-radius: 8px;
  --ev-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
  --ev-shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.26);
  --ev-shadow-card: 0 10px 24px rgba(0, 0, 0, 0.22);
  --ev-shadow-lift: 0 16px 34px rgba(0, 0, 0, 0.28);
  --ev-focus: 0 0 0 0.2rem rgba(58, 125, 255, 0.20);
  --ev-speed: 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ev-ink);
  background: radial-gradient(circle at top, rgba(58, 125, 255, 0.08), transparent 24%), linear-gradient(180deg, #07101f 0%, #04080f 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  line-height: 1.45;
  overflow-x: hidden;
  scrollbar-width: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

body.modal-open {
  overflow: hidden;
}

body.modal-open .mobile-nav {
  display: none;
}

.landing-page {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  color: var(--ev-black);
  background:
    radial-gradient(circle at 14% 0%, rgba(16, 198, 111, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(238, 250, 244, 0.82), rgba(255, 255, 255, 0) 310px),
    var(--ev-white);
  box-shadow: var(--ev-shadow);
}

.landing-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px 10px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(231, 239, 233, 0.7);
}

.landing-brand,
.landing-nav {
  display: inline-flex;
  align-items: center;
}

.landing-brand {
  gap: 10px;
  min-width: 0;
  color: var(--ev-black);
  font-weight: 900;
  text-decoration: none;
}

.landing-nav {
  gap: 8px;
  flex: 0 0 auto;
}

.landing-nav a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--ev-border);
  border-radius: var(--ev-radius);
  color: var(--ev-black);
  background: var(--ev-white);
  font-size: 0.78rem;
  font-weight: 850;
  text-decoration: none;
}

.landing-nav .landing-nav-cta {
  border-color: var(--ev-green);
  background: var(--ev-green);
}

.landing-hero {
  position: relative;
  min-height: 590px;
  display: flex;
  align-items: end;
  padding: 18px 18px 28px;
  overflow: hidden;
}

.landing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 48%, rgba(255, 255, 255, 0.92) 70%, var(--ev-white) 100%),
    radial-gradient(circle at 50% 22%, rgba(16, 198, 111, 0.14), transparent 38%);
  pointer-events: none;
}

.landing-hero-media {
  position: absolute;
  inset: 12px 0 auto;
  height: 385px;
  display: grid;
  place-items: start center;
  pointer-events: none;
}

.landing-hero-media img {
  width: min(92%, 370px);
  max-height: 382px;
  object-fit: contain;
  filter: drop-shadow(0 22px 22px rgba(4, 8, 6, 0.12));
}

.landing-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 355px;
}

.landing-kicker,
.landing-section-label {
  margin: 0 0 9px;
  color: var(--ev-green-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-hero h1,
.landing-section h2 {
  margin: 0;
  color: var(--ev-black);
  font-weight: 900;
  letter-spacing: 0;
}

.landing-hero h1 {
  font-size: 3rem;
  line-height: 0.96;
}

.landing-hero p:not(.landing-kicker),
.landing-section p {
  margin: 12px 0 0;
  color: var(--ev-muted);
  font-size: 0.95rem;
  line-height: 1.48;
  font-weight: 650;
}

.landing-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.landing-actions .btn-ev {
  min-height: 50px;
  text-decoration: none;
}

.landing-secondary {
  border-color: var(--ev-border);
  background: var(--ev-white);
  box-shadow: 0 8px 18px rgba(4, 8, 6, 0.035);
}

.landing-section {
  padding: 0 18px 28px;
}

.landing-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.landing-highlights article {
  min-width: 0;
  padding: 12px 10px;
  border: 1px solid var(--ev-border);
  border-radius: var(--ev-radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--ev-shadow-card);
}

.landing-highlights svg {
  width: 22px;
  height: 22px;
  color: var(--ev-green-dark);
}

.landing-highlights strong {
  display: block;
  margin-top: 10px;
  color: var(--ev-black);
  font-size: 0.8rem;
  line-height: 1.1;
  font-weight: 900;
}

.landing-highlights span {
  display: block;
  margin-top: 6px;
  color: var(--ev-muted);
  font-size: 0.68rem;
  line-height: 1.28;
  font-weight: 650;
}

.landing-product,
.landing-steps,
.landing-final {
  margin: 0 18px 28px;
  padding: 18px;
  border: 1px solid var(--ev-border);
  border-radius: var(--ev-radius);
  background: linear-gradient(180deg, var(--ev-white), var(--ev-surface));
  box-shadow: var(--ev-shadow-card);
}

.landing-product {
  display: grid;
  gap: 16px;
}

.landing-section h2 {
  font-size: 1.45rem;
  line-height: 1.05;
}

.landing-check-list,
.landing-step-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.landing-check-list li,
.landing-step-list article {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.landing-check-list i {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: var(--ev-radius);
  color: var(--ev-green-dark);
  background: var(--ev-green-soft);
}

.landing-check-list svg {
  width: 14px;
  height: 14px;
}

.landing-check-list span {
  color: var(--ev-black);
  font-size: 0.86rem;
  line-height: 1.32;
  font-weight: 780;
}

.landing-step-list {
  margin-top: 16px;
}

.landing-step-list article {
  padding-top: 12px;
  border-top: 1px solid var(--ev-border);
}

.landing-step-list article:first-child {
  padding-top: 0;
  border-top: 0;
}

.landing-step-list article > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: var(--ev-radius);
  color: var(--ev-green-dark);
  background: var(--ev-green-soft);
  font-size: 0.78rem;
  font-weight: 900;
}

.landing-step-list strong {
  color: var(--ev-black);
  font-size: 0.9rem;
  line-height: 1.2;
  font-weight: 900;
}

.landing-step-list p {
  margin-top: 4px;
  font-size: 0.78rem;
}

.landing-final {
  margin-bottom: 0;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(16, 198, 111, 0.15), transparent 44%),
    linear-gradient(180deg, var(--ev-white), var(--ev-surface));
}

.landing-onboard {
  min-height: auto;
  align-items: center;
  display: flex;
  padding: 54px 18px 34px;
}

.landing-onboard::before {
  background:
    radial-gradient(circle at 50% 0%, rgba(16, 198, 111, 0.18), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), var(--ev-white) 100%);
}

.landing-onboard .landing-hero-copy {
  max-width: none;
  text-align: center;
}

.landing-progress {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 14px;
}

.landing-progress span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--ev-green-line);
}

.landing-progress .active {
  width: 28px;
  background: var(--ev-green);
}

.landing-onboard .landing-kicker {
  margin-bottom: 8px;
}

.landing-onboard h1 {
  max-width: 360px;
  margin: 0 auto;
  font-size: 2.55rem;
  line-height: 0.98;
}

.landing-onboard p:not(.landing-kicker) {
  max-width: 350px;
  margin: 12px auto 0;
  font-size: 0.9rem;
}

.landing-onboard .landing-actions {
  max-width: 360px;
  margin-right: auto;
  margin-left: auto;
}

.landing-onboard-steps {
  margin-top: 0;
}

.landing-onboard-steps .landing-step-list article > span {
  color: var(--ev-green-dark);
  font-size: 0;
}

.landing-onboard-steps .landing-step-list article > span svg {
  width: 16px;
  height: 16px;
}

.landing-onboard-steps + .landing-final {
  margin-top: -8px;
}

.landing-onboarding-page {
  background:
    radial-gradient(circle at 50% -8%, rgba(16, 198, 111, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(238, 250, 244, 0.72), rgba(255, 255, 255, 0) 260px),
    var(--ev-white);
}

.onboard-main {
  display: grid;
  gap: 18px;
  padding: 18px 18px 34px;
}

.onboard-hero-card,
.onboard-path-card {
  border: 1px solid var(--ev-border);
  border-radius: var(--ev-radius);
  background:
    radial-gradient(circle at 50% 0%, rgba(16, 198, 111, 0.11), transparent 42%),
    linear-gradient(180deg, var(--ev-white), var(--ev-surface));
  box-shadow: var(--ev-shadow-card);
}

.onboard-hero-card {
  position: relative;
  display: grid;
  gap: 16px;
  min-height: 440px;
  align-content: center;
  padding: 22px 18px;
  overflow: hidden;
  text-align: center;
}

.onboard-hero-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--ev-green), rgba(16, 198, 111, 0));
}

.onboard-progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.onboard-progress-row .landing-progress {
  margin: 0;
}

.onboard-progress-row > span {
  color: var(--ev-muted);
  font-size: 0.72rem;
  font-weight: 850;
}

.onboard-product-pill {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto;
  padding: 8px 11px;
  border: 1px solid var(--ev-green-line);
  border-radius: var(--ev-radius);
  color: var(--ev-green-dark);
  background: var(--ev-green-soft);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.onboard-product-pill svg {
  width: 15px;
  height: 15px;
}

.onboard-hero-card h1 {
  max-width: 330px;
  margin: 0 auto;
  color: var(--ev-black);
  font-size: 2.75rem;
  line-height: 0.96;
  font-weight: 900;
}

.onboard-hero-card p {
  max-width: 330px;
  margin: 0 auto;
  color: var(--ev-muted);
  font-size: 0.95rem;
  line-height: 1.48;
  font-weight: 680;
}

.onboard-actions {
  width: 100%;
  max-width: 350px;
  margin: 4px auto 0;
}

.onboard-snapshot {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.onboard-snapshot article {
  min-width: 0;
  padding: 12px 8px;
  border: 1px solid var(--ev-border);
  border-radius: var(--ev-radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 18px rgba(4, 8, 6, 0.035);
  text-align: center;
}

.onboard-snapshot svg {
  width: 22px;
  height: 22px;
  margin: 0 auto 9px;
  color: var(--ev-green-dark);
}

.onboard-snapshot strong,
.onboard-snapshot span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.onboard-snapshot strong {
  color: var(--ev-black);
  font-size: 0.8rem;
  font-weight: 900;
}

.onboard-snapshot span {
  margin-top: 4px;
  color: var(--ev-muted);
  font-size: 0.66rem;
  font-weight: 750;
}

.onboard-path-card {
  padding: 18px;
}

.onboard-section-heading h2 {
  margin: 0;
  color: var(--ev-black);
  font-size: 1.45rem;
  line-height: 1.05;
  font-weight: 900;
}

.onboard-step-list article {
  padding-top: 14px;
}

.onboard-step-list article > span {
  width: 34px;
  height: 34px;
  color: var(--ev-green-dark);
  font-size: 0.86rem;
  background: var(--ev-green-soft);
}

.onboard-step-list strong {
  font-size: 0.92rem;
}

.onboard-step-list p {
  font-size: 0.78rem;
}

.onboard-footnote {
  margin: 0;
  color: var(--ev-muted);
  font-size: 0.82rem;
  font-weight: 750;
  text-align: center;
}

.onboard-footnote a {
  color: var(--ev-green-dark);
  font-weight: 900;
}

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

img,
svg {
  display: block;
}

/* Tailwind CDN is the primary utility layer; these mirror only the utilities used by the static template. */
.hidden {
  display: none !important;
}

.fixed {
  position: fixed !important;
}

.top-0 {
  top: 0 !important;
}

.left-1\/2 {
  left: 50% !important;
}

.\-translate-x-1\/2 {
  transform: translateX(-50%) !important;
}

.flex {
  display: flex !important;
}

.inline-flex {
  display: inline-flex !important;
}

.items-center {
  align-items: center !important;
}

.justify-between {
  justify-content: space-between !important;
}

.justify-center {
  justify-content: center !important;
}

.gap-2 {
  gap: 0.5rem !important;
}

.gap-3 {
  gap: 0.75rem !important;
}

.w-full {
  width: 100% !important;
}

.m-0 {
  margin: 0 !important;
}

.m-auto {
  margin: auto !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.mt-3 {
  margin-top: 0.75rem !important;
}

.mt-6 {
  margin-top: 1.5rem !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-4 {
  margin-bottom: 1rem !important;
}

.mr-2 {
  margin-right: 0.5rem !important;
}

.p-3 {
  padding: 0.75rem !important;
}

.px-4 {
  padding-right: 1rem !important;
  padding-left: 1rem !important;
}

.pb-1 {
  padding-bottom: 0.25rem !important;
}

.text-center {
  text-align: center !important;
}

.text-sm {
  font-size: 0.875rem !important;
  line-height: 1.25rem !important;
}

.font-semibold {
  font-weight: 600 !important;
}

.text-slate-950 {
  color: #020617 !important;
}

.bg-white {
  background-color: var(--ev-white) !important;
}

.overflow-x-auto {
  overflow-x: auto !important;
  scrollbar-width: none;
}

.overflow-x-auto::-webkit-scrollbar {
  display: none;
}

.wallet-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wallet-check-input {
  width: 1.05rem;
  height: 1.05rem;
  margin: 0;
  accent-color: var(--ev-green);
}

.wallet-switch .wallet-check-input {
  width: 2.3rem;
  height: 1.25rem;
}

.btn-close {
  width: 0.9rem;
  height: 0.9rem;
  border: 0;
  opacity: 0.7;
  background: transparent;
}

.btn-close::before {
  content: "x";
  color: var(--ev-black);
  font-weight: 800;
}

.mobile-shell {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  background:
    linear-gradient(180deg, rgba(238, 250, 244, 0.72), rgba(255, 255, 255, 0) 210px),
    var(--ev-white);
  box-shadow: var(--ev-shadow);
  position: relative;
  overflow-x: hidden;
}

.app-main {
  padding: 22px 18px 148px;
}

.auth-screen {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(237, 252, 245, 0.95) 0%, rgba(255, 255, 255, 0.98) 42%, rgba(247, 250, 248, 1) 100%),
    var(--ev-white);
}

.auth-screen::before,
.auth-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.auth-screen::before {
  opacity: 0.72;
  background-image:
    url("data:image/svg+xml,%3Csvg width='430' height='780' viewBox='0 0 430 780' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M28 214H118L158 162L218 248L273 188L330 211H402' stroke='%2310c66f' stroke-opacity='.18' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M24 520H92L129 478L176 548L228 498L285 530H402' stroke='%23047340' stroke-opacity='.11' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='158' cy='162' r='4' fill='%2310c66f' fill-opacity='.24'/%3E%3Ccircle cx='218' cy='248' r='4' fill='%2310c66f' fill-opacity='.18'/%3E%3Ccircle cx='273' cy='188' r='4' fill='%2310c66f' fill-opacity='.2'/%3E%3Crect x='42' y='318' width='64' height='7' rx='3.5' fill='%2310c66f' fill-opacity='.08'/%3E%3Crect x='42' y='338' width='108' height='7' rx='3.5' fill='%23047340' fill-opacity='.06'/%3E%3Crect x='278' y='92' width='86' height='7' rx='3.5' fill='%2310c66f' fill-opacity='.07'/%3E%3Crect x='250' y='704' width='118' height='7' rx='3.5' fill='%23047340' fill-opacity='.055'/%3E%3C/svg%3E"),
    linear-gradient(rgba(4, 115, 64, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(4, 115, 64, 0.04) 1px, transparent 1px);
  background-position: center top, center top, center top;
  background-repeat: repeat-y, repeat, repeat;
  background-size: min(100vw, 430px) auto, 32px 32px, 32px 32px;
  animation: authFintechDrift 18s ease-in-out infinite alternate;
}

.auth-screen::after {
  inset: -18% -12%;
  opacity: 0.72;
  background:
    linear-gradient(115deg, transparent 0 20%, rgba(16, 198, 111, 0.12) 34%, rgba(16, 198, 111, 0.03) 46%, transparent 58% 100%),
    linear-gradient(205deg, transparent 0 48%, rgba(4, 115, 64, 0.08) 58%, transparent 70% 100%);
  transform: translateX(-10%);
  animation: authLightSweep 14s ease-in-out infinite alternate;
}

.auth-card {
  position: relative;
  z-index: 1;
  width: min(100%, 410px);
  padding: 28px 22px;
  border: 1px solid var(--ev-border);
  border-radius: var(--ev-radius);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: var(--ev-shadow-lift);
}

@keyframes authFintechDrift {
  from {
    transform: translate3d(0, -10px, 0);
  }
  to {
    transform: translate3d(0, 12px, 0);
  }
}

@keyframes authLightSweep {
  from {
    transform: translate3d(-10%, -2%, 0);
  }
  to {
    transform: translate3d(8%, 3%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-screen::before,
  .auth-screen::after {
    animation: none;
  }
}

.brand-lockup,
.app-header,
.row-center,
.stat-card,
.transaction-row,
.setting-row,
.profile-panel,
.method-row,
.history-row {
  display: flex;
  align-items: center;
}

.brand-lockup {
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: var(--ev-radius);
  color: var(--ev-black);
  background: linear-gradient(180deg, #20dc82, var(--ev-green));
  font-weight: 900;
  font-size: 1.2rem;
  box-shadow: 0 12px 22px rgba(16, 198, 111, 0.22);
}

.brand-mark img,
.logo-icon-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
}

.brand-full-logo {
  display: block;
  width: min(190px, 100%);
  height: auto;
  margin: 0 auto;
}

.auth-brand-center {
  justify-content: center;
  text-align: center;
}

.auth-brand-center > div {
  width: 100%;
}

.brand-title {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.08;
  font-weight: 800;
}

.brand-subtitle,
.header-subtitle,
.muted,
.tiny-label,
.form-hint,
.small-meta {
  color: var(--ev-muted);
}

.brand-subtitle,
.header-subtitle {
  margin: 2px 0 0;
  font-size: 0.84rem;
  line-height: 1.25;
  font-weight: 600;
}

.app-header {
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.app-title {
  margin: 0;
  color: var(--ev-black);
  font-size: 1.42rem;
  line-height: 1.08;
  font-weight: 850;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn,
.nav-icon,
.row-icon,
.action-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--ev-radius);
  color: var(--ev-white);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03), 0 8px 18px rgba(0, 0, 0, 0.18);
  transition:
    transform var(--ev-speed),
    border-color var(--ev-speed),
    background var(--ev-speed),
    color var(--ev-speed),
    box-shadow var(--ev-speed);
}

.icon-btn:hover,
.icon-btn:focus-visible {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 20px rgba(58, 125, 255, 0.12);
  transform: translateY(-1px);
}

.icon-btn.dark {
  color: var(--ev-white);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.icon-btn:hover,
.icon-btn:focus-visible {
  border-color: var(--ev-green-line);
  background: var(--ev-green-soft);
  box-shadow: var(--ev-shadow-soft);
  transform: translateY(-1px);
}

.icon-btn:active {
  transform: translateY(0) scale(0.98);
}

.icon-btn.dark {
  color: var(--ev-white);
  border-color: var(--ev-black);
  background: var(--ev-black);
  box-shadow: 0 14px 28px rgba(4, 8, 6, 0.2);
}

.icon-btn.dark:hover,
.icon-btn.dark:focus-visible {
  color: var(--ev-white);
  border-color: #121a16;
  background: #121a16;
}

.section-stack {
  display: grid;
  gap: 18px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
}

.section-heading h2 {
  margin: 0;
  color: var(--ev-black);
  font-size: 1.04rem;
  line-height: 1.2;
  font-weight: 800;
}

.section-link {
  color: var(--ev-green-dark);
  font-size: 0.84rem;
  font-weight: 800;
  white-space: nowrap;
  transition: color var(--ev-speed), opacity var(--ev-speed);
}

.section-heading .section-link {
  margin-right: 6px;
}

.balance-panel {
  position: relative;
  padding: 24px 20px 20px;
  overflow: hidden;
  color: var(--ev-white);
  border-radius: var(--ev-radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 18% 0%, rgba(16, 198, 111, 0.46), rgba(16, 198, 111, 0) 31%),
    radial-gradient(circle at 94% 12%, rgba(4, 115, 64, 0.32), rgba(4, 115, 64, 0) 31%),
    linear-gradient(145deg, #07130d 0%, #040806 56%, #000000 100%),
    var(--ev-black);
  box-shadow: 0 24px 48px rgba(4, 8, 6, 0.24);
}

.balance-panel > * {
  position: relative;
  z-index: 1;
}

.balance-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 34%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 34px);
  opacity: 0.8;
}

.balance-panel::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ev-green), #65e69f);
}

.balance-label {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.8rem;
  font-weight: 700;
}

.balance-amount {
  margin: 0;
  font-size: clamp(2.05rem, 8.6vw, 2.58rem);
  line-height: 1;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.balance-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.balance-meta span {
  display: block;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.72rem;
  font-weight: 600;
}

.balance-meta strong {
  display: block;
  margin-top: 2px;
  color: var(--ev-white);
  font-size: 0.96rem;
  line-height: 1.2;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.action-tile {
  min-height: 88px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  padding: 12px 6px;
  border: 1px solid var(--ev-border);
  border-radius: var(--ev-radius);
  background: linear-gradient(180deg, var(--ev-white), var(--ev-surface));
  box-shadow: 0 1px 0 rgba(4, 8, 6, 0.025), 0 8px 18px rgba(4, 8, 6, 0.025);
  transition:
    transform var(--ev-speed),
    border-color var(--ev-speed),
    background var(--ev-speed),
    box-shadow var(--ev-speed);
}

.action-tile:hover,
.action-tile:focus-visible {
  border-color: var(--ev-green-line);
  box-shadow: var(--ev-shadow-soft);
  transform: translateY(-2px);
}

.action-tile:active {
  transform: translateY(0) scale(0.99);
}

.action-icon,
.row-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--ev-radius);
  color: var(--ev-green-dark);
  background: linear-gradient(180deg, var(--ev-green-soft), #e4f8ee);
  box-shadow: inset 0 0 0 1px rgba(16, 198, 111, 0.08);
}

.action-tile span {
  font-size: 0.72rem;
  line-height: 1.1;
  font-weight: 800;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.stat-card {
  justify-content: space-between;
  gap: 12px;
  min-height: 94px;
  padding: 15px 14px;
  border: 1px solid var(--ev-border);
  border-radius: var(--ev-radius);
  background: linear-gradient(180deg, var(--ev-white), var(--ev-surface));
  box-shadow: 0 1px 0 rgba(4, 8, 6, 0.025), 0 8px 18px rgba(4, 8, 6, 0.025);
  transition: border-color var(--ev-speed), box-shadow var(--ev-speed), transform var(--ev-speed);
}

.stat-card:hover {
  border-color: var(--ev-border-strong);
  box-shadow: var(--ev-shadow-card);
  transform: translateY(-1px);
}

.stat-card h3,
.compact-card h3 {
  margin: 0;
  color: var(--ev-muted);
  font-size: 0.76rem;
  line-height: 1.15;
  font-weight: 760;
}

.stat-card strong,
.compact-card strong {
  display: block;
  margin-top: 6px;
  color: var(--ev-black);
  font-size: 1.05rem;
  line-height: 1.1;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.trend-up {
  color: var(--ev-green-dark);
}

.trend-down {
  color: var(--ev-danger);
}

.chart-card,
.form-panel,
.list-panel,
.compact-card {
  border: 1px solid var(--ev-border);
  border-radius: var(--ev-radius);
  background: linear-gradient(180deg, var(--ev-white), var(--ev-surface));
  box-shadow: var(--ev-shadow-card);
}

.chart-card,
.form-panel,
.list-panel {
  padding: 17px 16px;
}

.compact-card {
  padding: 14px;
}

.bar-chart {
  height: 138px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: stretch;
  gap: 8px;
  padding-top: 14px;
}

.line-chart {
  height: 150px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: var(--ev-radius);
  background: linear-gradient(180deg, rgba(238, 250, 244, 0.55), rgba(255, 255, 255, 0));
}

.line-chart svg {
  width: 100%;
  height: 100%;
}

.chart-grid line {
  stroke: #e7f1eb;
  stroke-width: 1;
}

.line-area {
  fill: url("#earningsArea");
}

.line-path {
  fill: none;
  stroke: var(--ev-green);
  stroke-width: 4.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 8px 10px rgba(16, 198, 111, 0.18));
}

.line-points circle {
  fill: var(--ev-white);
  stroke: var(--ev-green);
  stroke-width: 3;
  filter: drop-shadow(0 5px 8px rgba(16, 198, 111, 0.22));
}

.bar {
  height: 100%;
  min-height: 0;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, #e8f7ef, #f2fbf6);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(16, 198, 111, 0.05);
}

.bar::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: var(--value);
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, #19ce75, var(--ev-green));
  box-shadow: 0 -6px 12px rgba(16, 198, 111, 0.14);
  transition: height 240ms ease;
}

.chart-axis {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-top: 10px;
  color: var(--ev-muted);
  font-size: 0.68rem;
  font-weight: 650;
  text-align: center;
}

.transaction-list,
.settings-list,
.history-list {
  display: grid;
  gap: 11px;
}

.transaction-row,
.history-row,
.setting-row,
.method-row {
  gap: 12px;
  min-height: 68px;
  padding: 12px;
  border: 1px solid var(--ev-border);
  border-radius: var(--ev-radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(4, 8, 6, 0.02), 0 6px 16px rgba(4, 8, 6, 0.024);
  transition:
    transform var(--ev-speed),
    border-color var(--ev-speed),
    background var(--ev-speed),
    box-shadow var(--ev-speed);
}

.transaction-row:hover,
.history-row:hover,
.setting-row:hover,
.method-row:hover {
  border-color: var(--ev-border-strong);
  background: var(--ev-white);
  box-shadow: var(--ev-shadow-soft);
  transform: translateY(-1px);
}

.transaction-row > div,
.history-row > div,
.setting-row > div,
.method-row > div {
  min-width: 0;
  flex: 1 1 auto;
}

.row-title {
  margin: 0;
  color: var(--ev-black);
  font-size: 0.91rem;
  line-height: 1.18;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.row-subtitle {
  margin: 4px 0 0;
  color: var(--ev-muted);
  font-size: 0.75rem;
  line-height: 1.25;
  font-weight: 550;
}

.row-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.row-meta .row-subtitle {
  margin: 0;
}

.amount-positive,
.status-success {
  color: var(--ev-green-dark);
}

.amount-negative,
.status-danger {
  color: var(--ev-danger);
}

.amount-neutral {
  color: var(--ev-black);
}

.row-amount {
  flex: 0 0 auto;
  margin-left: auto;
  text-align: right;
  font-weight: 850;
  font-size: 0.94rem;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  white-space: nowrap;
}

.amount-status-stack {
  min-width: 76px;
  margin-left: auto;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 7px;
  text-align: right;
}

.amount-status-stack .row-amount {
  margin-left: 0;
}

.amount-status-stack .status-pill {
  min-height: 22px;
  padding: 3px 8px;
  font-size: 0.66rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 780;
  background: var(--ev-green-soft);
  box-shadow: inset 0 0 0 1px rgba(16, 198, 111, 0.08);
}

.status-pill.status-success {
  color: var(--ev-green-dark);
  background: var(--ev-green-soft);
  box-shadow: inset 0 0 0 1px rgba(16, 198, 111, 0.1);
}

.status-pill.status-danger {
  color: var(--ev-danger);
  background: #fff1f2;
  box-shadow: inset 0 0 0 1px rgba(220, 63, 69, 0.12);
}

.status-pending {
  color: var(--ev-warning);
  background: #fff7df;
}

.wallet-label {
  color: var(--ev-black);
  font-size: 0.78rem;
  font-weight: 750;
}

.wallet-input,
.wallet-select {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--ev-border);
  border-radius: var(--ev-radius);
  color: var(--ev-black);
  background: var(--ev-white);
  font-size: 0.94rem;
  font-weight: 600;
  transition: border-color var(--ev-speed), box-shadow var(--ev-speed), background var(--ev-speed);
}

.wallet-input:focus,
.wallet-select:focus {
  border-color: var(--ev-green);
  box-shadow: var(--ev-focus);
  outline: 0;
}

.wallet-input.wallet-input-error {
  border-color: #f4c9cc !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 63, 69, 0.12) !important;
}

.wallet-input[type="number"] {
  -moz-appearance: textfield;
}

.wallet-input[type="number"]::-webkit-outer-spin-button,
.wallet-input[type="number"]::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.choice-card {
  position: relative;
}

.choice-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transition: opacity var(--ev-speed);
}

.choice-input:checked + .choice-card::after {
  opacity: 1;
}

.choice-check svg {
  opacity: 0;
  transform: scale(0.7);
  transition: opacity var(--ev-speed), transform var(--ev-speed);
}

.choice-input:checked + .choice-card-green .choice-icon,
.choice-input:checked + .choice-card-green .choice-check {
  border-color: var(--ev-green) !important;
  background: var(--ev-green) !important;
  color: var(--ev-white) !important;
}

.choice-input:checked + .choice-card-dark .choice-icon,
.choice-input:checked + .choice-card-dark .choice-check {
  border-color: var(--ev-black) !important;
  background: var(--ev-black) !important;
  color: var(--ev-white) !important;
}

.choice-input:checked + .choice-card .choice-check svg {
  opacity: 1;
  transform: scale(1);
}

.choice-input:focus-visible + .choice-card {
  border-color: var(--ev-green);
  box-shadow: var(--ev-shadow-card), var(--ev-focus);
}

.input-icon-wrap {
  position: relative;
}

.input-icon-wrap .wallet-input {
  padding-right: 48px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 6px;
  width: 38px;
  height: 38px;
  transform: translateY(-50%);
  border: 0;
  border-radius: var(--ev-radius);
  color: var(--ev-muted);
  background: transparent;
  transition: color var(--ev-speed), background var(--ev-speed);
}

.password-toggle:hover,
.password-toggle:focus-visible {
  color: var(--ev-green-dark);
  background: var(--ev-green-soft);
}

.amount-picker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.amount-chip,
.filter-chip {
  min-height: 40px;
  border: 1px solid var(--ev-border);
  border-radius: var(--ev-radius);
  color: var(--ev-black);
  background: var(--ev-white);
  font-size: 0.82rem;
  font-weight: 800;
  transition:
    transform var(--ev-speed),
    border-color var(--ev-speed),
    background var(--ev-speed),
    color var(--ev-speed),
    box-shadow var(--ev-speed);
}

.amount-chip.active,
.amount-chip:hover,
.filter-chip.active,
.filter-chip:hover {
  border-color: var(--ev-green);
  color: var(--ev-green-dark);
  background: var(--ev-green-soft);
  box-shadow: inset 0 0 0 1px rgba(16, 198, 111, 0.08);
}

.amount-chip:active,
.filter-chip:active {
  transform: scale(0.98);
}

.history-filter-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  width: 100%;
}

.history-filter-row .filter-chip {
  flex: 1 1 0;
  min-width: 0;
  padding: 0 6px;
  white-space: nowrap;
  font-size: 0.72rem;
}

.icon-btn.dark.active {
  color: var(--ev-green-dark);
  background: var(--ev-green-soft);
  box-shadow: inset 0 0 0 1px rgba(16, 198, 111, 0.16), 0 12px 24px rgba(16, 198, 111, 0.12);
}

.history-date-panel {
  margin-top: -4px;
}

.history-date-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--ev-border);
  border-radius: var(--ev-radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(251, 253, 252, 0.98));
  box-shadow: var(--ev-shadow-card);
}

.history-date-card .row-icon {
  flex: 0 0 auto;
}

.history-date-field {
  min-width: 0;
  flex: 1 1 auto;
}

.history-date-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  margin-top: 6px;
  padding: 0 12px;
  border: 1px solid var(--ev-border);
  border-radius: var(--ev-radius);
  color: var(--ev-black);
  background: var(--ev-white);
  font-size: 0.86rem;
  font-weight: 850;
  text-align: left;
  box-shadow: inset 0 0 0 1px rgba(16, 198, 111, 0.03);
}

.history-date-value svg {
  width: 16px;
  height: 16px;
  color: var(--ev-green-dark);
}

.history-calendar {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--ev-border);
  border-radius: var(--ev-radius);
  background:
    radial-gradient(circle at 18% 0%, rgba(16, 198, 111, 0.08), transparent 34%),
    linear-gradient(180deg, var(--ev-white), var(--ev-surface));
  box-shadow: var(--ev-shadow-card);
}

.history-calendar-head {
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  align-items: center;
  gap: 8px;
}

.history-calendar-head strong {
  color: var(--ev-black);
  font-size: 0.92rem;
  font-weight: 900;
  text-align: center;
}

.calendar-nav {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--ev-border);
  border-radius: var(--ev-radius);
  color: var(--ev-green-dark);
  background: var(--ev-white);
  box-shadow: 0 8px 16px rgba(4, 8, 6, 0.04);
}

.calendar-nav svg {
  width: 17px;
  height: 17px;
}

.calendar-nav:disabled {
  cursor: not-allowed;
  color: #aeb9b2;
  background: #f6faf8;
  box-shadow: none;
}

.history-calendar-weekdays,
.history-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}

.history-calendar-weekdays {
  margin-top: 12px;
  color: var(--ev-muted);
  font-size: 0.66rem;
  font-weight: 850;
  text-align: center;
}

.history-calendar-grid {
  margin-top: 7px;
}

.history-calendar-grid button {
  display: grid;
  min-width: 0;
  height: 34px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: var(--ev-radius);
  color: var(--ev-black);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 850;
  transition: color var(--ev-speed), background var(--ev-speed), border-color var(--ev-speed), transform var(--ev-speed);
}

.history-calendar-grid button:hover,
.history-calendar-grid button:focus-visible {
  border-color: var(--ev-green-line);
  color: var(--ev-green-dark);
  background: var(--ev-green-soft);
}

.history-calendar-grid button.selected {
  border-color: var(--ev-green);
  color: var(--ev-white);
  background: var(--ev-green);
  box-shadow: 0 10px 20px rgba(16, 198, 111, 0.22);
}

.history-calendar-grid button.today:not(.selected) {
  border-color: var(--ev-green-line);
  color: var(--ev-green-dark);
}

.history-calendar-grid button.outside {
  color: #aeb9b2;
}

.history-calendar-grid button:disabled {
  cursor: not-allowed;
  color: #c8d1cb;
  background: transparent;
}

.history-calendar-actions {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
}

.calendar-action {
  min-height: 36px;
  flex: 1 1 0;
  border: 1px solid var(--ev-green);
  border-radius: var(--ev-radius);
  color: var(--ev-green-dark);
  background: var(--ev-green-soft);
  font-size: 0.78rem;
  font-weight: 900;
}

.calendar-action.muted {
  border-color: var(--ev-border);
  color: var(--ev-muted);
  background: var(--ev-white);
}

.btn-ev {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--ev-green);
  border-radius: var(--ev-radius);
  color: var(--ev-black);
  background: var(--ev-green);
  font-weight: 850;
  box-shadow: 0 12px 24px rgba(16, 198, 111, 0.18);
  transition:
    transform var(--ev-speed),
    filter var(--ev-speed),
    background var(--ev-speed),
    box-shadow var(--ev-speed);
}

.btn-ev:hover,
.btn-ev:focus-visible {
  color: var(--ev-black);
  background: #20d774;
  border-color: #20d774;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(16, 198, 111, 0.22);
}

.btn-ev:active,
.btn-ev-dark:active,
.btn-ghost:active {
  transform: translateY(0) scale(0.99);
}

.btn-ev-dark {
  color: var(--ev-white);
  background: var(--ev-black);
  border-color: var(--ev-black);
  box-shadow: 0 12px 24px rgba(4, 8, 6, 0.16);
}

.btn-ev-dark:hover,
.btn-ev-dark:focus-visible {
  color: var(--ev-white);
  background: #141817;
  border-color: #141817;
}

.btn-ghost {
  min-height: 44px;
  border: 1px solid var(--ev-border);
  border-radius: var(--ev-radius);
  color: var(--ev-black);
  background: var(--ev-white);
  font-weight: 760;
  transition: transform var(--ev-speed), border-color var(--ev-speed), background var(--ev-speed), box-shadow var(--ev-speed);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--ev-border-strong);
  background: #fbfdfc;
  box-shadow: var(--ev-shadow-card);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.divider-text {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  color: var(--ev-muted);
  font-size: 0.78rem;
}

.divider-text::before,
.divider-text::after {
  content: "";
  height: 1px;
  background: var(--ev-border);
}

.profile-panel {
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--ev-border);
  border-radius: var(--ev-radius);
  background: linear-gradient(180deg, var(--ev-white), var(--ev-surface));
  box-shadow: var(--ev-shadow-card);
}

.avatar {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: var(--ev-radius);
  color: var(--ev-white);
  background:
    radial-gradient(circle at 28% 18%, rgba(16, 198, 111, 0.42), rgba(16, 198, 111, 0) 42%),
    var(--ev-black);
  font-weight: 850;
}

.settings-group-title {
  margin: 8px 0 10px;
  color: var(--ev-muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.settings-profile-panel {
  position: relative;
  align-items: flex-start;
  overflow: hidden;
  padding: 16px;
  background:
    radial-gradient(circle at 10% 0%, rgba(16, 198, 111, 0.15), transparent 34%),
    linear-gradient(180deg, var(--ev-white), var(--ev-surface));
}

.settings-profile-panel::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--ev-green), rgba(16, 198, 111, 0));
}

.settings-avatar {
  width: 58px;
  height: 58px;
  font-size: 1rem;
  box-shadow: 0 14px 28px rgba(4, 8, 6, 0.16);
}

.settings-profile-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.settings-profile-label {
  margin: 0 0 5px;
  color: var(--ev-green-dark);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.settings-profile-panel .status-pill {
  position: relative;
  z-index: 1;
  margin-top: 2px;
  flex: 0 0 auto;
}

.settings-link-row {
  position: relative;
}

.settings-chevron {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  flex: 0 0 auto;
  margin-left: auto;
  border-radius: var(--ev-radius);
  color: var(--ev-muted);
  background: rgba(238, 250, 244, 0.68);
}

.settings-chevron svg {
  width: 17px;
  height: 17px;
}

.settings-link-row:hover .settings-chevron,
.settings-link-row:focus-visible .settings-chevron {
  color: var(--ev-green-dark);
  background: var(--ev-green-soft);
}

.settings-security-card {
  border: 1px solid var(--ev-border);
  border-radius: var(--ev-radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--ev-shadow-card);
  overflow: hidden;
}

.settings-security-card[open] {
  border-color: var(--ev-green-line);
  box-shadow: var(--ev-shadow-soft);
}

.settings-security-card summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 80px;
  padding: 14px;
  cursor: pointer;
  list-style: none;
}

.settings-security-card summary::-webkit-details-marker {
  display: none;
}

.settings-summary-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.settings-summary-copy .row-title,
.settings-summary-copy .row-subtitle {
  display: block;
}

.settings-security-card[open] .settings-chevron {
  color: var(--ev-green-dark);
  background: var(--ev-green-soft);
}

.settings-security-card[open] .settings-chevron svg {
  transform: rotate(180deg);
}

.settings-security-form {
  display: grid;
  gap: 12px;
  padding: 0 14px 14px 70px;
}

.settings-security-form label {
  display: grid;
  gap: 7px;
}

.settings-security-form .wallet-input {
  min-height: 46px;
}

.password-match-error {
  margin: -4px 0 0;
  color: var(--ev-danger);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.25;
}

.profile-hero-panel {
  position: relative;
  align-items: flex-start;
  overflow: hidden;
  padding: 16px;
  background:
    radial-gradient(circle at 12% 0%, rgba(16, 198, 111, 0.16), transparent 36%),
    linear-gradient(180deg, var(--ev-white), var(--ev-surface));
}

.profile-hero-panel::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--ev-green), rgba(16, 198, 111, 0));
}

.profile-hero-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.profile-hero-panel .status-pill {
  position: relative;
  z-index: 1;
  margin-top: 2px;
  flex: 0 0 auto;
}

.profile-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.profile-meta-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 12px;
}

.profile-meta-card .row-icon {
  width: 40px;
  height: 40px;
}

.profile-meta-card h3 {
  margin: 0;
  color: var(--ev-muted);
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.profile-meta-card strong {
  display: block;
  min-width: 0;
  margin-top: 3px;
  color: var(--ev-black);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-form {
  display: grid;
  gap: 14px;
}

.profile-form label,
.profile-form-grid {
  display: grid;
  gap: 7px;
}

.profile-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.profile-textarea {
  min-height: 96px;
  padding-top: 13px;
  resize: vertical;
}

.profile-readonly-form .wallet-input[readonly] {
  color: var(--ev-black);
  background:
    linear-gradient(180deg, var(--ev-white), #fbfdfc);
  cursor: default;
}

.profile-readonly-form .wallet-input[readonly]:focus {
  border-color: var(--ev-border);
  box-shadow: none;
}

.profile-readonly-form .profile-textarea[readonly] {
  resize: none;
}

.wallet-check-input:checked {
  background-color: var(--ev-green);
  border-color: var(--ev-green);
}

.mobile-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(217, 229, 222, 0.95);
  background: var(--ev-white);
  box-shadow: 0 -14px 34px rgba(4, 8, 6, 0.09);
  backdrop-filter: blur(18px);
}

.nav-item {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 6px;
  color: var(--ev-muted);
  font-size: 0.67rem;
  line-height: 1;
  font-weight: 780;
  transition: color var(--ev-speed), transform var(--ev-speed);
}

.nav-icon {
  width: 38px;
  height: 34px;
  border-radius: var(--ev-radius);
  transition: background var(--ev-speed), color var(--ev-speed), box-shadow var(--ev-speed), transform var(--ev-speed);
}

.nav-item.active {
  color: var(--ev-black);
}

.nav-item.active .nav-icon {
  color: var(--ev-green-dark);
  background: linear-gradient(180deg, var(--ev-green-soft), #e4f8ee);
  box-shadow: inset 0 0 0 1px rgba(16, 198, 111, 0.1), 0 8px 18px rgba(16, 198, 111, 0.14);
}

.nav-item:hover,
.nav-item:focus-visible {
  color: var(--ev-black);
}

.nav-item:active .nav-icon {
  transform: scale(0.96);
}

.empty-state {
  display: none;
  padding: 18px;
  text-align: center;
  color: var(--ev-muted);
  border: 1px dashed var(--ev-border);
  border-radius: var(--ev-radius);
  background: var(--ev-white);
}

.form-message {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 12px 13px;
  border-radius: var(--ev-radius);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.35;
}

.form-message-icon {
  display: grid;
  width: 22px;
  min-width: 22px;
  height: 22px;
  place-items: center;
}

.form-message-text {
  min-width: 0;
}

.form-message-error {
  color: #b4232a;
  border: 1px solid #f4c9cc;
  background: #fff1f2;
  box-shadow: 0 10px 24px rgba(220, 63, 69, 0.08);
}

.form-message.form-message-error,
.form-message.form-message-error .form-message-icon,
.form-message.form-message-error .form-message-text,
.form-message.form-message-error svg {
  color: #b4232a;
  stroke: currentColor;
}

.form-message-success {
  color: var(--ev-green-dark);
  border: 1px solid var(--ev-green-line);
  background: var(--ev-green-soft);
  box-shadow: 0 10px 24px rgba(16, 198, 111, 0.08);
}

.form-message.form-message-success,
.form-message.form-message-success .form-message-icon,
.form-message.form-message-success .form-message-text,
.form-message.form-message-success svg {
  color: var(--ev-green-dark);
  stroke: currentColor;
}

.toast-container {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 1080;
  display: grid;
  width: min(calc(100% - 28px), 396px);
  gap: 8px;
  transform: translateX(-50%);
  pointer-events: none;
}

.toast {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  padding: 12px 11px 12px 14px;
  border-radius: var(--ev-radius);
  background: var(--ev-white);
  box-shadow: 0 18px 44px rgba(4, 8, 6, 0.14);
  pointer-events: auto;
}

.toast-error {
  color: #8f1f25;
  border: 1px solid #f4c9cc;
  background: linear-gradient(180deg, #fff8f8, #fff1f2);
}

.toast-success {
  color: var(--ev-green-dark);
  border: 1px solid var(--ev-green-line);
  background: linear-gradient(180deg, #fbfffd, var(--ev-green-soft));
}

.toast-icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
}

.toast-body {
  min-width: 0;
  color: inherit;
  font-size: 0.88rem;
  font-weight: 850;
  line-height: 1.35;
}

.toast-close {
  display: grid;
  width: 30px;
  height: 30px;
  padding: 0;
  place-items: center;
  color: inherit;
  border: 0;
  border-radius: var(--ev-radius);
  background: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  transition: background var(--ev-speed), transform var(--ev-speed);
}

.toast-close:hover,
.toast-close:focus-visible {
  background: rgba(255, 255, 255, 0.95);
}

.toast-close:active {
  transform: scale(0.96);
}

@media (max-width: 576px) {
  body {
    background: var(--ev-white);
  }

  .mobile-shell {
    max-width: 430px;
    margin-left: 0;
    margin-right: auto;
    box-shadow: none;
  }

  .app-main {
    padding-inline: 16px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .app-title {
    font-size: 1.36rem;
  }

  .icon-btn {
    width: 40px;
    height: 40px;
  }

  .quick-grid {
    gap: 8px;
  }

  .action-tile {
    min-height: 82px;
  }

  .action-tile span {
    font-size: 0.68rem;
  }
}

/* Global Elevera Tailwind theme layer */
:root {
  --ev-green: #3a7dff;
  --ev-green-dark: #1f5fe0;
  --ev-green-soft: rgba(58, 125, 255, 0.12);
  --ev-green-line: #649cff;
  --ev-black: #e8f0ff;
  --ev-ink: #bfd0ea;
  --ev-muted: #8da5cc;
  --ev-white: #111b30;
  --ev-surface: #0c172d;
  --ev-border: rgba(255, 255, 255, 0.08);
  --ev-border-strong: rgba(255, 255, 255, 0.16);
  --ev-danger: #ff4d5b;
  --ev-warning: #ff8994;
  --ev-radius: 1rem;
  --ev-shadow: 0 18px 46px rgba(0, 0, 0, 0.30);
  --ev-shadow-soft: 0 10px 26px rgba(0, 0, 0, 0.24);
  --ev-shadow-card: 0 6px 16px rgba(0, 0, 0, 0.2);
  --ev-shadow-lift: 0 18px 36px rgba(0, 0, 0, 0.28);
  --ev-focus: 0 0 0 0.2rem rgba(58, 125, 255, 0.20);
}

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  background: radial-gradient(circle at top, rgba(58, 125, 255, 0.08), transparent 22%), linear-gradient(180deg, #07101f 0%, #04080f 100%);
  color: var(--ev-ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.mobile-shell {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--ev-white);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.36);
  position: relative;
  overflow: hidden;
}

.app-main {
  width: 100%;
  padding: 20px 20px 96px;
}

.auth-screen {
  position: relative;
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px 20px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(42, 65, 97, 0.95) 0%, rgba(11, 20, 39, 0.98) 42%, rgba(5, 8, 15, 1) 100%),
    var(--ev-white);
}

.auth-card,
.chart-card,
.form-panel,
.list-panel,
.compact-card,
.profile-panel,
.transaction-row,
.history-row,
.setting-row,
.method-row {
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: var(--ev-radius);
  box-shadow: var(--ev-shadow-card);
}

.auth-card,
.chart-card,
.form-panel,
.list-panel,
.compact-card,
.profile-panel {
  background: linear-gradient(180deg, var(--ev-white), var(--ev-surface));
}

.auth-card {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 28px 22px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: var(--ev-shadow-lift);
}

.brand-mark,
.icon-btn,
.action-icon,
.row-icon,
.nav-icon,
.avatar {
  border-radius: var(--ev-radius);
}

.brand-mark {
  background: linear-gradient(180deg, #20dc82, var(--ev-green));
  box-shadow: 0 12px 24px rgba(16, 198, 111, 0.20);
}

.app-header {
  margin-bottom: 20px;
}

.section-stack {
  gap: 16px;
}

.balance-panel {
  border-radius: var(--ev-radius);
  box-shadow: 0 18px 36px rgba(4, 8, 6, 0.20);
  background:
    radial-gradient(circle at 16% 0%, rgba(28, 224, 129, 0.32), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(4, 115, 64, 0.28), transparent 32%),
    linear-gradient(145deg, #07140e 0%, #040806 56%, #000000 100%);
}

.balance-panel::before {
  opacity: 0.45;
}

.wallet-input,
.wallet-select {
  min-height: 50px;
  padding: 0 14px;
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: var(--ev-radius);
  color: var(--ev-ink);
  background: var(--ev-surface);
}

.wallet-input:focus,
.wallet-select:focus {
  border-color: var(--ev-green);
  box-shadow: 0 0 0 0.2rem rgba(58, 125, 255, 0.16);
  outline: 0;
}

.icon-btn,
.action-tile,
.stat-card,
.transaction-row,
.history-row,
.setting-row,
.method-row,
.compact-card,
.btn-ev,
.btn-ev-dark,
.btn-ghost,
.amount-chip,
.filter-chip {
  transition: transform var(--ev-speed), border-color var(--ev-speed), background var(--ev-speed), box-shadow var(--ev-speed), color var(--ev-speed);
}

.icon-btn:active,
.action-tile:active,
.stat-card:active,
.transaction-row:active,
.history-row:active,
.setting-row:active,
.method-row:active,
.compact-card:active,
.btn-ev:active,
.btn-ev-dark:active,
.btn-ghost:active,
.amount-chip:active,
.filter-chip:active {
  transform: scale(0.98);
}

.action-icon,
.row-icon {
  width: 44px;
  height: 44px;
  color: var(--ev-green-dark);
  background: linear-gradient(180deg, var(--ev-green-soft), #e4f8ee);
  box-shadow: inset 0 0 0 1px rgba(16, 198, 111, 0.08);
}

.summary-grid,
.stats-grid {
  gap: 12px;
}

.transaction-list,
.settings-list,
.history-list {
  gap: 12px;
}

.transaction-row,
.history-row,
.setting-row,
.method-row {
  min-height: 80px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.98);
}

.row-title {
  color: var(--ev-black);
  font-size: 0.9rem;
  font-weight: 850;
}

.row-subtitle {
  margin-top: 5px;
  color: var(--ev-muted);
  font-size: 0.76rem;
  font-weight: 600;
}

.row-amount {
  min-width: 76px;
  color: var(--ev-black);
  font-size: 0.94rem;
  font-weight: 900;
}

.amount-positive {
  color: var(--ev-green-dark);
}

.amount-negative {
  color: var(--ev-danger);
}

.status-pill {
  min-height: 24px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 850;
}

.btn-ev {
  color: var(--ev-white);
  background: var(--ev-green);
  border-color: var(--ev-green);
  box-shadow: 0 10px 22px rgba(58, 125, 255, 0.24);
}

.btn-ev-dark {
  color: var(--ev-white);
  background: var(--ev-black);
  border-color: var(--ev-black);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

.btn-ghost {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--ev-radius);
  color: var(--ev-white);
  background: rgba(255, 255, 255, 0.06);
}

.mobile-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  right: auto;
  z-index: 999;
  width: 100%;
  max-width: 430px;
  height: 76px;
  margin: 0;
  padding: 8px 12px 16px;
  transform: translateX(-50%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 15, 29, 0.96);
  box-shadow: 0 -12px 28px rgba(0, 0, 0, 0.35);
}

.nav-item {
  height: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 0.85rem;
  font-size: 0.66rem;
  transition: transform var(--ev-speed), color var(--ev-speed), background var(--ev-speed), box-shadow var(--ev-speed);
}

.nav-icon {
  width: 40px;
  height: 36px;
  border-radius: var(--ev-radius);
}

.nav-item.active {
  color: var(--ev-white);
  background: rgba(58, 125, 255, 0.18);
  box-shadow: 0 10px 22px rgba(58, 125, 255, 0.18);
}

.nav-item.active .nav-icon {
  color: var(--ev-white);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

@media (max-width: 576px) {
  body {
    background: #f1f5f9;
  }

  .mobile-shell {
    max-width: 430px;
    margin: 0 auto;
    box-shadow: 0 18px 46px rgba(4, 8, 6, 0.08);
  }

  .app-main {
    padding: 20px 20px 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Dark fintech theme override */
:root {
  --bg-main: #050505;
  --bg-card: #101010;
  --bg-card-soft: #151515;
  --primary-blue: #0B5CFF;
  --primary-red: #EF1023;
  --text-main: #FFFFFF;
  --text-muted: #8A8F98;
  --border-soft: rgba(255,255,255,0.10);

  --ev-green: var(--primary-blue);
  --ev-green-dark: var(--primary-blue);
  --ev-green-soft: rgba(11, 92, 255, 0.16);
  --ev-green-line: rgba(11, 92, 255, 0.48);
  --ev-black: var(--text-main);
  --ev-ink: var(--text-main);
  --ev-muted: var(--text-muted);
  --ev-soft: var(--bg-card-soft);
  --ev-white: var(--bg-card);
  --ev-surface: var(--bg-card-soft);
  --ev-border: var(--border-soft);
  --ev-border-strong: rgba(255, 255, 255, 0.18);
  --ev-danger: var(--primary-red);
  --ev-warning: var(--primary-red);
  --ev-radius: 1rem;
  --ev-shadow: 0 28px 70px rgba(0, 0, 0, 0.72);
  --ev-shadow-soft: 0 18px 42px rgba(0, 0, 0, 0.44);
  --ev-shadow-card: 0 14px 34px rgba(0, 0, 0, 0.32);
  --ev-shadow-lift: 0 24px 58px rgba(0, 0, 0, 0.52);
  --ev-focus: 0 0 0 0.2rem rgba(11, 92, 255, 0.28);
}

html,
body {
  min-height: 100%;
  background:
    radial-gradient(circle at 18% -10%, rgba(11, 92, 255, 0.18), transparent 28rem),
    radial-gradient(circle at 94% 8%, rgba(239, 16, 35, 0.14), transparent 24rem),
    linear-gradient(180deg, #080808 0%, #050505 100%) !important;
  color: var(--text-main) !important;
}

body {
  color-scheme: dark;
}

.landing-page,
.landing-onboarding-page,
.mobile-shell,
[class*="bg-[#0c1832]"] {
  background:
    radial-gradient(circle at 14% -10%, rgba(11, 92, 255, 0.16), transparent 16rem),
    radial-gradient(circle at 100% 7%, rgba(239, 16, 35, 0.12), transparent 18rem),
    var(--bg-main) !important;
  color: var(--text-main) !important;
  box-shadow: var(--ev-shadow) !important;
}

.app-main {
  background: transparent !important;
}

.app-header,
.landing-header {
  color: var(--text-main) !important;
  background: transparent !important;
  border-color: transparent !important;
}

.app-title,
.brand-title,
.section-heading h2,
.landing-hero h1,
.landing-section h2,
.row-title,
.compact-card strong,
.stat-card strong,
.profile-meta-card strong,
.receipt-page-title,
.text-wallet-black {
  color: var(--text-main) !important;
}

.header-subtitle,
.brand-subtitle,
.row-subtitle,
.muted,
.tiny-label,
.form-hint,
.small-meta,
.settings-group-title,
.balance-label,
.text-wallet-muted {
  color: var(--text-muted) !important;
}

.section-link,
.text-wallet-deep,
.amount-positive,
.profile-meta-card strong.text-wallet-deep {
  color: var(--primary-blue) !important;
}

.amount-negative,
.text-\[\#dc3f45\],
.text-\[\#b4232a\],
.text-\[\#8f1f25\] {
  color: var(--primary-red) !important;
}

.bg-white,
[class~="bg-white"],
[class~="bg-white/90"],
[class~="bg-slate-50"],
[class~="bg-[#fbfdfc]"],
[class*="#fbfdfc"],
[class*="#f5fff9"],
[class*="#f7fcfa"],
[class*="#f7fffb"],
[class*="#ecfbf4"],
[class*="#ffffff"] {
  background: linear-gradient(180deg, var(--bg-card), var(--bg-card-soft)) !important;
}

[class~="bg-white/10"],
[class~="bg-[rgba(255,255,255,0.08)]"],
[class~="bg-[rgba(255,255,255,0.06)]"],
[class~="bg-[rgba(255,255,255,0.05)]"],
[class~="bg-[rgba(255,255,255,0.04)]"] {
  background: rgba(255, 255, 255, 0.06) !important;
}

[class*="#d9f2e4"],
[class*="border-emerald"],
.border-wallet-border {
  border-color: var(--border-soft) !important;
}

[class*="#07140e"],
[class*="#0b1e14"],
[class*="#04110b"],
.balance-panel {
  border-color: rgba(11, 92, 255, 0.36) !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(11, 92, 255, 0.42), transparent 36%),
    radial-gradient(circle at 94% 8%, rgba(239, 16, 35, 0.30), transparent 34%),
    linear-gradient(145deg, #071126 0%, #050505 54%, #0a0507 100%) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 22px 46px rgba(0, 0, 0, 0.46),
    0 0 34px rgba(11, 92, 255, 0.12) !important;
}

.auth-screen {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background:
    linear-gradient(115deg, transparent 0 18%, rgba(11, 92, 255, 0.15) 28%, transparent 38%),
    linear-gradient(245deg, transparent 0 54%, rgba(239, 16, 35, 0.16) 66%, transparent 76%),
    linear-gradient(180deg, #050505 0%, #080808 100%) !important;
}

.auth-screen::before {
  opacity: 0.42 !important;
  background-image:
    linear-gradient(rgba(11, 92, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239, 16, 35, 0.10) 1px, transparent 1px) !important;
}

.auth-screen::after {
  background:
    radial-gradient(circle at 28% 8%, rgba(11, 92, 255, 0.22), transparent 18rem),
    radial-gradient(circle at 82% 88%, rgba(239, 16, 35, 0.18), transparent 18rem) !important;
}

.auth-card,
.form-panel,
.list-panel,
.compact-card,
.profile-panel,
.transaction-row,
.history-row,
.setting-row,
.method-row,
.stat-card,
.action-tile,
.empty-state,
.settings-security-card,
.history-date-card,
.history-calendar,
.landing-product,
.landing-steps,
.landing-final,
.landing-highlights article,
.onboard-hero-card,
.onboard-path-card,
.onboard-snapshot article {
  border: 1px solid var(--border-soft) !important;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.96), rgba(16, 16, 16, 0.96)) !important;
  color: var(--text-main) !important;
  box-shadow: var(--ev-shadow-card) !important;
}

.auth-card {
  backdrop-filter: blur(18px);
}

.auth-screen .auth-card {
  background: #000 !important;
}

.settings-profile-panel,
.profile-hero-panel,
.method-row,
.profile-panel {
  background:
    radial-gradient(circle at 10% 0%, rgba(11, 92, 255, 0.16), transparent 34%),
    radial-gradient(circle at 98% 16%, rgba(239, 16, 35, 0.12), transparent 30%),
    linear-gradient(180deg, var(--bg-card), var(--bg-card-soft)) !important;
}

.settings-profile-panel::after,
.profile-hero-panel::after,
.onboard-hero-card::before {
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-red)) !important;
}

.dashboard-invite-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
  padding: 1rem;
  background:
    linear-gradient(135deg, rgba(11, 92, 255, 0.22), rgba(239, 16, 35, 0.10) 48%, rgba(18, 18, 18, 0.98)),
    linear-gradient(180deg, rgba(21, 21, 21, 0.96), rgba(10, 10, 10, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 42px rgba(0, 0, 0, 0.38),
    0 0 30px rgba(11, 92, 255, 0.08);
  isolation: isolate;
}

.dashboard-invite-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.10), transparent 24%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 12px);
  opacity: 0.42;
}

.dashboard-invite-glow {
  position: absolute;
  z-index: -1;
  width: 8rem;
  height: 8rem;
  border-radius: 999px;
  filter: blur(28px);
  opacity: 0.52;
}

.dashboard-invite-glow.blue {
  left: -3rem;
  top: -3.5rem;
  background: rgba(11, 92, 255, 0.52);
}

.dashboard-invite-glow.red {
  right: -3.25rem;
  bottom: -4rem;
  background: rgba(239, 16, 35, 0.44);
}

.dashboard-invite-icon {
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1rem;
  color: #fff;
  background:
    radial-gradient(circle at 28% 16%, rgba(255, 255, 255, 0.26), transparent 36%),
    linear-gradient(135deg, var(--primary-blue), var(--primary-red));
  box-shadow:
    0 14px 26px rgba(11, 92, 255, 0.28),
    0 12px 26px rgba(239, 16, 35, 0.18);
}

.dashboard-invite-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.dashboard-invite-copy {
  min-width: 0;
  padding-right: 0.1rem;
}

.dashboard-invite-copy span {
  display: block;
  margin-bottom: 0.25rem;
  color: rgba(255, 255, 255, 0.60);
  font-size: 0.65rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-invite-copy h2 {
  margin: 0;
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 950;
  line-height: 1.05;
}

.dashboard-invite-copy p {
  margin: 0.45rem 0 0;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1.35;
}

.dashboard-invite-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
}

.dashboard-invite-actions button,
.dashboard-invite-actions a {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.95rem;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.dashboard-invite-actions button {
  background: linear-gradient(135deg, var(--primary-blue), #0744c7);
  box-shadow: 0 12px 24px rgba(11, 92, 255, 0.26);
}

.dashboard-invite-actions a {
  width: 2.75rem;
  background: rgba(255, 255, 255, 0.08);
}

.dashboard-invite-actions button:hover,
.dashboard-invite-actions button:focus-visible,
.dashboard-invite-actions a:hover,
.dashboard-invite-actions a:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.22);
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
}

.dashboard-invite-actions svg {
  width: 1rem;
  height: 1rem;
}

.brand-mark,
.receipt-logo {
  color: var(--text-main) !important;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-red)) !important;
  box-shadow: 0 14px 28px rgba(11, 92, 255, 0.22), 0 12px 28px rgba(239, 16, 35, 0.16) !important;
}

.icon-btn,
.btn-ghost,
.amount-chip,
.filter-chip,
.calendar-action,
.settings-chevron,
.toast-close,
.icon-link {
  border: 1px solid var(--border-soft) !important;
  color: var(--text-main) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  box-shadow: none !important;
}

.icon-btn.dark,
.icon-btn:hover,
.icon-btn:focus-visible,
.btn-ghost:hover,
.btn-ghost:focus-visible,
.amount-chip:hover,
.filter-chip:hover {
  border-color: rgba(11, 92, 255, 0.42) !important;
  background: rgba(11, 92, 255, 0.14) !important;
  color: var(--text-main) !important;
}

.wallet-input,
.wallet-select,
.history-date-value,
.profile-readonly-form .wallet-input[readonly],
.profile-readonly-form .profile-textarea[readonly] {
  min-height: 50px;
  border: 1px solid var(--border-soft) !important;
  color: var(--text-main) !important;
  background: #0b0b0b !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
}

.wallet-input::placeholder,
.wallet-select::placeholder {
  color: rgba(138, 143, 152, 0.78) !important;
}

.wallet-input:focus,
.wallet-select:focus,
.history-date-value:focus,
.choice-input:focus-visible + .choice-card {
  border-color: var(--primary-blue) !important;
  box-shadow: var(--ev-focus) !important;
  outline: 0 !important;
}

.wallet-label,
.settings-profile-label,
.landing-kicker,
.landing-section-label,
.receipt-kicker {
  color: var(--text-muted) !important;
}

.btn-ev,
.receipt-action.primary,
.landing-actions .btn-ev {
  border-color: var(--primary-blue) !important;
  color: var(--text-main) !important;
  background: linear-gradient(180deg, #1266ff, var(--primary-blue)) !important;
  box-shadow: 0 14px 28px rgba(11, 92, 255, 0.28) !important;
}

.btn-ev:hover,
.btn-ev:focus-visible {
  border-color: #2b72ff !important;
  background: linear-gradient(180deg, #2b72ff, var(--primary-blue)) !important;
  color: var(--text-main) !important;
}

a[href*="withdraw"] .action-icon,
a[href*="withdraw"] [class*="h-11"],
form[action*="submit-withdraw"] .btn-ev,
button[data-open-withdraw-confirm],
button[data-submit-withdraw-confirm],
.receipt-action.danger {
  border-color: var(--primary-red) !important;
  background: linear-gradient(180deg, #ff2638, var(--primary-red)) !important;
  color: var(--text-main) !important;
  box-shadow: 0 14px 28px rgba(239, 16, 35, 0.28) !important;
}

a[href*="deposit"] .action-icon,
a[href*="deposit"] [class*="h-11"],
button[data-open-deposit-confirm],
button[data-confirm-pay] {
  border-color: var(--primary-blue) !important;
  background: linear-gradient(180deg, #1266ff, var(--primary-blue)) !important;
  color: var(--text-main) !important;
  box-shadow: 0 14px 28px rgba(11, 92, 255, 0.28) !important;
}

.row-icon,
.action-icon,
.choice-icon,
.avatar,
.onboard-product-pill,
[class~="bg-wallet-green/10"],
[class~="bg-wallet-mint"] {
  color: var(--primary-blue) !important;
  background: rgba(11, 92, 255, 0.16) !important;
  box-shadow: inset 0 0 0 1px rgba(11, 92, 255, 0.18) !important;
}

.history-row[data-type="withdraw"] .row-icon,
article:has(.amount-negative) .row-icon,
article:has(.text-\[\#dc3f45\]) [class~="bg-wallet-mint"] {
  color: var(--primary-red) !important;
  background: rgba(239, 16, 35, 0.16) !important;
  box-shadow: inset 0 0 0 1px rgba(239, 16, 35, 0.18) !important;
}

.choice-card {
  border-color: var(--border-soft) !important;
  background: linear-gradient(180deg, var(--bg-card), var(--bg-card-soft)) !important;
  box-shadow: var(--ev-shadow-card) !important;
}

.choice-input:checked + .choice-card,
.choice-input:checked + .choice-card-green,
.choice-input:checked + .choice-card-dark {
  border-color: var(--primary-blue) !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(11, 92, 255, 0.22), transparent 12rem),
    linear-gradient(180deg, #121a2f, #101010) !important;
  box-shadow: 0 14px 30px rgba(11, 92, 255, 0.18) !important;
}

.choice-input:checked + .choice-card .choice-icon,
.choice-input:checked + .choice-card .choice-check,
.choice-input:checked + .choice-card-green .choice-icon,
.choice-input:checked + .choice-card-green .choice-check {
  border-color: var(--primary-blue) !important;
  background: var(--primary-blue) !important;
  color: var(--text-main) !important;
}

.choice-check {
  border-color: var(--border-soft) !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

.amount-chip.active,
.filter-chip.active {
  border-color: var(--primary-red) !important;
  color: var(--text-main) !important;
  background: linear-gradient(180deg, #ff2638, var(--primary-red)) !important;
  box-shadow: 0 12px 24px rgba(239, 16, 35, 0.26) !important;
}

.status-pill {
  border: 1px solid var(--border-soft) !important;
  color: var(--text-muted) !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

.status-success,
.status-pill.status-success {
  border-color: rgba(34, 197, 94, 0.48) !important;
  color: #4ade80 !important;
  background: rgba(34, 197, 94, 0.16) !important;
}

.status-danger,
.status-pending,
.status-pill.status-danger,
.status-pill.status-pending {
  border-color: rgba(239, 16, 35, 0.42) !important;
  color: #ff7a85 !important;
  background: rgba(239, 16, 35, 0.16) !important;
}

.mobile-nav {
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  border-top: 1px solid var(--border-soft) !important;
  background: rgba(8, 8, 8, 0.94) !important;
  box-shadow: 0 -18px 36px rgba(0, 0, 0, 0.52) !important;
  backdrop-filter: blur(18px);
}

.nav-item {
  color: var(--text-muted) !important;
}

.nav-icon {
  color: var(--text-muted) !important;
  background: transparent !important;
}

.nav-item.active {
  color: var(--primary-red) !important;
  background: rgba(239, 16, 35, 0.10) !important;
  box-shadow: none !important;
}

.nav-item.active .nav-icon {
  color: var(--primary-red) !important;
  background: rgba(239, 16, 35, 0.14) !important;
  box-shadow: inset 0 0 0 1px rgba(239, 16, 35, 0.20) !important;
}

.nav-item.nav-fab {
  align-self: start;
  gap: 0 !important;
  min-height: 4.65rem;
  padding-top: 0 !important;
  color: #fff !important;
  transform: translateY(-1.35rem);
  background: transparent !important;
  box-shadow: none !important;
  z-index: 2;
}

.nav-item.nav-fab .nav-icon {
  display: grid;
  width: 4.35rem;
  height: 4.35rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 999px;
  color: #fff !important;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.34), transparent 34%),
    linear-gradient(135deg, var(--primary-blue), var(--primary-red)) !important;
  box-shadow:
    0 18px 36px rgba(11, 92, 255, 0.34),
    0 18px 38px rgba(239, 16, 35, 0.28),
    0 0 34px rgba(139, 92, 246, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}

.nav-item.nav-fab .nav-icon svg {
  width: 2rem;
  height: 2rem;
  stroke-width: 2.4;
}

.nav-item.nav-fab.active,
.nav-item.nav-fab:hover,
.nav-item.nav-fab:focus-visible {
  color: #fff !important;
  background: transparent !important;
  transform: translateY(-1.45rem);
}

.nav-item.nav-fab.active .nav-icon,
.nav-item.nav-fab:hover .nav-icon,
.nav-item.nav-fab:focus-visible .nav-icon {
  color: #fff !important;
  background:
    radial-gradient(circle at 30% 18%, rgba(255, 255, 255, 0.28), transparent 34%),
    linear-gradient(135deg, var(--primary-blue), var(--primary-red)) !important;
  box-shadow:
    0 22px 42px rgba(11, 92, 255, 0.38),
    0 20px 42px rgba(239, 16, 35, 0.32),
    0 0 40px rgba(139, 92, 246, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
}

.buy-account-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  justify-content: center;
  background: rgba(0, 0, 0, 0.62);
}

.buy-account-modal.hidden {
  display: none !important;
}

.buy-account-page {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  overflow-y: auto;
  padding: 1.15rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom));
  color: var(--text-main);
  background:
    radial-gradient(circle at 16% 0%, rgba(11, 92, 255, 0.24), transparent 15rem),
    radial-gradient(circle at 100% 12%, rgba(239, 16, 35, 0.20), transparent 16rem),
    linear-gradient(180deg, #080808 0%, #050505 100%);
  box-shadow: var(--ev-shadow);
  -webkit-overflow-scrolling: touch;
}

.buy-account-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.buy-account-form {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.buy-account-section {
  display: grid;
  gap: 0.7rem;
}

.buy-wallet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.buy-choice-card,
.buy-package-card {
  cursor: pointer;
}

.buy-choice-card input,
.buy-package-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.buy-choice-card > span {
  display: grid;
  min-height: 6.15rem;
  gap: 0.35rem;
  align-content: center;
  border: 1px solid var(--border-soft);
  border-radius: 1.1rem;
  padding: 0.9rem;
  color: var(--text-main);
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.96), rgba(16, 16, 16, 0.96));
  box-shadow: var(--ev-shadow-card);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.buy-choice-card svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary-blue);
}

.buy-choice-card strong {
  font-size: 0.88rem;
  font-weight: 950;
  line-height: 1.05;
}

.buy-choice-card small {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 850;
}

.buy-choice-card input:checked + span {
  border-color: rgba(11, 92, 255, 0.66);
  background:
    radial-gradient(circle at 85% 8%, rgba(11, 92, 255, 0.30), transparent 48%),
    linear-gradient(180deg, rgba(18, 28, 58, 0.98), rgba(13, 18, 34, 0.98));
  box-shadow:
    0 18px 36px rgba(11, 92, 255, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.buy-package-list {
  display: grid;
  gap: 0.75rem;
}

.buy-package-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 4.7rem;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  border-radius: 1.1rem;
  padding: 0.85rem;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.96), rgba(16, 16, 16, 0.96));
  box-shadow: var(--ev-shadow-card);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.buy-package-card:has(input:checked) {
  border-color: rgba(11, 92, 255, 0.72);
  background:
    radial-gradient(circle at 90% 10%, rgba(11, 92, 255, 0.32), transparent 42%),
    radial-gradient(circle at 0% 100%, rgba(239, 16, 35, 0.18), transparent 45%),
    linear-gradient(135deg, rgba(12, 33, 74, 0.98), rgba(18, 18, 18, 0.98));
  box-shadow:
    0 18px 38px rgba(11, 92, 255, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.buy-package-mark,
.buy-package-check {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
}

.buy-package-mark {
  width: 2.65rem;
  height: 2.65rem;
  color: var(--primary-blue);
  background: rgba(11, 92, 255, 0.16);
}

.buy-package-mark svg {
  width: 1.2rem;
  height: 1.2rem;
}

.buy-package-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.buy-package-copy strong {
  display: block;
  overflow: hidden;
  color: var(--text-main);
  font-size: 0.93rem;
  font-weight: 950;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.buy-package-copy small {
  display: block;
  margin-top: 0.25rem;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 850;
}

.buy-package-check {
  width: 1.65rem;
  height: 1.65rem;
  border: 1px solid var(--border-soft);
  color: transparent;
  background: rgba(255, 255, 255, 0.06);
}

.buy-package-check svg {
  width: 0.95rem;
  height: 0.95rem;
}

.buy-package-card:has(input:checked) .buy-package-check {
  border-color: var(--primary-blue);
  color: #fff;
  background: var(--primary-blue);
}

.buy-account-error {
  margin: 0;
  color: #ff9aa3;
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.25;
}

.buy-computation-card {
  overflow: hidden;
  border: 1px solid rgba(11, 92, 255, 0.38);
  border-radius: 1.25rem;
  padding: 1rem;
  background:
    radial-gradient(circle at 0% 0%, rgba(11, 92, 255, 0.28), transparent 44%),
    radial-gradient(circle at 100% 100%, rgba(239, 16, 35, 0.22), transparent 44%),
    linear-gradient(145deg, #071126 0%, #070707 58%, #160609 100%);
  box-shadow:
    0 20px 42px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.buy-computation-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.75rem;
}

.buy-computation-head p,
.buy-computation-grid span,
.buy-computation-total span {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.buy-computation-head strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 950;
  line-height: 1.05;
}

.buy-computation-head > span {
  flex: 0 0 auto;
  border: 1px solid rgba(239, 16, 35, 0.36);
  border-radius: 999px;
  padding: 0.42rem 0.72rem;
  color: #ff9aa3;
  font-size: 0.68rem;
  font-weight: 950;
  background: rgba(239, 16, 35, 0.15);
}

.buy-computation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.buy-computation-grid > div {
  min-width: 0;
  border: 1px solid var(--border-soft);
  border-radius: 0.95rem;
  padding: 0.78rem;
  background: rgba(255, 255, 255, 0.055);
}

.buy-computation-grid strong {
  display: block;
  margin-top: 0.25rem;
  overflow: hidden;
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 950;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.buy-computation-total {
  margin-top: 0.75rem;
  border: 1px solid rgba(11, 92, 255, 0.46);
  border-radius: 1rem;
  padding: 0.9rem;
  background:
    linear-gradient(135deg, rgba(11, 92, 255, 0.26), rgba(239, 16, 35, 0.18)),
    rgba(255, 255, 255, 0.06);
}

.buy-computation-total strong {
  display: block;
  margin-top: 0.3rem;
  color: var(--text-main);
  font-size: 1.65rem;
  font-weight: 950;
  line-height: 1;
}

.buy-computation-total small {
  display: block;
  margin-top: 0.45rem;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.3;
}

.buy-capital-note {
  margin: 0.8rem 0 0;
  border: 1px solid rgba(34, 197, 94, 0.46);
  border-radius: 0.95rem;
  padding: 0.8rem 0.9rem;
  color: #74f5a4;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.35;
  background:
    radial-gradient(circle at 0% 0%, rgba(34, 197, 94, 0.18), transparent 55%),
    rgba(15, 91, 46, 0.18);
  box-shadow: 0 12px 24px rgba(34, 197, 94, 0.08);
}

.transaction-row,
.history-row,
.setting-row,
.method-row,
.compact-card,
.stat-card {
  border-radius: 1rem !important;
}

.row-amount,
.tabular-nums {
  font-variant-numeric: tabular-nums;
}

.divider-text::before,
.divider-text::after,
.receipt-divider {
  background: var(--border-soft) !important;
  border-color: var(--border-soft) !important;
}

.form-message-error,
.toast-error {
  color: #ffb3ba !important;
  border-color: rgba(239, 16, 35, 0.42) !important;
  background: rgba(239, 16, 35, 0.14) !important;
}

.form-message-success,
.toast-success {
  color: #9dbaff !important;
  border-color: rgba(11, 92, 255, 0.42) !important;
  background: rgba(11, 92, 255, 0.14) !important;
}

.toast {
  border: 1px solid var(--border-soft) !important;
  background: var(--bg-card) !important;
}

.history-calendar-grid button.is-selected,
.wallet-check-input:checked {
  background-color: var(--primary-blue) !important;
  border-color: var(--primary-blue) !important;
}

@media (max-width: 576px) {
  body {
    background: #050505 !important;
  }

  .mobile-shell {
    box-shadow: none !important;
  }
}

/* Responsive mobile shell fix */
html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0 !important;
  overflow-x: hidden !important;
  background: #050505 !important;
}

body {
  display: block !important;
  color: var(--text-main) !important;
}

body.flex,
body.inline-flex {
  display: block !important;
}

.mobile-shell,
.landing-page,
.auth-screen,
body > div[class*="max-w-[430px]"] {
  width: 100% !important;
  max-width: 430px !important;
  min-height: 100vh;
  margin-right: auto !important;
  margin-left: auto !important;
  position: relative;
  overflow-x: hidden !important;
  background: #050505 !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34) !important;
}

.mobile-shell::before,
.mobile-shell::after,
.landing-page::before,
.landing-page::after,
.auth-screen::before,
.auth-screen::after,
body > div[class*="max-w-[430px]"]::before,
body > div[class*="max-w-[430px]"]::after {
  max-width: 430px;
}

.app-main,
.page-content,
.mobile-shell > main,
.landing-page > main,
.auth-screen > section,
body > div[class*="max-w-[430px]"] > main {
  width: 100% !important;
  max-width: 430px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.app-main,
.mobile-shell > main,
body > div[class*="max-w-[430px]"] > main {
  padding-bottom: calc(112px + env(safe-area-inset-bottom)) !important;
}

.form-panel,
.list-panel,
.compact-card,
.profile-panel,
.transaction-row,
.history-row,
.setting-row,
.method-row,
.stat-card,
.action-tile,
.balance-panel,
.section-stack,
.history-list,
.settings-list {
  max-width: 100% !important;
}

.mobile-nav,
.bottom-nav {
  position: fixed !important;
  right: auto !important;
  bottom: 0 !important;
  left: 50% !important;
  width: 100% !important;
  max-width: 430px !important;
  transform: translateX(-50%) !important;
  border-top: 1px solid var(--border-soft) !important;
  background: rgba(11, 11, 11, 0.96) !important;
  box-shadow: 0 -12px 28px rgba(0, 0, 0, 0.42) !important;
  z-index: 999 !important;
}

@media (min-width: 431px) {
  .mobile-shell,
  .landing-page,
  .auth-screen,
  body > div[class*="max-w-[430px]"] {
    min-height: 100vh;
  }
}

@media (max-width: 430px) {
  .mobile-shell,
  .landing-page,
  .auth-screen,
  .mobile-nav,
  .bottom-nav,
  body > div[class*="max-w-[430px]"] {
    max-width: 100% !important;
    box-shadow: none !important;
  }
}

.landing-rebuild-page {
  color: var(--text-main) !important;
  background:
    radial-gradient(circle at 20% 4%, rgba(11, 92, 255, 0.22), transparent 190px),
    radial-gradient(circle at 92% 16%, rgba(239, 16, 35, 0.18), transparent 210px),
    #050505 !important;
}

.landing-rebuild-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 5, 5, 0.78);
  backdrop-filter: blur(18px);
}

.landing-rebuild-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}

.landing-rebuild-brand span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  border-radius: 13px;
  background: #000;
  box-shadow: 0 0 22px rgba(11, 92, 255, 0.18);
}

.landing-rebuild-brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-rebuild-brand strong {
  min-width: 0;
  overflow: hidden;
  color: #fff;
  font-size: 1rem;
  font-weight: 950;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.landing-header-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  padding: 0 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
}

.landing-rebuild-main {
  display: grid;
  gap: 16px;
  padding: 16px 18px 34px;
}

.landing-rebuild-hero {
  position: relative;
  display: grid;
  gap: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 30px;
  padding: 24px 18px 18px;
  background:
    linear-gradient(145deg, rgba(11, 92, 255, 0.18), transparent 34%),
    linear-gradient(315deg, rgba(239, 16, 35, 0.22), transparent 38%),
    #080808;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.45);
}

.landing-rebuild-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 70%);
}

.landing-hero-copy-new,
.landing-visual-panel,
.landing-primary-actions {
  position: relative;
  z-index: 1;
}

.landing-hero-copy-new h1 {
  max-width: 360px;
  margin: 0;
  color: #fff;
  font-size: 3.35rem;
  font-weight: 950;
  line-height: 0.91;
}

.landing-hero-copy-new p {
  max-width: 330px;
  margin: 14px 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1.45;
}

.landing-visual-panel {
  display: grid;
  gap: 14px;
  min-height: 214px;
  border: 1px solid rgba(11, 92, 255, 0.34);
  border-radius: 24px;
  padding: 17px;
  background:
    radial-gradient(circle at 18% 0%, rgba(11, 92, 255, 0.38), transparent 42%),
    radial-gradient(circle at 100% 12%, rgba(239, 16, 35, 0.28), transparent 42%),
    linear-gradient(180deg, #0b0f19, #060606);
}

.landing-visual-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.landing-live-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.72);
}

.landing-visual-panel > strong {
  color: #fff;
  font-size: 3rem;
  font-weight: 950;
  line-height: 0.9;
}

.landing-visual-chart {
  display: grid;
  height: 54px;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 8px;
}

.landing-visual-chart span {
  display: block;
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(180deg, var(--primary-blue), rgba(11, 92, 255, 0.16));
}

.landing-visual-chart span:nth-child(1) { height: 34%; }
.landing-visual-chart span:nth-child(2) { height: 62%; }
.landing-visual-chart span:nth-child(3) { height: 46%; }
.landing-visual-chart span:nth-child(4) { height: 84%; background: linear-gradient(180deg, var(--primary-red), rgba(239, 16, 35, 0.16)); }
.landing-visual-chart span:nth-child(5) { height: 70%; }

.landing-visual-actions,
.landing-primary-actions,
.landing-metric-strip {
  display: grid;
  gap: 10px;
}

.landing-visual-actions {
  grid-template-columns: 1fr 1fr;
}

.landing-visual-actions span {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 16px;
  padding: 11px 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.78rem;
  font-weight: 950;
}

.landing-visual-actions svg {
  width: 16px;
  height: 16px;
}

.landing-primary-actions {
  grid-template-columns: 1fr 0.72fr;
}

.landing-primary-actions .btn-ev,
.landing-ghost-action {
  min-height: 54px;
  border-radius: 18px;
  font-size: 0.95rem;
  font-weight: 950;
}

.landing-ghost-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  text-decoration: none;
}

.landing-ghost-action svg {
  width: 18px;
  height: 18px;
}

.landing-metric-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.landing-metric-strip article {
  display: grid;
  min-height: 78px;
  place-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 20px;
  background: #0b0b0b;
  color: #fff;
}

.landing-metric-strip svg {
  width: 22px;
  height: 22px;
  color: var(--primary-blue);
}

.landing-metric-strip article:nth-child(3) svg {
  color: var(--primary-red);
}

.landing-metric-strip span {
  font-size: 0.72rem;
  font-weight: 950;
}

.landing-flow-panel {
  display: grid;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 28px;
  padding: 20px;
  background: #080808;
}

.landing-flow-panel h2 {
  max-width: 310px;
  margin: 0;
  color: #fff;
  font-size: 1.65rem;
  font-weight: 950;
  line-height: 1;
}

.landing-flow-panel p {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.45;
}

.landing-flow-list {
  display: grid;
  gap: 10px;
}

.landing-flow-list article {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  border-radius: 18px;
  padding: 12px;
  background: #101010;
}

.landing-flow-list span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
  font-size: 0.76rem;
  font-weight: 950;
}

.landing-flow-list strong {
  color: #fff;
  font-size: 0.94rem;
  font-weight: 950;
}

@media (max-width: 360px) {
  .landing-hero-copy-new h1 {
    font-size: 2.75rem;
  }

  .landing-primary-actions {
    grid-template-columns: 1fr;
  }

  .landing-metric-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.deposit-plan-panel {
  position: relative;
  display: grid;
  gap: 14px;
  overflow: hidden;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(11, 92, 255, 0.14), rgba(11, 92, 255, 0) 34%),
    linear-gradient(225deg, rgba(239, 16, 35, 0.12), rgba(239, 16, 35, 0) 38%),
    #0d0d0d !important;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.32);
}

.deposit-plan-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, var(--primary-blue), transparent 42%, var(--primary-red));
}

.deposit-plan-heading {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.deposit-plan-eyebrow,
.deposit-plan-metric p,
.deposit-plan-total p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.deposit-plan-heading h3 {
  margin: 6px 0 0;
  color: var(--text-main);
  font-size: 1.18rem;
  line-height: 1.05;
  font-weight: 900;
}

.deposit-plan-basis {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  max-width: 142px;
  padding: 5px 10px;
  border: 1px solid rgba(11, 92, 255, 0.32);
  border-radius: 999px;
  color: #80a8ff;
  background: rgba(11, 92, 255, 0.12);
  font-size: 0.62rem;
  line-height: 1.15;
  font-weight: 850;
  text-align: center;
}

.deposit-plan-metrics {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.deposit-plan-metric {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045) !important;
}

.deposit-plan-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 13px;
  color: var(--primary-blue);
  background: rgba(11, 92, 255, 0.14);
}

.deposit-plan-icon.red {
  color: var(--primary-red);
  background: rgba(239, 16, 35, 0.14);
}

.deposit-plan-icon svg {
  width: 17px;
  height: 17px;
}

.deposit-plan-metric strong {
  display: block;
  margin-top: 5px;
  color: var(--text-main);
  font-size: 0.98rem;
  line-height: 1;
  font-weight: 900;
}

.deposit-plan-total {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 82px;
  padding: 14px;
  border: 1px solid rgba(11, 92, 255, 0.34);
  border-radius: 18px;
  background:
    radial-gradient(circle at 0% 0%, rgba(11, 92, 255, 0.26), transparent 58%),
    radial-gradient(circle at 100% 100%, rgba(239, 16, 35, 0.24), transparent 54%),
    #090909 !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.035);
}

.deposit-plan-total strong {
  display: block;
  margin-top: 7px;
  color: var(--text-main);
  font-size: 1.7rem;
  line-height: 0.95;
  font-weight: 900;
}

.deposit-plan-total > span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 5px 12px;
  border: 1px solid rgba(239, 16, 35, 0.34);
  border-radius: 999px;
  color: #ff9da6;
  background: rgba(239, 16, 35, 0.14);
  font-size: 0.76rem;
  font-weight: 900;
}

.deposit-plan-note {
  margin: -2px 0 0;
  padding: 11px 12px;
  border: 1px solid rgba(34, 197, 94, 0.30);
  border-radius: 14px;
  color: #86efac;
  background: rgba(34, 197, 94, 0.10);
  font-size: 0.74rem;
  line-height: 1.35;
  font-weight: 780;
}

@media (max-width: 360px) {
  .deposit-plan-metrics {
    grid-template-columns: 1fr;
  }

  .deposit-plan-heading {
    display: grid;
  }

  .deposit-plan-basis {
    max-width: none;
    width: fit-content;
  }
}
