/* ==========================================================
B-CHAIN WALLET
STYLE.CSS - Core Styles
========================================================== */

/* ========== استيراد الخطوط ========== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Noto+Sans+Arabic:wght@300;400;500;600;700;800&family=Sora:wght@400;500;600;700;800&display=swap');

/* ========== استيراد المكونات ========== */
@import url('components.css');

/* ==========================================================
PART 1 / 25
Reset + Variables + Typography + Base Layout
========================================================== */

/* ---------- RESET ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Inter", "Noto Sans Arabic", sans-serif;
  background: #f7faf8;
  color: #1b2a24;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  display: block;
  flex-shrink: 0;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ---------- VARIABLES ---------- */
:root {
  --white: #ffffff;
  --black: #000000;
  --ink: #16231d;
  --ink-soft: #5f6f68;
  --deep-green: #1f8d55;
  --dark-green: #176c42;
  --baby-green: #9fe3be;
  --green: #39b26d;
  --green-light: #7be3ad;
  --green-tint: #ebfbf2;
  --green-tint2: #f5fffa;
  --danger: #dc4c64;
  --warning: #ffb100;
  --info: #2b87ff;
  --success: #1fb46b;
  --line: #dde8e2;
  --glass: rgba(255,255,255,.72);
  --glass-border: rgba(255,255,255,.45);
  --shadow-xs: 0 4px 12px rgba(0,0,0,.04);
  --shadow-sm: 0 12px 24px rgba(0,0,0,.06);
  --shadow-md: 0 18px 40px rgba(0,0,0,.08);
  --shadow-lg: 0 30px 70px rgba(0,0,0,.12);
  --shadow-green: 0 0 20px rgba(59,178,115,.35);
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 34px;
  --transition: .28s cubic-bezier(.4,0,.2,1);
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: "Sora", "Noto Kufi Arabic", sans-serif;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(38px, 5vw, 60px); }
h2 { font-size: clamp(30px, 4vw, 42px); }
h3 { font-size: 22px; }

p { color: var(--ink-soft); }
small { font-size: .88rem; }

/* ---------- LAYOUT ---------- */
.container {
  width: min(1220px, 92%);
  margin: auto;
}

.section { padding: 90px 0; }
.grid { display: grid; gap: 24px; }
.flex { display: flex; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }

/* ---------- GLASS ---------- */
.glass {
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
}

/* ---------- BRAND ---------- */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Sora", sans-serif;
  font-weight: 700;
}

.logo-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--baby-green), var(--deep-green));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 800;
  box-shadow: var(--shadow-green);
}

/* ---------- REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- BADGES ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.badge-green {
  background: var(--green-tint);
  color: var(--dark-green);
}

/* ---------- PAGE HEADER ---------- */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
}

.page-title {
  font-size: 34px;
  margin-bottom: 8px;
}

.subtitle {
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 520px;
}

/* ---------- UTILITIES ---------- */
.text-center { text-align: center; }
.text-muted { color: var(--ink-soft); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.hidden { display: none !important; }
.w-100 { width: 100%; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }
.gap-5 { gap: 40px; }
.text-sm { font-size: 13px; }
.text-xs { font-size: 12px; }
.text-lg { font-size: 17px; }
.text-xl { font-size: 20px; }
.font-mono { font-family: "Sora", "Noto Kufi Arabic", sans-serif; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.border-radius-sm { border-radius: var(--radius-sm); }
.border-radius-md { border-radius: var(--radius-md); }
.border-radius-lg { border-radius: var(--radius-lg); }
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.bg-white { background: #fff; }
.bg-tint { background: var(--green-tint); }
.bg-tint2 { background: var(--green-tint2); }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }

/* ---------- PULSE ---------- */
.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 rgba(59,178,115,.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(59,178,115,.55); }
  70% { box-shadow: 0 0 0 12px rgba(59,178,115,0); }
  100% { box-shadow: 0 0 0 0 rgba(59,178,115,0); }
}

/* ---------- PAGE ENTER ANIMATION ---------- */
.page-enter {
  animation: pageEnter .4s ease;
}

@keyframes pageEnter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- ICON BOX ---------- */
.icon-box {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--baby-green), var(--deep-green));
  margin-bottom: 18px;
}

.icon-box svg {
  width: 26px;
  height: 26px;
  stroke: #fff;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ==========================================================
WALLET APP SHELL
========================================================== */
.wallet-shell {
  display: grid;
  grid-template-columns: 264px 1fr;
  min-height: 100vh;
  background: #f5faf7;
}

.wallet-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.wallet-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

/* ==========================================================
WALLET WIDGETS
========================================================== */
.wallet-grid {
  display: grid;
  gap: 22px;
}

.wallet-grid-2 { grid-template-columns: repeat(2, 1fr); }
.wallet-grid-3 { grid-template-columns: repeat(3, 1fr); }
.wallet-grid-4 { grid-template-columns: repeat(4, 1fr); }
.wallet-grid-sidebar { grid-template-columns: 1.6fr 1fr; }

@media (max-width: 1150px) {
  .wallet-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .wallet-grid-sidebar { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .wallet-grid-2,
  .wallet-grid-3,
  .wallet-grid-4 { grid-template-columns: 1fr; }
}

/* ---------- BALANCE CARD ---------- */
.wallet-balance-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 30px;
  background: linear-gradient(140deg, #12271d 0%, #1f8d55 130%);
  color: #fff;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.wallet-balance-card::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(159,227,190,.35), transparent 65%);
  top: -140px;
  right: -90px;
}

html[dir="rtl"] .wallet-balance-card::after {
  right: auto;
  left: -90px;
}

.wallet-balance-card > * {
  position: relative;
  z-index: 2;
}

.wallet-balance-label {
  font-size: 13.5px;
  opacity: .85;
}

.wallet-balance-amount {
  font-family: "Sora", sans-serif;
  font-weight: 800;
  font-size: 38px;
  letter-spacing: -.03em;
  margin: 6px 0 4px;
}

.wallet-balance-sub {
  font-size: 13px;
  opacity: .8;
}

/* ---------- STAT CARD ---------- */
.wallet-stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.wallet-stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.wallet-stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.wallet-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--green-tint);
  color: var(--deep-green);
}

.wallet-stat-icon svg {
  width: 20px;
  height: 20px;
}

.wallet-stat-label {
  font-size: 13px;
  color: var(--ink-soft);
}

.wallet-stat-value {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 26px;
  color: var(--ink);
  letter-spacing: -.02em;
  margin-top: 2px;
}

.wallet-trend {
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.wallet-trend.up { color: var(--success); }
.wallet-trend.down { color: var(--danger); }

/* ---------- PANEL ---------- */
.wallet-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: var(--transition);
}

.wallet-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.wallet-panel-title {
  font-size: 17px;
  font-weight: 700;
  font-family: "Sora", sans-serif;
}

.wallet-panel-body {
  padding: 24px;
}

.wallet-panel-body.flush {
  padding: 0;
}

/* ---------- TABLE ---------- */
.wallet-table {
  width: 100%;
  border-collapse: collapse;
}

.wallet-table th {
  text-align: left;
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 700;
  padding: 14px 24px;
  background: var(--green-tint2);
  border-bottom: 1px solid var(--line);
}

html[dir="rtl"] .wallet-table th {
  text-align: right;
}

.wallet-table td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink);
}

.wallet-table tr:last-child td {
  border-bottom: none;
}

.wallet-table tbody tr {
  transition: background .2s;
}

.wallet-table tbody tr:hover {
  background: var(--green-tint2);
}

.wallet-table-responsive {
  width: 100%;
  overflow-x: auto;
}

/* ---------- ASSET / TXN ROW ---------- */
.wallet-asset {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wallet-asset-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
}

.wallet-asset-name {
  font-weight: 600;
  font-size: 14px;
}

.wallet-asset-sub {
  font-size: 12px;
  color: var(--ink-soft);
}

/* ---------- QUICK ACTIONS ---------- */
.wallet-actions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media (max-width: 760px) {
  .wallet-actions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.wallet-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #fff;
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
}

.wallet-action:hover {
  border-color: var(--baby-green);
  background: var(--green-tint);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.wallet-action-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--baby-green), var(--deep-green));
  color: #fff;
}

.wallet-action-icon svg {
  width: 20px;
  height: 20px;
}

.wallet-action span {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

/* ==========================================================
CAPTCHA
========================================================== */
.captcha-container {
  border: 1px dashed var(--line);
  border-radius: 16px;
  background: var(--green-tint2);
  min-height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 24px 0;
}

/* ==========================================================
STATUS MESSAGES
========================================================== */
.status-message {
  display: none;
  padding: 14px 16px;
  border-radius: 14px;
  margin-bottom: 18px;
  font-size: 14px;
}

.status-message.success {
  display: block;
  background: #e8fff2;
  color: #18794e;
}

.status-message.error {
  display: block;
  background: #fff0f0;
  color: #c73d3d;
}

/* ==========================================================
NAVBAR
========================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(221,232,226,.7);
}

.navbar-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--deep-green);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  border-radius: 10px;
  background: var(--deep-green);
  transition: .3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-btn {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  transition: var(--transition);
}

.lang-btn:hover {
  background: var(--green-tint);
}

/* ==========================================================
HERO
========================================================== */
.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123,227,173,.18), transparent 70%);
  right: -260px;
  top: -240px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  margin-bottom: 24px;
}

.hero-text {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}

.hero-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat strong {
  font-size: 30px;
  font-family: "Sora", sans-serif;
}

.hero-stat span {
  font-size: 13px;
  color: var(--ink-soft);
}

/* ==========================================================
FOOTER
========================================================== */
footer {
  background: var(--ink);
  color: rgba(255,255,255,.78);
}

footer a {
  transition: var(--transition);
}

footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 42px;
}

.footer-title {
  color: #fff;
  font-size: 15px;
  margin-bottom: 20px;
}

.footer-links {
  display: grid;
  gap: 12px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(255,255,255,.08);
  display: grid;
  place-items: center;
}

/* ==========================================================
AUTH LAYOUT
========================================================== */
.auth-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  background: linear-gradient(135deg, #f8fcfa 0%, #eefaf4 100%);
}

.auth-left {
  position: relative;
  padding: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.auth-left::before {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123,227,173,.18) 0%, transparent 70%);
  top: -280px;
  left: -250px;
  pointer-events: none;
}

.auth-left > * {
  position: relative;
  z-index: 2;
}

.auth-right {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px;
}

.auth-card {
  width: 100%;
  max-width: 560px;
  background: #ffffff;
  border-radius: 28px;
  padding: 42px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.auth-card h2 {
  margin-bottom: 10px;
}

.auth-card > .subtitle {
  margin-bottom: 28px;
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--ink-soft);
}

.auth-footer a {
  color: var(--deep-green);
  font-weight: 600;
}

/* ==========================================================
FEATURE GRID
========================================================== */
.feature-grid {
  display: grid;
  gap: 18px;
  margin-top: 42px;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px;
  border-radius: 20px;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.6);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--baby-green), var(--deep-green));
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 0 18px rgba(59,178,115,.28);
}

.feature-title {
  font-size: 17px;
  margin-bottom: 6px;
}

.feature-text {
  font-size: 14px;
  color: var(--ink-soft);
}

/* ==========================================================
INFO BOX
========================================================== */
.info-box {
  padding: 18px;
  border-radius: 16px;
  background: var(--green-tint);
  border-left: 4px solid var(--deep-green);
  color: var(--ink);
  font-size: 14px;
  margin-bottom: 22px;
}

.info-box strong {
  display: block;
  margin-bottom: 8px;
}

/* ==========================================================
KYC GRID
========================================================== */
.kyc-form-grid {
  display: grid;
  gap: 20px;
}

/* ==========================================================
PASSWORD STRENGTH
========================================================== */
.password-strength-container {
  margin-top: 16px;
}

.strength-bars {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.strength-bar {
  flex: 1;
  height: 7px;
  border-radius: 999px;
  background: #dde8e2;
  transition: .3s;
}

.strength-text {
  font-size: 13px;
  margin-bottom: 14px;
  color: var(--ink-soft);
}

.password-rules {
  display: grid;
  gap: 8px;
}

.rule-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-soft);
}

.neon-micro-bar {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cfd8d4;
  transition: .3s;
}

/* ==========================================================
FIELD ERROR
========================================================== */
.field-error {
  color: #d83d5c;
  font-size: 12px;
  margin-top: 5px;
}

.visually-hidden {
  display: none;
}

/* ==========================================================
SECTION TITLE
========================================================== */
.section-header {
  max-width: 680px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-title {
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 17px;
}

/* ==========================================================
PROGRESS
========================================================== */
.progress-wrapper {
  width: 100%;
  margin-bottom: 34px;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.progress-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.progress-percent {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  color: var(--deep-green);
}

.progress-bar {
  position: relative;
  overflow: hidden;
  height: 10px;
  border-radius: 999px;
  background: #dfece5;
}

.progress-fill {
  position: relative;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #34d17d, #1ea85d, #34d17d);
  background-size: 220%;
  animation: neonGradient 5s linear infinite;
  transition: width .8s ease;
  box-shadow: 0 0 6px rgba(52,209,125,.6), 0 0 16px rgba(52,209,125,.45), 0 0 34px rgba(52,209,125,.28);
}

.progress-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent);
  animation: progressShine 2.2s linear infinite;
}

.progress-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 999px;
  box-shadow: inset 0 0 18px rgba(52,209,125,.15);
}

.progress-steps {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  flex: 1;
}

.step::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: #dfece5;
  z-index: 0;
}

.step:last-child::before {
  display: none;
}

.step-dot {
  position: relative;
  z-index: 2;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #cdd9d3;
  transition: .35s;
}

.step.active .step-dot {
  background: #33cf7b;
  box-shadow: 0 0 8px rgba(51,207,123,.8), 0 0 18px rgba(51,207,123,.55), 0 0 36px rgba(51,207,123,.28);
  animation: neonPulse 1.6s infinite;
}

.step.completed .step-dot {
  background: #25a860;
}

@keyframes neonGradient {
  from { background-position: 0%; }
  to { background-position: 220%; }
}

@keyframes progressShine {
  from { left: -40%; }
  to { left: 140%; }
}

@keyframes neonPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* ==========================================================
WALLET FORMS
========================================================== */
.wallet-form-card {
  max-width: 620px;
  margin: 0 auto;
  width: 100%;
}

.wallet-summary {
  background: var(--green-tint2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}

.wallet-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  font-size: 14px;
}

.wallet-summary-row.total {
  border-top: 1px solid var(--line);
  margin-top: 6px;
  padding-top: 14px;
  font-weight: 700;
  font-size: 16px;
}

.wallet-summary-row span:first-child {
  color: var(--ink-soft);
}

.wallet-qr {
  width: 210px;
  height: 210px;
  margin: 0 auto;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-xs);
}

.wallet-address {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--green-tint2);
  font-family: "Sora", sans-serif;
  font-size: 13.5px;
  word-break: break-all;
}

.wallet-copy-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--deep-green);
  transition: var(--transition);
}

.wallet-copy-btn:hover {
  background: var(--green-tint);
  border-color: var(--green);
}

/* ---------- UPLOAD ---------- */
.wallet-upload {
  border: 2px dashed var(--line);
  border-radius: var(--radius-md);
  padding: 34px 24px;
  text-align: center;
  background: var(--green-tint2);
  transition: var(--transition);
  cursor: pointer;
}

.wallet-upload:hover {
  border-color: var(--baby-green);
  background: var(--green-tint);
}

.wallet-upload-icon {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: #fff;
  color: var(--deep-green);
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  border: 1px solid var(--line);
}

.wallet-upload-icon svg {
  width: 24px;
  height: 24px;
}

.wallet-upload strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 4px;
}

.wallet-upload small {
  color: var(--ink-soft);
}

/* ---------- SEGMENTED TABS ---------- */
.wallet-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  background: var(--green-tint2);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.wallet-tab {
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.wallet-tab:hover {
  color: var(--dark-green);
}

.wallet-tab.active {
  background: #fff;
  color: var(--dark-green);
  box-shadow: var(--shadow-xs);
}

/* ---------- SEARCH / FILTER ---------- */
.wallet-search {
  position: relative;
  flex: 1;
  max-width: 340px;
}

.wallet-search input {
  width: 100%;
  height: 44px;
  padding: 0 16px 0 42px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: #fff;
  transition: var(--transition);
}

html[dir="rtl"] .wallet-search input {
  padding: 0 42px 0 16px;
}

.wallet-search input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(59,178,115,.12);
}

.wallet-search svg {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: var(--ink-soft);
}

html[dir="rtl"] .wallet-search svg {
  left: auto;
  right: 14px;
}

/* ==========================================================
RESPONSIVE IMPROVEMENTS
========================================================== */
@media (min-width: 1440px) {
  .container {
    max-width: 1280px;
  }
}

@media (max-width: 1200px) {
  .wallet-shell {
    grid-template-columns: 240px 1fr;
  }
  .wallet-content {
    padding: 24px;
  }
}

@media (max-width: 992px) {
  .wallet-shell {
    grid-template-columns: 1fr;
  }
  .wallet-content {
    padding: 20px;
    gap: 20px;
  }
  .wallet-topbar {
    padding: 12px 20px;
  }
  .wallet-topbar-title h1 {
    font-size: 20px;
  }
  .wallet-topbar-actions .wallet-icon-btn {
    width: 40px;
    height: 40px;
  }
  .wallet-avatar {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .wallet-content {
    padding: 16px;
    gap: 16px;
  }
  .wallet-topbar {
    padding: 10px 16px;
  }
  .wallet-topbar-title h1 {
    font-size: 18px;
  }
  .wallet-topbar-title p {
    font-size: 12px;
  }
  .wallet-topbar-actions .wallet-icon-btn {
    width: 36px;
    height: 36px;
  }
  .wallet-avatar {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }
  .wallet-balance-card {
    padding: 20px;
  }
  .wallet-balance-amount {
    font-size: 30px;
  }
  .wallet-stat {
    padding: 16px 18px;
  }
  .wallet-stat-value {
    font-size: 22px;
  }
  .wallet-panel-header {
    padding: 16px 18px;
  }
  .wallet-panel-body {
    padding: 16px 18px;
  }
  .wallet-form-card {
    max-width: 100%;
  }
  .wallet-actions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .quick-actions-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .quick-action-btn {
    padding: 14px 10px;
  }
  .quick-action-btn .icon {
    width: 40px;
    height: 40px;
  }
  .quick-action-btn .label {
    font-size: 11px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .form-input {
    height: 48px;
    font-size: 14px;
  }
  .btn {
    min-height: 48px;
    font-size: 14px;
    padding: 0 18px;
  }
  .btn-sm {
    min-height: 40px;
    font-size: 13px;
    padding: 0 14px;
  }
  .wallet-table th,
  .wallet-table td {
    padding: 12px 16px;
    font-size: 13px;
  }
  .modal-content {
    max-width: 95%;
    margin: 10px;
  }
  .modal-header {
    padding: 16px 20px;
  }
  .modal-body {
    padding: 20px;
  }
  .modal-title {
    font-size: 18px;
  }
}

@media (max-width: 576px) {
  .wallet-content {
    padding: 12px;
    gap: 12px;
  }
  .wallet-topbar {
    padding: 8px 12px;
  }
  .wallet-topbar-title h1 {
    font-size: 16px;
  }
  .wallet-topbar-title p {
    font-size: 11px;
    display: none;
  }
  .wallet-topbar-actions .wallet-icon-btn {
    width: 34px;
    height: 34px;
  }
  .wallet-avatar {
    width: 34px;
    height: 34px;
    font-size: 12px;
  }
  .wallet-balance-card {
    padding: 16px;
  }
  .wallet-balance-amount {
    font-size: 26px;
  }
  .wallet-stat {
    padding: 14px 16px;
  }
  .wallet-stat-value {
    font-size: 20px;
  }
  .wallet-panel-header {
    padding: 12px 14px;
    flex-wrap: wrap;
  }
  .wallet-panel-body {
    padding: 12px 14px;
  }
  .wallet-actions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .wallet-action {
    padding: 14px 8px;
  }
  .wallet-action-icon {
    width: 40px;
    height: 40px;
  }
  .quick-actions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .quick-action-btn {
    padding: 12px 8px;
  }
  .quick-action-btn .icon {
    width: 36px;
    height: 36px;
  }
  .btn {
    min-height: 44px;
    font-size: 13px;
    padding: 0 14px;
  }
  .btn-sm {
    min-height: 36px;
    font-size: 12px;
    padding: 0 12px;
  }
  .wallet-tabs {
    flex-wrap: wrap;
    gap: 2px;
    padding: 4px;
  }
  .wallet-tab {
    padding: 6px 12px;
    font-size: 12px;
  }
  .wallet-search {
    max-width: 100%;
    flex: 1 1 100%;
  }
  .wallet-search input {
    height: 40px;
    font-size: 13px;
  }
  .table th,
  .table td {
    padding: 8px 12px;
    font-size: 12px;
  }
  .wallet-table th,
  .wallet-table td {
    padding: 8px 12px;
    font-size: 12px;
  }
  .wallet-asset-icon {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }
  .address-card {
    flex-wrap: wrap;
    gap: 8px;
  }
  .address-card .copy-btn {
    width: 100%;
  }
  .expiry-info {
    font-size: 11px;
  }
  .expiry-btn {
    flex: 1 1 auto;
    min-width: 60px;
  }
  .auth-card {
    padding: 24px 16px;
  }
  .auth-left {
    display: none;
  }
  .auth-right {
    padding: 16px;
  }
  .auth-page {
    grid-template-columns: 1fr;
  }
  .auth-mobile-brand {
    display: flex;
  }
  .captcha-row {
    flex-wrap: wrap;
    padding: 12px;
    gap: 8px;
  }
  .captcha-row .captcha-text {
    font-size: 24px;
    min-width: 80px;
    letter-spacing: 4px;
  }
  .captcha-row .captcha-input {
    width: 100%;
    padding: 8px 0;
  }
}

@media (max-width: 480px) {
  .wallet-content {
    padding: 10px;
    gap: 10px;
  }
  .wallet-topbar {
    padding: 6px 10px;
  }
  .wallet-topbar-title h1 {
    font-size: 14px;
  }
  .wallet-topbar-actions .wallet-icon-btn {
    width: 32px;
    height: 32px;
  }
  .wallet-avatar {
    width: 32px;
    height: 32px;
    font-size: 11px;
  }
  .wallet-balance-card {
    padding: 14px;
  }
  .wallet-balance-amount {
    font-size: 22px;
  }
  .wallet-stat {
    padding: 12px 14px;
  }
  .wallet-stat-value {
    font-size: 18px;
  }
  .wallet-panel-header {
    padding: 10px 12px;
  }
  .wallet-panel-body {
    padding: 10px 12px;
  }
  .wallet-actions-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .wallet-action {
    padding: 12px 6px;
  }
  .wallet-action-icon {
    width: 36px;
    height: 36px;
  }
  .quick-actions-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .quick-action-btn {
    padding: 10px 6px;
  }
  .quick-action-btn .icon {
    width: 32px;
    height: 32px;
  }
  .quick-action-btn .label {
    font-size: 10px;
  }
  .btn {
    min-height: 40px;
    font-size: 12px;
    padding: 0 12px;
  }
  .btn-sm {
    min-height: 34px;
    font-size: 11px;
    padding: 0 10px;
  }
  .wallet-tabs {
    flex-wrap: wrap;
    gap: 2px;
    padding: 4px;
  }
  .wallet-tab {
    padding: 4px 10px;
    font-size: 11px;
  }
  .wallet-search input {
    height: 36px;
    font-size: 12px;
    padding-left: 34px;
  }
  .table th,
  .table td {
    padding: 6px 8px;
    font-size: 11px;
  }
  .wallet-table th,
  .wallet-table td {
    padding: 6px 8px;
    font-size: 11px;
  }
  .wallet-asset-icon {
    width: 26px;
    height: 26px;
    font-size: 10px;
  }
  .address-card {
    font-size: 12px;
    padding: 10px 12px;
  }
  .address-card .copy-btn {
    font-size: 11px;
    padding: 4px 10px;
  }
  .expiry-btn {
    min-width: 50px;
    font-size: 11px;
    padding: 4px 8px;
  }
  .auth-card {
    padding: 20px 12px;
  }
  .auth-card h2 {
    font-size: 24px;
  }
}

@media (max-width: 390px) {
  .wallet-content {
    padding: 8px;
    gap: 8px;
  }
  .wallet-topbar {
    padding: 4px 8px;
  }
  .wallet-topbar-title h1 {
    font-size: 13px;
  }
  .wallet-topbar-actions .wallet-icon-btn {
    width: 28px;
    height: 28px;
  }
  .wallet-avatar {
    width: 28px;
    height: 28px;
    font-size: 10px;
  }
  .wallet-balance-card {
    padding: 12px;
  }
  .wallet-balance-amount {
    font-size: 20px;
  }
  .wallet-stat {
    padding: 10px 12px;
  }
  .wallet-stat-value {
    font-size: 16px;
  }
  .wallet-panel-header {
    padding: 8px 10px;
  }
  .wallet-panel-body {
    padding: 8px 10px;
  }
  .quick-actions-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4px;
  }
  .quick-action-btn {
    padding: 8px 4px;
  }
  .quick-action-btn .icon {
    width: 28px;
    height: 28px;
  }
  .quick-action-btn .label {
    font-size: 9px;
  }
  .btn {
    min-height: 36px;
    font-size: 11px;
    padding: 0 10px;
  }
  .btn-sm {
    min-height: 30px;
    font-size: 10px;
    padding: 0 8px;
  }
  .wallet-tab {
    padding: 4px 8px;
    font-size: 10px;
  }
  .wallet-search input {
    height: 32px;
    font-size: 11px;
    padding-left: 30px;
  }
  .table th,
  .table td {
    padding: 4px 6px;
    font-size: 10px;
  }
  .wallet-table th,
  .wallet-table td {
    padding: 4px 6px;
    font-size: 10px;
  }
  .wallet-asset-icon {
    width: 22px;
    height: 22px;
    font-size: 9px;
  }
}