/* ===========================
   RapiMoney EUROPE â€” CSS
   =========================== */

html, body, .screen, .app-container {
  overscroll-behavior: none !important;
  overscroll-behavior-y: none !important;
  overscroll-behavior-x: none !important;
  -webkit-overflow-scrolling: touch;
}

:root {
  /* ===========================
     RAPI MONEY - DESIGN RULES (Shadcn/UI + Tailwind)
     =========================== */
  /* Colors - Clean Dark Mode (Slate/Zinc vibe) */
  --bg: #020817; /* Tailwind Slate 950 */
  --bg2: #0F172A; /* Tailwind Slate 900 */
  --bg3: #1E293B; /* Tailwind Slate 800 */
  --bg4: #334155; /* Tailwind Slate 700 */
  
  --primary: var(--n-acento); /* Primary Blue */
  --primary-foreground: #FFFFFF;
  
  --orange: var(--n-acento); /* Keeping old var names but standardizing */
  --orange-dark: var(--n-acento);
  --orange-light: var(--n-acento);
  --orange-bg: rgba(242, 166, 90, 0.1);
  --purple: var(--n-acento);
  --blue: var(--n-acento);
  --RapiMoney: var(--n-acento);
  
  --green: #10B981; /* Tailwind Emerald 500 */
  --red: #EF4444;   /* Tailwind Red 500 */

  --border: var(--n-sup-2); /* Slate 800 */
  --ring: var(--n-acento);

  --text: #F8FAFC;  /* Slate 50 */
  --text2: var(--n-t2); /* Slate 400 */
  --text3: var(--n-t3); /* Slate 500 */

  /* Typography & Spacing (Tailwind Scale) */
  --font: 'Inter', sans-serif;
  
  /* Anti-Slop: Standardized border radius (not too round) */
  --radius: 0.75rem;     /* 12px - rounded-xl */
  --radius-sm: 0.5rem;   /* 8px - rounded-lg */
  --radius-lg: 1rem;     /* 16px - rounded-2xl */

  /* Anti-Slop: Subtle Tailwind Shadows instead of heavy drop shadows */
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); /* shadow-md */
  --shadow-orange: 0 4px 6px -1px rgba(242, 166, 90, 0.2);

  --nav-height: 4rem;      /* 64px */
  --top-bar-height: 4rem;  /* 64px */
  
  --glass: rgba(22, 20, 18, 0.6);
  --glass-border: var(--n-sup-2);
  --glass-blur: 12px;
}

/* ── ANTI-SLOP: Clean Solid Background, No Messy Mesh Gradients ── */
body {
  background-color: var(--bg);
}

/* ── TOAST NOTIFICATIONS (Elite UI 🦁) ── */
.toast-container {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 11000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  width: calc(100% - 40px);
  max-width: 400px;
}

.toast {
  background: rgba(22, 20, 18, 0.95);
  backdrop-filter: blur(12px);
  color: white;
  padding: 16px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  animation: toast-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  pointer-events: auto;
}

.toast.success { border-left: 4px solid var(--green); }
.toast.error { border-left: 4px solid var(--red); }
.toast.info { border-left: 4px solid var(--orange); }

.toast.out {
  animation: toast-out 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(-20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes toast-out {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(-20px) scale(0.95); }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ===== SPLASH ===== */
.splash-screen {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 48%, var(--n-sup) 0%, var(--n-sup) 60%, var(--n-sup) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  z-index: 99999;
  transition: opacity 0.5s, transform 0.5s;
}

.splash-screen.exit {
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
}

.splash-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: fadeUp 0.8s ease both;
}

.splash-icon {
  width: 80px;
  height: 80px;
  filter: drop-shadow(0 8px 24px rgba(242, 166, 90, 0.5));
}

.splash-icon svg {
  width: 100%;
  height: 100%;
}

.splash-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.5px;
}

.splash-subtitle {
  font-size: 14px;
  color: var(--text2);
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.splash-loader {
  width: 120px;
  height: 3px;
  background: var(--bg3);
  border-radius: 99px;
  overflow: hidden;
}

.loader-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  border-radius: 99px;
  animation: loading 2s ease forwards;
}

@keyframes loading {
  from {
    width: 0
  }

  to {
    width: 100%
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

/* ===== SCREENS ===== */
.screen {
  position: fixed;
  inset: 0;
  overflow-y: auto;
  background: var(--bg);
  z-index: 100;
  animation: screenIn 0.35s ease both;
}

.screen.hidden {
  display: none !important;
}

@keyframes screenIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.02); opacity: 0.8; }
  100% { transform: scale(1); opacity: 1; }
}

.hidden {
  display: none !important;
}

@keyframes screenIn {
  from {
    opacity: 0;
    transform: translateY(10px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

/* ===== ONBOARDING ===== */
#onboarding {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 60px 32px 48px;
  min-height: 100%;
  background: linear-gradient(160deg, #181818 0%, var(--bg) 100%);
}

.onboarding-slides {
  width: 100%;
  flex: 1;
  position: relative;
}

.onboarding-slide {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  animation: fadeUp 0.4s ease both;
}

.onboarding-slide.active {
  display: flex;
}

.onboard-illustration {
  margin-bottom: 8px;
}

.onboard-icon-wrap {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--bg2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.onboard-icon-wrap svg {
  width: 80px;
  height: 80px;
}

.onboarding-slide h2 {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
}

.onboarding-slide p {
  color: var(--text2);
  font-size: 15px;
  line-height: 1.6;
}

.onboard-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--bg4);
  transition: all 0.3s;
}

.dot.active {
  background: var(--orange);
  width: 24px;
}

.onboard-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ===== REGISTER ===== */
#registerScreen {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 48px 32px 40px;
  gap: 28px;
  overflow-y: auto;
  min-height: 100%;
}

/* ===== LOGIN ===== */
#loginScreen {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 60px 32px 40px;
  gap: 32px;
  overflow-y: auto;
}

.auth-header {
  text-align: center;
}

.auth-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-weight: 700;
  font-size: 18px;
  color: var(--orange);
}

.auth-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--orange);
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
}

.auth-header h2 {
  font-size: 24px;
  font-weight: 700;
}

.auth-header p {
  color: var(--text2);
  margin-top: 4px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Form error message */
.form-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  animation: fadeUp 0.3s ease both;
}

.form-error.hidden {
  display: none;
}


/* PIN NUMPAD */
.pin-dots { display: flex; gap: 24px;
  justify-content: center;
  margin: 12px 0;
}

.pin-dot { width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--bg4);
  border: 2px solid var(--border);
  transition: all 0.2s;
}

.pin-dot.filled {
  background: var(--orange);
  border-color: var(--orange);
  transform: scale(1.1);
}

.numpad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 340px;
  margin: 0 auto 20px;
}

.numpad.small {
  gap: 8px;
}

.num-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 70px; background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; color: var(--text); font-size: 24px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.15s;
  gap: 2px;
}

.num-btn small {
  font-size: 9px;
  color: var(--text2);
  font-weight: 400;
  letter-spacing: 1px;
}

.num-btn:active {
  background: var(--orange);
  transform: scale(0.95);
}

.num-btn.empty {
  background: transparent;
  border-color: transparent;
  pointer-events: none;
}

.delete-btn {
  font-size: 18px;
}

/* ===== PHONE INPUT ===== */
.phone-input {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  transition: border-color 0.2s;
}

.phone-input:focus-within {
  border-color: var(--orange);
}

.country-code {
  font-size: 14px;
  color: var(--text2);
  white-space: nowrap;
  padding: 14px 0;
  border-right: 1px solid var(--border);
  padding-right: 10px;
}

.phone-input input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 16px;
  font-family: var(--font);
  padding: 14px 0;
}

/* ===== BUTTONS ===== */
.btn-primary {
  position: relative;
  width: 100%;
  padding: 16px;
  background: var(--orange);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: var(--shadow-orange);
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: skewX(-25deg);
  transition: 0.5s;
}

.btn-primary:hover::after {
  left: 150%;
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(1px);
  box-shadow: none;
}

.btn-ghost {
  width: 100%;
  padding: 14px;
  background: transparent;
  color: var(--text2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-ghost:hover {
  background: var(--bg2);
  color: var(--text);
}

.btn-calc {
  max-width: 100%;
}

/* ===== FORM ===== */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.input-field {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text);
  font-size: 16px;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s;
}

.input-field:focus {
  border-color: var(--orange);
}

.select-wrap {
  position: relative;
}

.select-wrap select {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 40px 14px 16px;
  color: var(--text);
  font-size: 15px;
  font-family: var(--font);
  outline: none;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.2s;
}

.select-wrap::after {
  content: 'â–¾';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text2);
  pointer-events: none;
}

.select-wrap select:focus {
  border-color: var(--orange);
}

/* ===== MAIN APP ===== */
#mainApp {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  padding-top: max(env(safe-area-inset-top, 0px), 0px);
  min-height: var(--top-bar-height);
  box-sizing: border-box;
  background: rgba(15, 15, 15, 0.7);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: none !important;
  flex-shrink: 0;
  z-index: 1000;
  position: sticky;
  top: 0;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar-wrap {
  position: relative;
  display: inline-flex;
}

.user-avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px; /* Square with rounded corners for a more modern tech feel */
  background: linear-gradient(135deg, var(--orange) 0%, #ff8c00 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(242, 166, 90, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.user-flag-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  background: var(--bg2);
  border-radius: 60%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  border: 2px solid var(--bg);
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.user-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.greeting {
  font-size: 10px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.user-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
}

.icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  transition: all 0.2s;
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.icon-btn:hover {
  background: var(--bg3);
}

.notif-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 18px;
  height: 18px;
  background: var(--orange);
  color: white;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg);
}

.main-content {
  flex: 1;
  padding: 24px 20px 100px; /* Generous breathing room below sticky top-bar 🦁🛡️ */
  overflow-y: auto;
  position: relative;
}

/* PAGE */
.page {
  display: none;
  padding: 20px;
  animation: pageIn 0.3s ease both;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  padding-bottom: 120px; /* Garante que o último elemento é visível acima da barra 🦁 */
}

.page.active {
  display: block;
  z-index: 50;
  background: var(--bg);
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateX(20px)
  }

  to {
    opacity: 1;
    transform: translateX(0)
  }
}

/* PAGE HEADER */
.page-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.page-header h2 {
  font-size: 20px;
  font-weight: 700;
}

.page-header.no-back {
  justify-content: center;
}

.back-btn {
  width: 38px;
  height: 38px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  flex-shrink: 0;
  transition: all 0.2s;
}

.back-btn svg {
  width: 18px;
  height: 18px;
}

.back-btn:hover {
  background: var(--bg3);
}

/* ===== BALANCE CARD ===== */
.balance-card {
  position: relative;
  z-index: 10;
  width: 100%;
  background: linear-gradient(135deg, var(--n-sup) 0%, var(--n-sup) 50%, var(--n-sup) 100%);
  border-radius: 30px;
  padding: 28px;
  margin-top: 48px;
  margin-bottom: 32px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(242, 166, 90, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.balance-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: skewX(-25deg);
  animation: shimmer 4s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  20% { left: 150%; }
  100% { left: 150%; }
}

.balance-card-bg {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.balance-card-bg::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.balance-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  position: relative;
}

.balance-header span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.eye-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  padding: 4px;
}

.eye-btn svg {
  width: 20px;
  height: 20px;
}

.balance-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 20px;
  position: relative;
}

.amount-value {
  font-size: 42px;
  font-weight: 800;
  color: white;
  line-height: 1;
  letter-spacing: -1px;
  transition: filter 0.3s;
}

.amount-value.blurred {
  filter: blur(8px);
}

.amount-currency {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.balance-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.balance-footer span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.balance-footer strong {
  color: white;
}

.balance-tag {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 600;
}

/* ===== QUICK ACTIONS ===== */
.section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.quick-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  font-family: var(--font);
  padding: 0;
}

.qa-icon {
  width: 60px;
  height: 60px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
}

.quick-btn:hover .qa-icon {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 24px rgba(242, 166, 90, 0.15);
}

.qa-icon svg {
  width: 22px;
  height: 22px;
}

.qa-icon.send {
  background: rgba(242, 166, 90, 0.15);
  color: var(--orange);
}

.qa-icon.receive {
  background: rgba(34, 197, 94, 0.12);
  color: var(--green);
}

.qa-icon.topup {
  background: rgba(242, 166, 90, 0.12);
  color: var(--blue);
}

.qa-icon.calc {
  background: rgba(242, 166, 90, 0.12);
  color: var(--n-acento);
}

.quick-btn:active .qa-icon {
  transform: scale(0.9);
}

.quick-btn span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text2);
}

/* RECENT CONTACTS SECTION */
.recent-contacts-section {
  margin-bottom: 24px;
}

.contacts-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 20px;
  margin: 0 -20px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.contacts-scroll::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.contact-avatar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 64px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: transform 0.2s;
}

.contact-avatar-item:active {
  transform: scale(0.95);
}

.contact-avatar-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--orange);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.contact-avatar-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--text2);
  max-width: 64px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* PROMO BANNER */
.promo-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(242, 166, 90, 0.15), rgba(242, 166, 90, 0.05));
  border: 1px solid rgba(242, 166, 90, 0.3);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 24px;
}

.promo-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  display: block;
  margin-bottom: 4px;
}

.promo-text p {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.promo-btn {
  background: var(--orange);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.promo-btn:hover {
  background: var(--orange-dark);
}

/* SECTION HEADER */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.link-btn {
  background: none;
  border: none;
  color: var(--orange);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
}

/* ===== TRANSACTIONS ===== */
.transactions-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.transactions-list.full {
  padding: 0 0 20px;
}

.tx-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.tx-item:hover {
  border-color: var(--orange);
  background: rgba(242, 166, 90, 0.04);
}

.tx-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tx-icon svg {
  width: 20px;
  height: 20px;
}

.tx-icon.out {
  background: rgba(239, 68, 68, 0.1);
  color: var(--red);
}

.tx-icon.in {
  background: rgba(34, 197, 94, 0.1);
  color: var(--green);
}

.tx-icon.topup {
  background: rgba(242, 166, 90, 0.1);
  color: var(--blue);
}

.tx-icon.call {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
}

.tx-icon.transfer {
  background: rgba(242, 166, 90, 0.1);
  color: var(--orange);
}

.tx-info {
  flex: 1;
}

.tx-name {
  font-weight: 700;
  color: var(--text);
  font-size: 15px;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tx-badge {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 100px;
  font-weight: 700;
  text-transform: uppercase;
}
.tx-badge.pending { background: rgba(255,165,0,0.15); color: #ffa500; border: 1px solid rgba(255,165,0,0.3); }
.tx-badge.failed { background: rgba(239,68,68,0.15); color: #ef4444; border: 1px solid rgba(239,68,68,0.3); }

.tx-meta {
  font-size: 12px;
  color: var(--text2);
  margin-top: 2px;
}

.tx-amount {
  text-align: right;
}

.tx-value {
  font-size: 15px;
  font-weight: 700;
}

.tx-value.out {
  color: var(--red);
}

.tx-value.in {
  color: var(--green);
}

.tx-date {
  font-size: 11px;
  color: var(--text3);
  margin-top: 2px;
}

/* ===== STEP INDICATOR ===== */
.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  gap: 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.step span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg3);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text2);
  transition: all 0.3s;
}

.step.active span {
  background: var(--orange);
  border-color: var(--orange);
  color: white;
  box-shadow: 0 0 0 4px rgba(242, 166, 90, 0.2);
}

.step.done span {
  background: var(--green);
  border-color: var(--green);
  color: white;
}

.step label {
  font-size: 11px;
  color: var(--text2);
  font-weight: 600;
}

.step.active label {
  color: var(--orange);
}

.step-line {
  width: 50px;
  height: 2px;
  background: var(--border);
  margin-bottom: 18px;
  transition: background 0.3s;
}

/* SEND FORM */

/* RECEIVE MODES */
.receive-modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mode-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 8px;
  background: var(--bg2);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text2);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.2s;
}

.mode-btn svg {
  width: 22px;
  height: 22px;
}

.mode-btn.active {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-bg);
}

/* AMOUNT */
.amount-display-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.amount-country {
  font-size: 16px;
  font-weight: 700;
}

.amount-input {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  color: var(--text);
  font-size: 28px;
  font-weight: 800;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s;
}

.amount-input:focus {
  border-color: var(--orange);
}

.fee-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.fee-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text2);
}

.fee-row.total {
  color: var(--text);
  font-weight: 700;
  font-size: 16px;
}

.fee-highlight {
  color: var(--orange) !important;
  font-weight: 600 !important;
}

.converted-info {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fx-result {
  color: var(--text) !important;
  font-size: 15px !important;
}

.fx-result strong {
  color: var(--orange);
  font-size: 18px;
  font-weight: 800;
}

.fx-rate {
  font-size: 11px;
  color: var(--text3);
  font-style: italic;
}

.confirm-row.highlight {
  background: rgba(242, 166, 90, 0.08);
  margin: 4px -14px;
  padding: 10px 14px;
  border-radius: 4px;
}

.confirm-row.highlight strong {
  color: var(--orange);
  font-size: 16px;
}

.balance-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text2);
}

.balance-check svg {
  width: 16px;
  height: 16px;
  color: var(--green);
  flex-shrink: 0;
}

.quick-amounts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.qa-amount {
  flex: 1;
  min-width: calc(25% - 8px);
  padding: 10px 4px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.2s;
}

.qa-amount:hover,
.qa-amount.active {
  background: var(--orange);
  color: white;
  border-color: var(--orange);
}

/* AFRICA SIMPLIFIED SEND */
.africa-mode-selector {
  display: flex;
  background: var(--bg2);
  padding: 4px;
  border-radius: 12px;
  gap: 4px;
}

.phone-input-wrap {
  display: flex;
  align-items: center;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0 16px;
}

.country-prefix {
  font-weight: 700;
  color: var(--text2);
  margin-right: 8px;
}

.phone-input-wrap .input-field {
  border: none;
  background: none;
  padding: 16px 0;
}

.africa-amount-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg2);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 10px 20px;
}

.africa-amount-card .amount-input {
  flex: 1;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
}

.africa-currency {
  font-size: 20px;
  font-weight: 800;
  color: var(--orange);
}

.hint {
  font-size: 12px;
  color: var(--text3);
  margin-top: 6px;
}

.lookup-name {
  margin-top: 8px;
  font-size: 14px;
  color: var(--green);
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.lookup-name.active {
  opacity: 1;
  transform: translateY(0);
}

.glow-green {
  border-color: var(--green) !important;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.4);
  transition: all 0.3s ease;
}

/* Switch Styling */
.switch-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--n-t1);
  transition: .4s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--green);
}

input:checked + .slider:before {
  transform: translateX(20px);
}

/* CONFIRM */
.confirm-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.confirm-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.confirm-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.confirm-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.confirm-row span:first-child {
  color: var(--text2);
}

.confirm-row span:last-child {
  font-weight: 600;
}

.confirm-row.total span {
  font-size: 16px;
  font-weight: 800;
}

.confirm-row.total span:last-child {
  color: var(--orange);
}

.pin-confirm {
  text-align: center;
  padding: 16px 0;
}

.pin-confirm p {
  color: var(--text2);
  font-size: 14px;
  margin-bottom: 12px;
}

.pin-dots-small {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 16px;
}

/* ===== RECEIVE QR ===== */
.receive-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.receive-desc {
  color: var(--text2);
  text-align: center;
  font-size: 14px;
}

.qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: white;
  border-radius: var(--radius);
  padding: 24px;
}

.qr-container canvas {
  border-radius: 8px;
}

.qr-label {
  font-size: 15px;
  font-weight: 700;
  color: #333;
}

#shareBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 280px;
}

#shareBtn svg {
  width: 18px;
  height: 18px;
}

.receive-instructions {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.receive-instructions h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.receive-instructions ol {
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text2);
  font-size: 14px;
}

.receive-instructions li {
  padding-left: 4px;
}

/* ===== TOP-UP ===== */
.topup-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.operators-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.operator-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px;
  background: var(--bg2);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text2);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.2s;
}

.operator-btn.active {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-bg);
}

.op-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  color: white;
}

.orange-op {
  background: var(--purple);
}

.airtel-op {
  background: #E30613;
}

.mtn-op {
  background: #FFCB00;
  color: #333;
}

.moov-op {
  background: #0066CC;
}

.tigo-op {
  background: #00AEEF;
}

.free-op {
  background: #D0103A;
}

.topup-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.topup-amount-btn {
  padding: 12px;
  background: var(--bg2);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.2s;
}

.topup-amount-btn.active {
  background: var(--orange);
  border-color: var(--orange);
  color: white;
  box-shadow: var(--shadow-orange);
}

.topup-amount-btn:hover {
  border-color: var(--orange);
}

/* ===== CALCULATOR ===== */

.result-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.result-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.result-row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
}

.result-row strong {
  font-size: 15px;
}

.fee-val {
  color: var(--orange) !important;
}

.total-row {
  padding-top: 10px;
  border-top: 1px solid rgba(242, 166, 90, 0.2);
}

.total-row strong {
  font-size: 18px;
  color: white;
}

.result-note {
  font-size: 12px;
  color: var(--text2);
  margin-top: 12px;
}

.free-note {
  color: var(--green) !important;
  font-weight: 600;
}

/* PRICING TABLE */
.pricing-table {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-table h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text2);
}

.price-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.pc-header {
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
}

.pc-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}

.pc-row:last-child {
  border-bottom: none;
}

.pc-row strong {
  color: var(--orange);
}

.free-tag {
  color: var(--green) !important;
}

/* ===== HISTORY ===== */
.history-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.filter-btn {
  padding: 8px 16px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 99px;
  color: var(--text2);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.filter-btn.active {
  background: var(--orange);
  border-color: var(--orange);
  color: white;
}

/* ===== PROFILE ===== */
.profile-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.profile-avatar-wrap {
  position: relative;
  margin-bottom: 4px;
}

.profile-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: white;
  border: 4px solid var(--bg);
  box-shadow: 0 0 0 2px var(--orange);
}

.profile-badge {
  position: absolute;
  bottom: 0;
  right: -8px;
  background: var(--green);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 99px;
  white-space: nowrap;
}

.profile-name {
  font-size: 20px;
  font-weight: 800;
}

.profile-phone {
  color: var(--text2);
  font-size: 14px;
  margin-bottom: 12px;
}

.profile-menu {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.menu-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.menu-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0 4px 6px;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font);
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  text-align: left;
}

.menu-item:hover {
  background: var(--bg3);
}

.menu-item.danger {
  color: var(--red);
}

.menu-icon {
  width: 20px;
  color: var(--text2);
}

.menu-icon svg {
  width: 20px;
  height: 20px;
}

.menu-chevron {
  width: 16px;
  height: 16px;
  color: var(--text3);
  margin-left: auto;
}

/* ===== BOTTOM NAV ===== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(15, 15, 15, 0.7);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  border-top: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  padding: 0 8px;
  z-index: 1000;
}

.nav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: none;
  border: none;
  color: var(--text3);
  font-family: var(--font);
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 4px;
  transition: color 0.2s;
  height: 100%;
}

.nav-btn svg {
  width: 22px;
  height: 22px;
  transition: all 0.2s;
}

.nav-btn.active {
  color: var(--orange);
}

.nav-btn.active svg {
  transform: scale(1.1);
}

.nav-center {
  position: relative;
}

.nav-center-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-orange);
  margin-bottom: 2px;
  transition: all 0.2s;
}

.nav-center-btn svg {
  width: 22px;
  height: 22px;
  color: white;
}

.nav-center:active .nav-center-btn {
  transform: scale(0.92);
}

.nav-btn.active .nav-center-btn {
  background: var(--orange-dark);
}

/* ===== MODALS ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: flex-end;
  z-index: 1000;
  backdrop-filter: blur(4px);
  animation: overlayIn 0.3s ease;
}

.modal-overlay.hidden {
  display: none;
}

@keyframes overlayIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

.modal {
  background: var(--bg2);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 28px 24px 40px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  animation: slideUp 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

@keyframes slideUp {
  from {
    transform: translateY(100%)
  }

  to {
    transform: translateY(0)
  }
}

/* SUCCESS */
.success-modal {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.success-animation {
  width: 80px;
  height: 80px;
}

.checkmark {
  width: 80px;
  height: 80px;
}

.checkmark-circle {
  stroke: var(--green);
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
  stroke: var(--green);
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke-width: 3;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.5s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

.success-modal h3 {
  font-size: 22px;
  font-weight: 800;
}

.success-modal p {
  color: var(--text2);
}

.success-details {
  background: var(--bg3);
  border-radius: var(--radius-sm);
  padding: 16px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* NOTIF MODAL */
.notif-modal {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 18px;
  font-weight: 700;
}

.close-modal {
  background: none;
  border: none;
  color: var(--text2);
  font-size: 18px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}

.close-modal:hover {
  background: var(--bg3);
}

.notif-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.notif-item {
  display: flex;
  gap: 14px;
  padding: 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
}

.notif-item:hover {
  background: var(--bg3);
}

.notif-item.unread::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.notif-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notif-icon svg {
  width: 18px;
  height: 18px;
}

.notif-icon.receive-icon {
  background: rgba(34, 197, 94, 0.12);
  color: var(--green);
}

.notif-icon.promo-icon {
  background: rgba(242, 166, 90, 0.12);
  color: var(--n-acento);
}

.notif-content {
  flex: 1;
}

.notif-content strong {
  font-size: 14px;
  font-weight: 700;
  display: block;
}

.notif-content p {
  font-size: 13px;
  color: var(--text2);
  margin-top: 2px;
}

.notif-time {
  font-size: 11px;
  color: var(--text3);
  display: block;
  margin-top: 4px;
}

/* SCROLLBAR */
::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* INPUT NUMBER arrows hide */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

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

/* ===================================================
   RECHARGE PAGE â€” Carregar Saldo
   =================================================== */

/* BotÃ£o de recarga dentro de pageReceive */
.divider-or {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  color: var(--text3);
  font-size: 13px;
  margin: 4px 0;
}

.divider-or::before,
.divider-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.btn-recharge {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  background: linear-gradient(135deg, rgba(242, 166, 90, 0.08), rgba(242, 166, 90, 0.04));
  border: 1.5px solid rgba(242, 166, 90, 0.3);
  border-radius: var(--radius);
  padding: 16px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
  color: var(--text);
  font-family: var(--font);
}

.btn-recharge:hover {
  border-color: var(--orange);
  background: rgba(242, 166, 90, 0.1);
}

.btn-recharge-icon {
  width: 44px;
  height: 44px;
  background: var(--orange);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.btn-recharge-icon svg {
  width: 20px;
  height: 20px;
}

.btn-recharge-text {
  flex: 1;
}

.btn-recharge-text strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.btn-recharge-text span {
  font-size: 12px;
  color: var(--text2);
}

.chevron-right {
  width: 18px;
  height: 18px;
  color: var(--text3);
  flex-shrink: 0;
}

/* PÃ¡gina de recarga */
.recharge-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.recharge-subtitle {
  color: var(--text2);
  font-size: 14px;
  line-height: 1.6;
}

/* â”€â”€ MÃ©todos de pagamento (Europa) â”€â”€ */
.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.payment-method-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg2);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  color: var(--text);
  transition: all 0.2s;
}

.payment-method-btn.active {
  border-color: var(--orange);
  background: rgba(242, 166, 90, 0.06);
}

.payment-method-btn:hover {
  border-color: var(--orange);
}

.pm-icons {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.pm-card {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.pm-card.visa {
  background: #1434CB;
  color: white;
}

.pm-card.mc {
  background: #EB001B;
  color: white;
}

.pm-card.mbway-card {
  background: #E3001B;
  color: white;
  font-size: 10px;
}

.pm-card.paypal-card {
  background: #003087;
  color: white;
}

.pm-card.mb-card {
  background: #007BB5;
  color: white;
}

.pm-info {
  flex: 1;
}

.pm-info strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.pm-info span {
  font-size: 12px;
  color: var(--text2);
}

.pm-check {
  color: var(--orange);
  font-size: 18px;
  font-weight: 700;
}

.pm-check.hidden {
  display: none;
}

/* â”€â”€ FormulÃ¡rios cartÃ£o / MBWay / PayPal / MB â”€â”€ */
.card-form,
.mbway-form,
.paypal-form,
.multibanco-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  animation: fadeUp 0.3s ease both;
}

.card-form.hidden,
.mbway-form.hidden,
.paypal-form.hidden,
.multibanco-form.hidden {
  display: none;
}

.card-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-hint {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.5;
  padding: 10px 0;
}

/* MB preview */
.mb-preview {
  background: var(--bg3);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mb-ref-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.mb-ref-row span:first-child {
  color: var(--text2);
}

.mb-ref-row span:last-child {
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 1px;
}

/* SeguranÃ§a */
.recharge-security {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text3);
  padding: 12px 0;
}

.recharge-security svg {
  width: 16px;
  height: 16px;
  color: var(--green);
  flex-shrink: 0;
}

/* â”€â”€ MÃ©todos Ãfrica â”€â”€ */
.africa-methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.africa-method-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  color: var(--text);
  transition: all 0.2s;
}

.africa-method-card:hover {
  border-color: var(--orange);
  transform: translateX(4px);
}

.africa-method-card>svg:last-child {
  width: 18px;
  height: 18px;
  color: var(--text3);
  flex-shrink: 0;
}

.africa-method-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.africa-method-icon svg {
  width: 22px;
  height: 22px;
}

.africa-method-info {
  flex: 1;
}

.africa-method-info strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.africa-method-info span {
  font-size: 12px;
  color: var(--text2);
}

/* â”€â”€ PainÃ©is de detalhe Ãfrica â”€â”€ */
.africa-detail {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: fadeUp 0.3s ease both;
}

.africa-detail.hidden {
  display: none;
}

.africa-detail-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.africa-detail-header h3 {
  font-size: 16px;
  font-weight: 700;
}

.back-detail-btn {
  background: none;
  border: none;
  color: var(--orange);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  white-space: nowrap;
}

/* Agent steps */

.orange-text {
  color: var(--orange);
}

/* USSD */
.ussd-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 12px;
  background: var(--bg3);
  border-radius: var(--radius-sm);
}

.ussd-code {
  font-size: 22px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: 2px;
  font-family: monospace;
}

.ussd-hint p {
  font-size: 13px;
  color: var(--text2);
}

.ussd-codes {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ussd-entry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg3);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.ussd-entry-label {
  font-size: 13px;
  color: var(--text2);
}

.ussd-entry-code {
  font-size: 16px;
  font-weight: 800;
  color: var(--orange);
  font-family: monospace;
}

/* Bank info */

/* QR mini wrap */
.qr-small-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: white;
  border-radius: var(--radius-sm);
  padding: 16px;
}

.qr-small-wrap canvas {
  border-radius: 6px;
}

.qr-small-wrap p {
  font-size: 12px;
  color: #666;
}

/* ===================================================
   THREE-DOT BALANCE MENU
   =================================================== */
.balance-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
}

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

.eye-btn,
.dots-btn {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: background 0.2s;
  padding: 0;
}

.eye-btn svg,
.dots-btn svg {
  width: 16px;
  height: 16px;
}

.eye-btn:hover,
.dots-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* Premium Bottom Sheet (Drawer 🦁💎) */
.bottom-sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: flex-end;
  transition: opacity 0.3s ease;
}

.bottom-sheet-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.bottom-sheet {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  background: var(--bg2);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 32px 32px 0 0; /* Arredondamento mais premium */
  padding: 24px 24px 80px; /* Padding superior aumentado e inferior profissional */
  min-height: 480px; /* Altura mínima para ser imponente e não 'curta' */
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -20px 80px rgba(0, 0, 0, 0.8);
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.bottom-sheet-overlay.hidden .bottom-sheet {
  transform: translateY(100%);
}

.bs-handle {
  width: 36px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 99px;
  margin: 0 auto 24px;
}

.bs-header {
  text-align: center;
  margin-bottom: 24px;
}

.bs-header h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}

.bs-header p {
  font-size: 13px;
  color: var(--text2);
}

.bs-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ca-item {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 18px 20px;
  background: var(--bg3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  color: var(--text);
  font-family: var(--font);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.ca-item:active {
  transform: scale(0.97);
  background: var(--bg4);
}

.ca-item svg:not(.bd-arrow) {
  width: 22px;
  height: 22px;
  color: var(--primary);
}

.ca-item span {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ca-item span strong {
  font-size: 15px;
  font-weight: 700;
}

.ca-item span span {
  font-size: 12px;
  color: var(--text2);
}

/* Close Item Premium Styling */
.ca-item.close-item {
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

.ca-item.close-item svg {
  color: var(--text2) !important;
}

.ca-item.close-item:hover {
  background: rgba(255, 71, 87, 0.1);
  border-color: rgba(255, 71, 87, 0.3);
}

.ca-item.close-item:hover svg {
  color: #ff4757 !important;
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bd-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
}

.bd-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.bd-item>svg:first-child {
  width: 20px;
  height: 20px;
  color: var(--orange);
  flex-shrink: 0;
}

.bd-item>div {
  flex: 1;
}

.bd-item strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.bd-item span {
  font-size: 12px;
  color: var(--text2);
}

.bd-arrow {
  width: 14px;
  height: 14px;
  color: var(--text3);
}

.copy-btn {
  background: rgba(242, 166, 90, 0.1);
  border: 1px solid rgba(242, 166, 90, 0.25);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s;
}

.copy-btn:hover {
  background: rgba(242, 166, 90, 0.2);
}

.copy-btn svg {
  width: 16px;
  height: 16px;
}

/* 3D flip scene */
/* ❄ Efeito de Gelo (Frozen Card) 🦁 */

@keyframes frostPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.9; }
}

/* Efeito de Gelo (Frozen ❄️) */

@keyframes freezeIn {
  from { opacity: 0; transform: scale(0.8) rotate(-5deg); }
  to { opacity: 1; transform: scale(1) rotate(0deg); }
}

/* Glare overlay */

@keyframes glareSlide {

  0%,
  100% {
    transform: translateX(-30%);
  }

  50% {
    transform: translateX(200%);
  }
}

/* Front content */

/* Back content */

/* Reveal / hints */
.card-flip-hint {
  text-align: center;
  font-size: 13px;
  color: var(--text2);
  margin: 0;
}

.card-reveal-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.card-reveal-btn {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.card-reveal-btn svg {
  width: 18px;
  height: 18px;
  color: var(--orange);
}

.card-reveal-btn:hover {
  border-color: var(--orange);
}

/* Card info */
.card-info-grid {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: var(--bg2);
  font-size: 14px;
  border-radius: 6px;
}

.card-info-row:first-child {
  border-radius: 10px 10px 6px 6px;
}

.card-info-row:last-child {
  border-radius: 6px 6px 10px 10px;
}

.card-info-row span {
  color: var(--text2);
}

.card-info-row strong {
  color: var(--text);
  font-weight: 700;
}

.badge-active {
  color: var(--green) !important;
}

/* Card action buttons */
.card-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.card-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 8px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text2);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.card-action-btn svg {
  width: 20px;
  height: 20px;
}

.card-action-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: rgba(242, 166, 90, 0.06);
}

/* =========================================
   AFRICA DASHBOARD â€” ESTILOS COMPLETOS
   ========================================= */

/* â”€â”€ Africa Send Form â”€â”€ */

.africa-mode-selector {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

/* â”€â”€ Phone Input Wrap (Africa) â”€â”€ */
.phone-input-wrap {
  display: flex;
  align-items: center;
  background: var(--bg2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.phone-input-wrap.glow-green {
  border-color: var(--green);
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.3);
}

.country-prefix {
  padding: 14px 12px;
  background: var(--bg3);
  color: var(--orange);
  font-weight: 700;
  font-size: 14px;
  border-right: 1px solid var(--border);
  white-space: nowrap;
}

.phone-input-wrap input {
  flex: 1;
  padding: 14px 12px;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
}

/* â”€â”€ Recipient Name Lookup â”€â”€ */
.lookup-name {
  display: none;
  margin-top: 8px;
  padding: 10px 14px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--green);
  animation: fadeUp 0.3s ease both;
}

.lookup-name.active {
  display: block;
}

/* â”€â”€ Africa Amount Card â”€â”€ */
.africa-amount-card {
  display: flex;
  align-items: center;
  background: var(--bg2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.africa-amount-card .amount-input {
  flex: 1;
  padding: 14px 16px;
  background: transparent;
  border: none;
  outline: none;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  font-family: var(--font);
}

.africa-currency {
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
  background: var(--bg3);
  border-left: 1px solid var(--border);
}

/* â”€â”€ WhatsApp Share Button â”€â”€ */
.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: rgba(37, 211, 102, 0.12);
  border: 1.5px solid rgba(37, 211, 102, 0.35);
  color: #25D366;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 10px;
}

.btn-whatsapp:hover {
  background: rgba(37, 211, 102, 0.2);
}

.single-use-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin: 16px 20px;
}

.single-use-row label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.single-use-row small {
  display: block;
  font-size: 11px;
  color: var(--text2);
  margin-top: 2px;
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--bg4);
  border-radius: 99px;
  cursor: pointer;
  transition: 0.3s;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: white;
  border-radius: 50%;
  transition: 0.3s;
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--orange);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(20px);
}

.africa-methods {
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.africa-method-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 16px;
  background: var(--bg2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
}

.africa-method-card:hover,
.africa-method-card:active {
  border-color: var(--orange);
  background: rgba(242, 166, 90, 0.06);
}

.africa-method-card .method-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(242, 166, 90, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
  font-size: 20px;
}

.africa-method-card .method-text strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
}

.africa-method-card .method-text span {
  font-size: 12px;
  color: var(--text2);
}

/* â”€â”€ Input Field base (used in Africa forms) â”€â”€ */
.input-field {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.input-field:focus {
  border-color: var(--orange);
}

/* =========================================
   REQUEST MONEY â€” LINK DE PAGAMENTO (REVOLUT-STYLE)
   ========================================= */

.request-money-body {
  padding: 0 20px 120px;
}

/* Hero section */
.rm-hero {
  text-align: center;
  padding: 28px 12px 24px;
}

.rm-hero-icon {
  font-size: 52px;
  margin-bottom: 16px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.rm-hero h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}

.rm-hero p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.6;
}

.rm-hint {
  font-size: 12px;
  color: var(--text3);
  margin-top: 6px;
}

.optional-tag {
  font-size: 11px;
  font-weight: 500;
  color: var(--text3);
  background: var(--bg3);
  padding: 2px 7px;
  border-radius: 99px;
  margin-left: 6px;
}

/* Step 2 â€” Generated link */
.rm-success-icon {
  font-size: 56px;
  text-align: center;
  padding: 24px 0 8px;
}

.rm-link-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--green);
  text-align: center;
  margin-bottom: 6px;
}

.rm-link-subtitle {
  font-size: 14px;
  color: var(--text2);
  text-align: center;
  margin-bottom: 20px;
}

/* Link box with copy button */
.rm-link-box {
  display: flex;
  align-items: center;
  background: var(--bg2);
  border: 1.5px solid rgba(34, 197, 94, 0.4);
  border-radius: var(--radius-sm);
  padding: 14px 12px 14px 16px;
  margin-bottom: 14px;
  gap: 10px;
}

#rmLinkText {
  flex: 1;
  font-size: 12px;
  color: var(--green);
  word-break: break-all;
  font-family: monospace;
}

.rm-copy-btn {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 8px;
  padding: 8px;
  color: var(--green);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}

.rm-copy-btn svg {
  width: 16px;
  height: 16px;
}

.rm-copy-btn:hover {
  background: rgba(34, 197, 94, 0.25);
}

/* Details summary */
.rm-details {
  background: var(--bg2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 20px;
}

.rm-details .confirm-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.rm-details .confirm-row:last-child {
  border-bottom: none;
}

.rm-details .confirm-row span:first-child {
  color: var(--text2);
}

.rm-details .confirm-row span:last-child {
  font-weight: 600;
  color: var(--text);
}

/* Share buttons */
.rm-share-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-share-native {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: var(--bg2);
  border: 1.5px solid var(--border);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-share-native:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* btn-primary flex support */
.btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================================
   BOTTOM SHEET â€” AFRICA SEND TYPE PICKER
   ========================================= */

.bottom-sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: flex-end;
}

/* FIM DA RECONSTRUÇÃO ANTIGA - LIMPEZA REALIZADA 🦁💎 */

.bs-handle {
  width: 40px;
  height: 4px;
  background: var(--bg4);
  border-radius: 99px;
  margin: 0 auto 20px;
}

.bs-header {
  text-align: center;
  margin-bottom: 24px;
}

.bs-header h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}

.bs-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.bs-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: var(--bg3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  color: var(--text);
  font-family: var(--font);
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
}

.bs-option:active {
  transform: scale(0.98);
  background: var(--bg4);
}

.bs-opt-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.bs-opt-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.bs-opt-text strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.bs-opt-text span {
  font-size: 12px;
  color: var(--text2);
  margin-top: 2px;
}

/* FIX: Ícone de Seta (O culpado pelo erro visual 😡) */
.bs-arrow {
  width: 18px !important;
  height: 18px !important;
  color: var(--text3);
  flex-shrink: 0;
}

/* LIMPEZA TOTAL DE REDUNDÂNCIAS CONCLUÍDA 🦁💎 */

/* Hero */
.ref-hero {
  text-align: center;
  padding: 8px 0 20px;
}

.ref-hero-emoji {
  font-size: 54px;
  animation: bounce 2s infinite;
  margin-bottom: 12px;
}

.ref-hero h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.ref-hero p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.6;
}

/* Reward Cards */
.ref-reward-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.ref-reward-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 10px;
  background: rgba(242, 166, 90, 0.06);
  border: 1.5px solid rgba(242, 166, 90, 0.2);
  border-radius: var(--radius-sm);
}

.ref-reward-icon {
  font-size: 24px;
  margin-bottom: 4px;
}

.ref-reward-card strong {
  font-size: 12px;
  color: var(--text2);
}

.ref-reward-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--orange);
}

/* Countdown ring */
.ref-countdown-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 0 16px;
}

.ref-timer-ring {
  position: relative;
  width: 100px;
  height: 100px;
  margin-bottom: 8px;
}

.ref-timer-ring svg {
  width: 100%;
  height: 100%;
}

.ref-timer-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
}

.ref-timer-label {
  font-size: 12px;
  color: var(--text2);
  margin-top: 4px;
}

/* Expired state */
.ref-expired-icon {
  font-size: 52px;
  text-align: center;
  padding: 16px 0 8px;
}

.ref-expired-title {
  font-size: 20px;
  font-weight: 800;
  color: #ef4444;
  text-align: center;
  margin-bottom: 8px;
}

/* Nav center referral btn */
#navReferral .nav-center-btn {
  background: linear-gradient(135deg, var(--purple), var(--neon-blue));
}

/* =========================================
   PAGAR (AFRICA) â€” PAY PAGE
   ========================================= */

/* Method Tabs */

/* Method panels */

/* Full-width form elements inside panels */

/* QR Scanner box */
.qr-scanner-box {
  width: 240px;
  height: 240px;
  position: relative;
  margin: 24px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.qr-scanner-frame {
  width: 200px;
  height: 200px;
  position: relative;
  background: rgba(0,0,0,0.4);
  border-radius: 12px;
  overflow: hidden;
}

.qr-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: var(--orange);
  border-style: solid;
}
.qr-corner.tl { top: 8px; left: 8px; border-width: 3px 0 0 3px; border-radius: 4px 0 0 0; }
.qr-corner.tr { top: 8px; right: 8px; border-width: 3px 3px 0 0; border-radius: 0 4px 0 0; }
.qr-corner.bl { bottom: 8px; left: 8px; border-width: 0 0 3px 3px; border-radius: 0 0 0 4px; }
.qr-corner.br { bottom: 8px; right: 8px; border-width: 0 3px 3px 0; border-radius: 0 0 4px 0; }

.qr-scan-line {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  animation: scanMove 2s ease-in-out infinite;
  top: 50%;
}

@keyframes scanMove {
  0%, 100% { top: 20%; }
  50% { top: 80%; }
}

.qr-scanner-hint {
  font-size: 12px;
  color: var(--text2);
  text-align: center;
  margin-top: 14px;
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
}

/* Merchant code input */
.merchant-code-input-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.merchant-code-input {
  width: 100%;
  padding: 20px 16px;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 12px;
  text-align: center;
  background: var(--bg2);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  outline: none;
  font-family: monospace;
  transition: border-color 0.2s;
  -moz-appearance: textfield;
  appearance: textfield;
}

.merchant-code-input:focus {
  border-color: var(--orange);
}

/* Tips */
.pay-tips {
  width: 100%;
  margin-top: 24px;
  padding: 14px 16px;
  background: rgba(255,102,0,0.05);
  border: 1px solid rgba(255,102,0,0.15);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  font-size: 52px;
  text-align: center;
  padding: 16px 0 8px;
}

.ref-expired-title {
  font-size: 20px;
  font-weight: 800;
  color: #ef4444;
  text-align: center;
  margin-bottom: 8px;
}

/* Nav center referral btn */
#navReferral .nav-center-btn {
  background: linear-gradient(135deg, var(--purple), var(--neon-blue));
}

/* =========================================
   PAGAR (AFRICA) â€” PAY PAGE
   ========================================= */

/* Method Tabs */

/* Method panels */

/* Full-width form elements inside panels */

/* QR Scanner box */
.qr-scanner-box {
  width: 240px;
  height: 240px;
  position: relative;
  margin: 24px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.qr-scanner-frame {
  width: 200px;
  height: 200px;
  position: relative;
  background: rgba(0,0,0,0.4);
  border-radius: 12px;
  overflow: hidden;
}

.qr-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: var(--orange);
  border-style: solid;
}
.qr-corner.tl { top: 8px; left: 8px; border-width: 3px 0 0 3px; border-radius: 4px 0 0 0; }
.qr-corner.tr { top: 8px; right: 8px; border-width: 3px 3px 0 0; border-radius: 0 4px 0 0; }
.qr-corner.bl { bottom: 8px; left: 8px; border-width: 0 0 3px 3px; border-radius: 0 0 0 4px; }
.qr-corner.br { bottom: 8px; right: 8px; border-width: 0 3px 3px 0; border-radius: 0 0 4px 0; }

.qr-scan-line {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  animation: scanMove 2s ease-in-out infinite;
  top: 50%;
}

@keyframes scanMove {
  0%, 100% { top: 20%; }
  50% { top: 80%; }
}

.qr-scanner-hint {
  font-size: 12px;
  color: var(--text2);
  text-align: center;
  margin-top: 14px;
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
}

/* Merchant code input */
.merchant-code-input-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.merchant-code-input {
  width: 100%;
  padding: 20px 16px;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 12px;
  text-align: center;
  background: var(--bg2);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  outline: none;
  font-family: monospace;
  transition: border-color 0.2s;
  -moz-appearance: textfield;
  appearance: textfield;
}

.merchant-code-input:focus {
  border-color: var(--orange);
}

/* Tips */
.pay-tips {
  width: 100%;
  margin-top: 24px;
  padding: 14px 16px;
  background: rgba(255,102,0,0.05);
  border: 1px solid rgba(255,102,0,0.15);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pay-tips p {
  font-size: 13px;
  color: var(--text2);
  margin: 0;
}


.pay-tips strong {
  color: var(--orange);
}

/* =========================================
   SERVICES / FATURAS (AFRICA)
   ========================================= */
#pageServices {
  background: var(--bg); /* Garante fundo correto — evita ecrã preto */
}
.services-body { padding: 0 20px 120px; }
.services-subtitle { font-size: 14px; color: var(--text2); margin: 8px 0 20px; }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.service-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 20px 12px; background: var(--bg2); border: 1.5px solid var(--border);
  border-radius: var(--radius); cursor: pointer; text-align: center;
  transition: all 0.2s; color: var(--text); font-family: var(--font);
}
.service-card:hover, .service-card:active {
  border-color: var(--orange); background: rgba(255,102,0,0.06); transform: translateY(-2px);
}
.service-card strong { font-size: 13px; font-weight: 700; color: var(--text); }
.service-card span { font-size: 11px; color: var(--text2); line-height: 1.4; }
.svc-icon {
  width: 52px; height: 52px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.svc-form { padding: 16px 0 0; }
.svc-form-header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; font-size: 24px; }
.svc-form-header h3 { font-size: 20px; font-weight: 800; color: var(--text); }

/* =========================================
   RAPIMONEY LUXURY MIDNIGHT BLUE THEME (PERMANENT)
   ========================================= */
:root,
[data-theme='dark'],
body[data-theme='dark'] {
  --bg: #070E22 !important;
  --bg2: #0B1736 !important;
  --bg3: #101F48 !important;
  --bg4: #182B60 !important;
  --border: rgba(255, 255, 255, 0.08) !important;
  --text: #FFFFFF !important;
  --text2: var(--n-t2) !important;
  --text3: var(--n-t3) !important;
  --panel-bg: rgba(22, 20, 18, 0.95) !important;
}

/* =========================================
   COMPREHENSIVE GLOBAL LIGHT THEME (ANTI-GLARE & HIGH CONTRAST) ☀️
   ========================================= */
html[data-theme='light'],
html[data-theme='light'] body,
body[data-theme='light'],
html[data-theme='light'] .screen,
html[data-theme='light'] #mainApp,
html[data-theme='light'] .main-content,
html[data-theme='light'] .page,
body[data-theme='light'] .screen,
body[data-theme='light'] #mainApp,
body[data-theme='light'] .main-content,
body[data-theme='light'] .page {
  --bg: #F1F5F9 !important; /* Calming anti-glare Slate-100 */
  --bg2: #FFFFFF !important;
  --bg3: #E2E8F0 !important;
  --bg4: var(--n-t1) !important;
  --border: var(--n-t1) !important; /* Crisp visible Slate-300 borders */
  --text: #0F172A !important;
  --text2: #334155 !important;
  --text3: var(--n-t3) !important;
  --panel-bg: #FFFFFF !important;
  --glass: rgba(255, 255, 255, 0.95) !important;
  --glass-border: var(--n-t1) !important;
  background: #F1F5F9 !important;
  background-color: #F1F5F9 !important;
  color: #0F172A !important;
}

/* Initial & Auth Screens Background */
html[data-theme='light'] #regionScreen,
body[data-theme='light'] #regionScreen,
html[data-theme='light'] #countryScreen,
body[data-theme='light'] #countryScreen,
html[data-theme='light'] #onboarding,
body[data-theme='light'] #onboarding,
html[data-theme='light'] #registerScreen,
body[data-theme='light'] #registerScreen,
html[data-theme='light'] #loginScreen,
body[data-theme='light'] #loginScreen {
  background: #F1F5F9 !important;
  background-color: #F1F5F9 !important;
  color: #0F172A !important;
}

/* Primary High-Contrast Buttons */
html[data-theme='light'] .btn-primary,
body[data-theme='light'] .btn-primary,
html[data-theme='light'] #onboardNext,
body[data-theme='light'] #onboardNext,
html[data-theme='light'] #registerBtn,
body[data-theme='light'] #registerBtn,
html[data-theme='light'] #loginReqPinBtn,
body[data-theme='light'] #loginReqPinBtn,
html[data-theme='light'] #loginSubmitPinBtn,
body[data-theme='light'] #loginSubmitPinBtn,
html[data-theme='light'] #forgotSubmitBtn,
body[data-theme='light'] #forgotSubmitBtn,
html[data-theme='light'] #verifyOtpBtn,
body[data-theme='light'] #verifyOtpBtn {
  background: linear-gradient(135deg, var(--n-sup-2) 0%, var(--n-sup) 100%) !important;
  color: #FFFFFF !important;
  border: 1px solid var(--n-sup-2) !important;
  box-shadow: 0 4px 14px rgba(242, 166, 90, 0.35) !important;
  font-weight: 700 !important;
}
html[data-theme='light'] .btn-primary:active,
body[data-theme='light'] .btn-primary:active {
  background: var(--n-sup) !important;
  transform: scale(0.98);
}

/* Ghost / Secondary High-Contrast Buttons */
html[data-theme='light'] .btn-ghost,
body[data-theme='light'] .btn-ghost,
html[data-theme='light'] #onboardSkip,
body[data-theme='light'] #onboardSkip,
html[data-theme='light'] #goLogin,
body[data-theme='light'] #goLogin,
html[data-theme='light'] #loginBackBtn,
body[data-theme='light'] #loginBackBtn,
html[data-theme='light'] #forgotBackBtn,
body[data-theme='light'] #forgotBackBtn {
  background: #FFFFFF !important;
  color: #0F172A !important;
  border: 1.5px solid var(--n-t1) !important;
  box-shadow: 0 2px 6px rgba(22, 20, 18, 0.06) !important;
  font-weight: 600 !important;
}
html[data-theme='light'] .btn-ghost:active,
body[data-theme='light'] .btn-ghost:active {
  background: #E2E8F0 !important;
  border-color: var(--n-t2) !important;
}

/* Numpad & OTP Buttons */
html[data-theme='light'] .num-btn,
body[data-theme='light'] .num-btn,
html[data-theme='light'] .otp-btn,
body[data-theme='light'] .otp-btn {
  background: #FFFFFF !important;
  border: 1.5px solid var(--n-t1) !important;
  color: #0F172A !important;
  box-shadow: 0 2px 6px rgba(22, 20, 18, 0.08) !important;
  font-weight: 700 !important;
}
html[data-theme='light'] .num-btn small,
body[data-theme='light'] .num-btn small {
  color: #475569 !important;
  font-weight: 600 !important;
}
html[data-theme='light'] .num-btn:active,
body[data-theme='light'] .num-btn:active {
  background: var(--n-sup-2) !important;
  color: #FFFFFF !important;
  border-color: var(--n-acento) !important;
  transform: scale(0.96) !important;
}
html[data-theme='light'] .num-btn:active small,
body[data-theme='light'] .num-btn:active small {
  color: #DBEAFE !important;
}
html[data-theme='light'] .num-btn.empty,
body[data-theme='light'] .num-btn.empty {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

/* PIN Dots */
html[data-theme='light'] .pin-dot,
body[data-theme='light'] .pin-dot {
  border: 2px solid var(--n-t2) !important;
  background: #FFFFFF !important;
}
html[data-theme='light'] .pin-dot.filled,
body[data-theme='light'] .pin-dot.filled {
  background: var(--n-sup-2) !important;
  border-color: var(--n-acento) !important;
  box-shadow: 0 2px 8px rgba(242, 166, 90, 0.4) !important;
}

/* Input Fields & Selects */
html[data-theme='light'] input,
html[data-theme='light'] select,
html[data-theme='light'] textarea,
html[data-theme='light'] .input-field,
body[data-theme='light'] input,
body[data-theme='light'] select,
body[data-theme='light'] textarea,
body[data-theme='light'] .input-field {
  background: #FFFFFF !important;
  border: 1.5px solid var(--n-t1) !important;
  color: #0F172A !important;
  box-shadow: 0 1px 4px rgba(22, 20, 18, 0.04) !important;
}
html[data-theme='light'] input::placeholder,
body[data-theme='light'] input::placeholder {
  color: var(--n-t3) !important;
}
html[data-theme='light'] input[type="date"],
body[data-theme='light'] input[type="date"] {
  color-scheme: light !important;
  background: #FFFFFF !important;
  color: #0F172A !important;
}

/* Phone Input & Country Trigger */
html[data-theme='light'] .phone-input,
body[data-theme='light'] .phone-input {
  background: #FFFFFF !important;
  border: 1.5px solid var(--n-t1) !important;
  box-shadow: 0 2px 6px rgba(22, 20, 18, 0.04) !important;
}
html[data-theme='light'] .country-code,
body[data-theme='light'] .country-code {
  background: #F1F5F9 !important;
  border-right: 1.5px solid var(--n-t1) !important;
  color: #0F172A !important;
  font-weight: 700 !important;
}
html[data-theme='light'] #regCountryTrigger,
body[data-theme='light'] #regCountryTrigger,
html[data-theme='light'] #loginCountryBtn,
body[data-theme='light'] #loginCountryBtn,
html[data-theme='light'] #forgotCountryBtn,
body[data-theme='light'] #forgotCountryBtn {
  background: #FFFFFF !important;
  border: 1.5px solid var(--n-t1) !important;
  color: #0F172A !important;
  box-shadow: 0 2px 6px rgba(22, 20, 18, 0.04) !important;
}
html[data-theme='light'] #regCountryLabel,
body[data-theme='light'] #regCountryLabel,
html[data-theme='light'] #loginCountryDial,
body[data-theme='light'] #loginCountryDial,
html[data-theme='light'] #forgotCountryDial,
body[data-theme='light'] #forgotCountryDial {
  color: #0F172A !important;
}

/* Login Tabs */
html[data-theme='light'] .login-tabs,
body[data-theme='light'] .login-tabs {
  background: #E2E8F0 !important;
  border: 1.5px solid var(--n-t1) !important;
  padding: 4px !important;
  border-radius: 14px !important;
}
html[data-theme='light'] .login-tab,
body[data-theme='light'] .login-tab {
  color: #475569 !important;
  font-weight: 600 !important;
}
html[data-theme='light'] .login-tab.active,
body[data-theme='light'] .login-tab.active {
  background: #FFFFFF !important;
  color: var(--n-acento) !important;
  box-shadow: 0 2px 8px rgba(22, 20, 18, 0.1) !important;
  font-weight: 700 !important;
}

/* Region Buttons */
html[data-theme='light'] .region-btn,
body[data-theme='light'] .region-btn {
  background: #FFFFFF !important;
  border: 2px solid var(--n-t1) !important;
  box-shadow: 0 4px 14px rgba(22, 20, 18, 0.08) !important;
}
html[data-theme='light'] .region-btn strong,
body[data-theme='light'] .region-btn strong {
  color: #0F172A !important;
}

/* Onboarding Carousel */
html[data-theme='light'] .onboard-icon-wrap,
body[data-theme='light'] .onboard-icon-wrap {
  background: #FFFFFF !important;
  border: 1.5px solid var(--n-t1) !important;
  box-shadow: 0 4px 16px rgba(22, 20, 18, 0.08) !important;
}
html[data-theme='light'] .onboarding-slide h2,
body[data-theme='light'] .onboarding-slide h2 {
  color: #0F172A !important;
}
html[data-theme='light'] .onboarding-slide p,
body[data-theme='light'] .onboarding-slide p {
  color: #475569 !important;
}
html[data-theme='light'] .dot,
body[data-theme='light'] .dot {
  background: var(--n-t1) !important;
}
html[data-theme='light'] .dot.active,
body[data-theme='light'] .dot.active {
  background: var(--n-sup-2) !important;
  box-shadow: 0 2px 6px rgba(242, 166, 90, 0.4) !important;
}

/* Back buttons */
html[data-theme='light'] .back-btn,
body[data-theme='light'] .back-btn {
  background: #FFFFFF !important;
  border: 1.5px solid var(--n-t1) !important;
  color: #0F172A !important;
  box-shadow: 0 2px 8px rgba(22, 20, 18, 0.06) !important;
}

/* Top Bar */
html[data-theme='light'] .top-bar,
body[data-theme='light'] .top-bar {
  background: rgba(255, 255, 255, 0.95) !important;
  border-bottom: 1.5px solid var(--n-t1) !important;
  color: #0F172A !important;
}
html[data-theme='light'] .top-bar .user-name,
body[data-theme='light'] .top-bar .user-name {
  color: #0F172A !important;
}
html[data-theme='light'] .top-bar .greeting,
body[data-theme='light'] .top-bar .greeting {
  color: var(--n-t3) !important;
}
html[data-theme='light'] .top-bar .icon-btn,
body[data-theme='light'] .top-bar .icon-btn {
  background: #F1F5F9 !important;
  border: 1px solid var(--n-t1) !important;
  color: #0F172A !important;
}

/* Bottom Navigation */
html[data-theme='light'] .bottom-nav,
body[data-theme='light'] .bottom-nav {
  background: rgba(255, 255, 255, 0.95) !important;
  border-top: 1.5px solid var(--n-t1) !important;
  box-shadow: 0 -4px 20px rgba(22, 20, 18, 0.06) !important;
}
html[data-theme='light'] .bottom-nav .nav-btn,
body[data-theme='light'] .bottom-nav .nav-btn {
  color: var(--n-t3) !important;
}
html[data-theme='light'] .bottom-nav .nav-btn.active,
body[data-theme='light'] .bottom-nav .nav-btn.active {
  color: var(--n-acento) !important;
}

/* Balance Card */
html[data-theme='light'] .balance-card,
body[data-theme='light'] .balance-card {
  background: linear-gradient(135deg, var(--n-sup-2) 0%, var(--n-sup) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 16px 36px rgba(242, 166, 90, 0.28) !important;
  color: #FFFFFF !important;
}
html[data-theme='light'] .balance-card *,
body[data-theme='light'] .balance-card * {
  color: #FFFFFF !important;
}

/* Quick Action Buttons on Home */
html[data-theme='light'] .quick-btn span,
body[data-theme='light'] .quick-btn span {
  color: #0F172A !important;
}
html[data-theme='light'] #qa-recharge-main .qa-icon,
body[data-theme='light'] #qa-recharge-main .qa-icon {
  background: linear-gradient(135deg, var(--n-sup-2) 0%, var(--n-sup-2) 100%) !important;
  box-shadow: 0 8px 20px rgba(242, 166, 90, 0.3) !important;
  border: 1px solid rgba(242, 166, 90, 0.2) !important;
}
html[data-theme='light'] #qa-internet-main .qa-icon,
body[data-theme='light'] #qa-internet-main .qa-icon {
  background: linear-gradient(135deg, var(--n-sup-2) 0%, var(--n-sup-2) 100%) !important;
  box-shadow: 0 8px 20px rgba(242, 166, 90, 0.3) !important;
  border: 1px solid rgba(242, 166, 90, 0.2) !important;
  color: #FFFFFF !important;
}

/* Cards & Containers */
html[data-theme='light'] .card,
html[data-theme='light'] .card-item,
html[data-theme='light'] .operator-card,
html[data-theme='light'] .service-card,
html[data-theme='light'] .tx-item,
html[data-theme='light'] .profile-card,
html[data-theme='light'] .menu-item,
html[data-theme='light'] #onboardingChecklist,
html[data-theme='light'] .onboarding-card,
body[data-theme='light'] .card,
body[data-theme='light'] .card-item,
body[data-theme='light'] .operator-card,
body[data-theme='light'] .service-card,
body[data-theme='light'] .tx-item,
body[data-theme='light'] .profile-card,
body[data-theme='light'] .menu-item,
body[data-theme='light'] #onboardingChecklist,
body[data-theme='light'] .onboarding-card {
  background: #FFFFFF !important;
  border: 1.5px solid var(--n-t1) !important;
  color: #0F172A !important;
  box-shadow: 0 4px 16px rgba(22, 20, 18, 0.05) !important;
}

html[data-theme='light'] .onboarding-step,
body[data-theme='light'] .onboarding-step {
  background: #F8FAFC !important;
  border-color: var(--n-t1) !important;
}
html[data-theme='light'] .step-title,
body[data-theme='light'] .step-title {
  color: #0F172A !important;
}
html[data-theme='light'] .step-desc,
body[data-theme='light'] .step-desc {
  color: var(--n-t3) !important;
}

/* Headings & Text */
html[data-theme='light'] h1,
html[data-theme='light'] h2,
html[data-theme='light'] h3,
html[data-theme='light'] .page-title,
html[data-theme='light'] .page-header h2,
body[data-theme='light'] h1,
body[data-theme='light'] h2,
body[data-theme='light'] h3,
body[data-theme='light'] .page-title,
body[data-theme='light'] .page-header h2 {
  color: #0F172A !important;
}

/* =========================================
   PIN SECURITY OVERLAY
   ========================================= */
.pin-overlay {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: opacity 0.3s, visibility 0.3s;
}
.pin-overlay.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.pin-container { text-align: center; width: 100%; max-width: 320px; padding: 20px; }
.pin-icon { font-size: 40px; margin-bottom: 16px; animation: bounce 2s infinite; }
.pin-title { font-size: 22px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.pin-subtitle { font-size: 14px; color: var(--text2); margin-bottom: 32px; }

.pin-dots { display: flex; justify-content: center; gap: 24px; margin-bottom: 40px; }
.pin-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--orange); transition: background 0.2s; }
.pin-dot.filled { background: var(--orange); }
.pin-dot.error { border-color: var(--red); background: var(--red); animation: shake 0.4s; }

.pin-numpad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 320px; margin: 0 auto; padding-bottom: 20px; }
.pin-numpad button {
  width: 76px; height: 76px; margin: 0 auto;
  border-radius: 50%; background: var(--bg2); border: none;
  font-size: 24px; font-weight: 600; color: var(--text);
  font-family: var(--font);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.1s;
}
.pin-numpad button:active { background: var(--orange); color: white; transform: scale(0.95); }
.pin-numpad button[data-key="cancel"], .pin-numpad button[data-key="back"] { font-size: 20px; color: var(--text3); background: transparent; }
.pin-numpad button[data-key="cancel"]:active, .pin-numpad button[data-key="back"]:active { color: var(--text); background: var(--bg3); }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  50% { transform: translateX(8px); }
  75% { transform: translateX(-4px); }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* =========================================
   RAPIGRUPOS & CARD PREMIUM (LION'S ROAR)
   ========================================= */

/* Groups Stepper */
.groups-stepper { display: flex; justify-content: space-between; margin-bottom: 24px; position: relative; }
.groups-stepper::before { content: ''; position: absolute; top: 12px; left: 0; right: 0; height: 2px; background: var(--border); z-index: 1; }
.step-dot { 
  width: 26px; height: 26px; border-radius: 50%; background: var(--bg3); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800;
  position: relative; z-index: 2; transition: 0.3s; color: var(--text3);
}
.step-dot.active { background: var(--orange); border-color: var(--orange); color: white; box-shadow: 0 0 10px rgba(255,102,0,0.4); }
.step-dot.done { background: var(--green); border-color: var(--green); color: white; }

/* Member List */
.member-chip {
  display: flex; align-items: center; gap: 12px; background: var(--bg2); padding: 12px; border-radius: 12px; margin-bottom: 8px;
  border: 1px solid var(--border); animation: slideIn 0.3s ease both; position: relative;
}
.member-avatar { 
  width: 40px; height: 40px; border-radius: 50%; background: var(--orange); 
  display: flex; align-items: center; justify-content: center; font-weight: 800; color: white; font-size: 16px;
  background-size: cover; background-position: center;
}
.member-info { flex: 1; }
.member-name { font-size: 14px; font-weight: 700; color: var(--text); }
.member-age { font-size: 11px; color: var(--text2); }

/* Timeline/Payout Order */
.payout-timeline { margin: 24px 0; border-left: 2px dashed var(--border); padding-left: 24px; margin-left: 12px; }
.timeline-item { position: relative; margin-bottom: 30px; }
.timeline-item::before { 
  content: ''; position: absolute; left: -31px; top: 4px; width: 14px; height: 14px; 
  border-radius: 50%; background: var(--bg); border: 3px solid var(--border); transition: 0.3s;
}
.timeline-item.active::before { border-color: var(--orange); background: var(--orange); box-shadow: 0 0 10px var(--orange); transform: scale(1.2); }
.timeline-item.paid::before { border-color: var(--green); background: var(--green); }

.timeline-content {
  background: var(--bg2); padding: 16px; border-radius: 16px; border: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.timeline-left { display: flex; flex-direction: column; gap: 4px; }
.timeline-badge { font-size: 10px; font-weight: 800; text-transform: uppercase; color: var(--orange); }
.timeline-user { font-size: 16px; font-weight: 800; color: var(--text); }

.card-brand-badges { display: flex; gap: 12px; margin-top: 20px; justify-content: center; opacity: 0.9; }
.brand-icon { 
  width: 36px; height: 36px; border-radius: 10px; background: white; padding: 6px; 
  display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.2s;
}
.brand-icon:hover { transform: translateY(-3px); }
.brand-icon svg { width: 100%; height: 100%; object-fit: contain; }

@keyframes slideIn { from { opacity: 0; transform: translateX(-15px); } to { opacity: 1; transform: translateX(0); } }


/* =========================================
   RAPICRÉDITO DASHBOARD
   ========================================= */
.credit-content { padding: 0 20px 120px; }
.credit-score-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; text-align: center; }
.score-header { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 700; color: var(--text2); margin-bottom: 12px; }
.score-info-btn { width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--border); background: var(--bg3); color: var(--text3); font-size: 11px; cursor: pointer; }
.score-gauge-wrap { position: relative; width: 140px; margin: 0 auto; }
.score-gauge { width: 100%; }
.score-value { position: absolute; bottom: 0; left: 0; right: 0; display: flex; flex-direction: column; margin-top: -10px; }
#scoreNum { font-size: 28px; font-weight: 800; color: var(--text); line-height: 1; }
.score-value small { font-size: 11px; color: var(--green); font-weight: 700; margin-top: 4px; }
.score-hint { font-size: 12px; color: var(--text3); margin-top: 16px; line-height: 1.5; }
.credit-limit-banner { background: linear-gradient(135deg, rgba(242, 166, 90, 0.15), rgba(242, 166, 90, 0.05)); border: 1px solid rgba(242, 166, 90, 0.2); border-radius: var(--radius-sm); padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.limit-info label { font-size: 12px; color: var(--orange); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.limit-info h3 { font-size: 22px; font-weight: 800; color: var(--text); }
.limit-icon { font-size: 28px; }
.loan-selection { margin-bottom: 24px; }
.section-label { display: block; font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.loan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.loan-card { background: var(--bg2); border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 16px; text-align: left; cursor: pointer; transition: all 0.2s; }
.loan-card.active { border-color: var(--orange); background: rgba(242, 166, 90, 0.08); box-shadow: 0 4px 12px rgba(242, 166, 90, 0.15); }
.loan-amt { font-size: 18px; font-weight: 800; color: var(--text); }
.loan-curr { font-size: 11px; color: var(--text3); margin-top: 2px; }
.loan-fee { font-size: 11px; color: var(--orange); margin-top: 8px; font-weight: 600; }
.credit-conditions { background: var(--bg3); border-radius: 12px; padding: 16px; margin-bottom: 20px; }
.cond-item { display: flex; justify-content: space-between; padding: 4px 0; font-size: 13px; }
.cond-item span { color: var(--text2); }
.cond-item strong { color: var(--text); }

/* =========================================
   RAPIPAKOTES (BUNDLES) UI
   ========================================= */
.bundle-operators { display: flex; gap: 10px; margin-bottom: 20px; padding: 0 4px; }
.bundle-op-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; background: var(--bg2); border: 1.5px solid var(--border); border-radius: var(--radius-sm); color: var(--text); font-weight: 700; font-size: 14px; cursor: pointer; transition: all 0.2s; }
.bundle-op-btn.active { border-color: var(--orange); background: rgba(255,102,0,0.1); }
.op-dot { width: 10px; height: 10px; border-radius: 50%; }
.op-dot.orange { background: var(--purple); }
.op-dot.blue { background: #007bff; }
.bundle-group { margin-bottom: 24px; }
.group-title { font-size: 14px; font-weight: 700; color: var(--text2); margin-bottom: 12px; padding-left: 4px; }
.bundle-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bundle-card { background: var(--bg2); border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 14px; text-align: left; cursor: pointer; transition: all 0.2s; position: relative; }
.bundle-card.active { border-color: var(--orange); background: rgba(255,102,0,0.06); }
.bundle-card .b-name { font-size: 16px; font-weight: 800; color: var(--text); }
.bundle-card .b-desc { font-size: 11px; color: var(--text3); margin-top: 2px; }
.bundle-card .b-price { font-size: 13px; font-weight: 700; color: var(--orange); margin-top: 10px; }
.bundle-card.active::after { content: "✓"; position: absolute; top: 10px; right: 10px; color: var(--orange); font-weight: 900; }

/* =========================================
   RAPISIM eSIM BANNER
   ========================================= */
.rapisim-banner { background: linear-gradient(135deg, #111 0%, #333 100%); border-radius: 12px; padding: 16px; margin-bottom: 24px; display: flex; align-items: center; justify-content: space-between; color: white; border: 1px solid rgba(255,102,0,0.3); box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.rs-info h4 { font-size: 15px; font-weight: 800; color: var(--purple); display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.badge-new { font-size: 9px; padding: 2px 6px; background: var(--purple); color: white; border-radius: 4px; font-weight: 900; }
.rs-info p { font-size: 12px; opacity: 0.8; }
.btn-rs { background: var(--purple); color: white; border: none; border-radius: 8px; padding: 8px 16px; font-weight: 700; font-size: 13px; cursor: pointer; transition: 0.2s; }
.btn-rs:active { transform: scale(0.95); }

/* =========================================
   RAPIMONEY EUROPA BANNER (Send from Africa)
   ========================================= */
.rapimoney-eu-banner { display:flex; align-items:center; gap:14px; background:linear-gradient(135deg,rgba(242, 166, 90,0.12),rgba(242, 166, 90,0.04)); border:1.5px solid rgba(242, 166, 90,0.3); border-radius:14px; padding:14px 16px; margin-bottom:20px; }
.reu-icon { font-size:28px; flex-shrink:0; }
.reu-text { flex:1; }
.reu-text strong { display:block; font-size:14px; font-weight:800; color:var(--text); }
.reu-text span { font-size:12px; color:var(--text2); margin-top:3px; display:block; }
.reu-text b { color:var(--n-acento); }

/* =========================================
   RAPIGRUPOS TONTINA DIGITAL
   ========================================= */
/* Toggles Premium 🦁 */
.toggle-switch {
  width: 44px;
  height: 24px;
  background: var(--bg4);
  border-radius: 12px;
  position: relative;
  transition: all 0.3s;
  cursor: pointer;
  border: 1px solid var(--border);
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: #666;
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toggle-switch.active {
  background: rgba(255,102,0,0.2);
  border-color: var(--orange);
}

.toggle-switch.active::after {
  background: var(--orange);
  transform: translateX(20px);
  box-shadow: 0 0 10px rgba(255,102,0,0.4);
}

/* Dark Mode Switch Specific */
#darkModeToggle.active {
  background: rgba(242, 166, 90,0.15);
  border-color: var(--blue);
}
#darkModeToggle.active::after {
  background: var(--blue);
}

/* === PROVIDER CARDS (LEGAL SECTION) 🦁 === */
.provider-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: 0.2s;
  margin-bottom: 8px;
}

.provider-card:active {
  transform: scale(0.98);
  background: var(--bg3);
}

.provider-card strong {
  font-size: 14px;
  color: var(--text);
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.provider-card span {
  font-size: 12px;
  color: var(--text3);
  font-weight: 500;
  letter-spacing: 0.2px;
}
/* ===== ALCATEIA (REFERRAL PRO) 🦁 ===== */
.alcateia-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.alc-stat-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.alc-stat-val {
  font-size: 22px;
  font-weight: 800;
  color: var(--orange);
}
.alc-stat-label {
  font-size: 11px;
  color: var(--text3);
  font-weight: 600;
  text-transform: uppercase;
}
.alcateia-hero {
  background: linear-gradient(135deg, rgba(242, 166, 90, 0.12) 0%, rgba(255, 150, 0, 0.05) 100%);
  border: 1px dashed var(--orange);
  border-radius: 24px;
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.alc-hero-icon {
  font-size: 40px;
  filter: drop-shadow(0 4px 10px rgba(255,102,0,0.3));
}
.alc-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--bg2);
  border-radius: 16px;
  margin-bottom: 10px;
  border: 1px solid var(--border);
}
.alc-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg3);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.alc-info {
  flex: 1;
}
.alc-name {
  font-weight: 700;
  font-size: 14px;
}
.alc-meta {
  font-size: 11px;
  color: var(--text3);
}
.alc-status {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 100px;
}
.alc-status.active { background: rgba(34,197,94,0.1); color: var(--green); }
.alc-status.pending { background: rgba(255,102,0,0.1); color: var(--orange); }

/* ===== CLAIM PAGE 🔗 ===== */
.sender-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--orange);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(255,102,0,0.4);
}
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--bg3);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── ONBOARDING CHECKLIST 🦁 ── */
.onboarding-card {
  background: var(--bg2);
  border-radius: 20px;
  padding: 20px;
  border: 1px solid var(--border);
}
.onboarding-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.onboarding-title { font-size: 16px; font-weight: 800; color: var(--text); }
.onboarding-sub { font-size: 12px; color: var(--text2); margin-top: 2px; }
.onboarding-progress-bar { background: var(--bg3); border-radius: 100px; height: 6px; margin-bottom: 16px; overflow: hidden; }
.onboarding-bar-fill { background: linear-gradient(90deg, var(--orange), #ff8c00); height: 100%; border-radius: 100px; transition: width 0.5s ease; }
.onboarding-steps { display: flex; flex-direction: column; gap: 10px; }
.onboarding-step { display: flex; align-items: center; gap: 12px; background: var(--bg); border-radius: 14px; padding: 12px; cursor: pointer; transition: transform 0.15s; }
.onboarding-step:active { transform: scale(0.98); }
.onboarding-step[data-done="true"] { opacity: 0.55; cursor: default; }
.step-icon { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: var(--bg2); border-radius: 10px; font-size: 18px; flex-shrink: 0; }
.step-icon.done { background: rgba(34,197,94,0.1); }
.step-info { flex: 1; }
.step-title { font-size: 13px; font-weight: 700; color: var(--text); }
.step-desc { font-size: 11px; color: var(--text3); margin-top: 2px; }
.step-chevron { width: 16px; height: 16px; color: var(--text3); flex-shrink: 0; }

/* ── AVATAR PHOTO ── */
#profileAvatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* ── BETTING HUB 🎮 ── */
.betting-banner {
  background: linear-gradient(135deg, var(--orange), #ff8c00);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 24px;
  color: white;
  box-shadow: 0 10px 20px rgba(242, 166, 90, 0.2);
}
.betting-banner-icon { font-size: 32px; }
.betting-banner-content h4 { margin: 0; font-size: 16px; font-weight: 800; }
.betting-banner-content p { margin: 4px 0 0; font-size: 12px; opacity: 0.9; }

.betting-list { display: flex; flex-direction: column; gap: 12px; }
.bet-card {
  background: var(--bg2);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.2s;
}
.bet-card:active { transform: scale(0.98); }
.bet-card-icon { font-size: 24px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--bg); border-radius: 12px; }
.bet-card-info { flex: 1; }
.bet-card-name { font-weight: 700; font-size: 14px; }
.bet-card-bonus { font-size: 12px; font-weight: 600; margin-top: 2px; }
.bet-card-action { color: var(--text2); font-size: 18px; }

/* ===== MODO COMERCIANTE & KYC STYLES 🦁 ===== */
.merchant-theme {
  --orange: var(--n-acento);
  --orange-dark: var(--n-acento);
  --orange-light: var(--n-acento);
  --orange-bg: rgba(242, 166, 90, 0.08);
  --shadow-orange: 0 4px 20px rgba(242, 166, 90, 0.25);
}

.merchant-theme .user-avatar {
  background: linear-gradient(135deg, var(--n-sup-2) 0%, var(--n-sup-2) 100%);
  box-shadow: 0 4px 12px rgba(242, 166, 90, 0.3);
}

.toggle-switch {
  width: 44px;
  height: 24px;
  background: var(--bg4);
  border-radius: 20px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s;
}

.toggle-switch::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background: white;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: transform 0.3s;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.toggle-switch.active {
  background: var(--green);
}

.toggle-switch.active::after {
  transform: translateX(20px);
}

#kycProgressBarFill {
  box-shadow: 0 0 10px var(--orange);
}

.select-wrap { position: relative; }
.select-wrap::after { content: '▼'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--text3); font-size: 12px; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 40px !important; }


/* --- PREMIUM CARD GOLD VISUALS --- */

@keyframes shine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

/* Efeito flutuante VIP */

@keyframes floatVip {
  0% { transform: translateY(0px) rotateX(0) rotateY(0); }
  50% { transform: translateY(-10px) rotateX(2deg) rotateY(2deg); box-shadow: 0 25px 40px rgba(212, 175, 55, 0.5); }
  100% { transform: translateY(0px) rotateX(0) rotateY(0); }
}


/* =========================================
   WALLET LIST (CARTEIRA)
   ========================================= */

.wallet-card-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--surface-light);
  border-radius: 16px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
  border: 1px solid rgba(255,255,255,0.05);
}
.wallet-card-item:hover {
  background: var(--surface-hover);
  transform: scale(1.02);
}

.wallet-mini-card {
  width: 60px;
  height: 40px;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 4px 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Variants */
.wallet-mini-card.mini-standard { background: linear-gradient(135deg, #111 0%, #333 100%); }
.wallet-mini-card.mini-premium { background: linear-gradient(135deg, #FFD700 0%, #FDB931 100%); color: #000 !important; }
.wallet-mini-card.mini-disposable { background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%); }

.wallet-mini-card svg {
  width: 20px;
  height: 10px;
  opacity: 0.8;
}
.wallet-mini-card.mini-premium svg { opacity: 0.5; }

.wallet-card-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.wallet-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.wallet-card-subtitle {
  font-size: 13px;
  color: var(--text-muted);
}





/* ===== LANGUAGE SELECTION BOTTOM SHEET 🌍 ===== */
#overlayLanguages {
  z-index: 99999 !important;
}

#sheetLanguages {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.45);
  padding: 20px 20px 36px;
  max-height: 80vh;
}

.lang-options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--bg3);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.lang-option:hover {
  background: var(--bg4);
  border-color: rgba(242, 166, 90, 0.4);
}

.lang-option.active {
  background: rgba(242, 166, 90, 0.08);
  border-color: var(--primary, var(--n-acento));
}

.lang-option:active {
  transform: scale(0.98);
}

.lang-flag {
  font-size: 26px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lang-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lang-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.lang-sub {
  font-size: 12px;
  color: var(--text3);
}

.radio-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--text3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  background: transparent;
}

.radio-circle.active,
.radio-circle.selected {
  border-color: var(--primary, var(--n-acento));
  background: var(--primary, var(--n-sup-2));
}

.radio-circle.active::after,
.radio-circle.selected::after {
  content: '✓';
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 900;
  display: block;
}

/* Light Theme Overrides */
body.light-theme #sheetLanguages,
[data-theme="light"] #sheetLanguages,
html[data-theme="light"] #sheetLanguages {
  background: #FFFFFF !important;
  border-top: 1px solid #E2E8F0 !important;
}

body.light-theme .lang-option,
[data-theme="light"] .lang-option,
html[data-theme="light"] .lang-option {
  background: #F8FAFC !important;
  border: 1.5px solid #E2E8F0 !important;
}

body.light-theme .lang-option:hover,
[data-theme="light"] .lang-option:hover,
html[data-theme="light"] .lang-option:hover {
  background: #EFF6FF !important;
  border-color: var(--n-acento) !important;
}

body.light-theme .lang-option.active,
[data-theme="light"] .lang-option.active,
html[data-theme="light"] .lang-option.active {
  background: #EFF6FF !important;
  border-color: var(--n-acento) !important;
}

body.light-theme .lang-name,
[data-theme="light"] .lang-name,
html[data-theme="light"] .lang-name {
  color: #0F172A !important;
}

body.light-theme .lang-sub,
[data-theme="light"] .lang-sub,
html[data-theme="light"] .lang-sub {
  color: var(--n-t3) !important;
}

body.light-theme .radio-circle,
[data-theme="light"] .radio-circle,
html[data-theme="light"] .radio-circle {
  border-color: var(--n-t1) !important;
}

body.light-theme .radio-circle.active,
body.light-theme .radio-circle.selected,
[data-theme="light"] .radio-circle.active,
[data-theme="light"] .radio-circle.selected,
html[data-theme="light"] .radio-circle.active,
html[data-theme="light"] .radio-circle.selected {
  border-color: var(--n-acento) !important;
  background: var(--n-sup-2) !important;
}
