/* ===========================
   ORANGE MONEY EUROPE â€” CSS
   =========================== */

:root {
  --orange: #FF6600;
  --orange-dark: #E05500;
  --orange-light: #FF8833;
  --orange-bg: rgba(255, 102, 0, 0.08);
  --green: #22C55E;
  --red: #EF4444;
  --blue: #3B82F6;

  --bg: #0F0F0F;
  --bg2: #1A1A1A;
  --bg3: #242424;
  --bg4: #2E2E2E;
  --border: rgba(255, 255, 255, 0.08);
  --text: #F5F5F5;
  --text2: #A0A0A0;
  --text3: #666;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  --font: 'Inter', sans-serif;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-orange: 0 4px 20px rgba(255, 102, 0, 0.35);

  --nav-height: 70px;
  --top-bar-height: 64px;
}

*,
*::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: linear-gradient(145deg, #1a0a00 0%, #0F0F0F 60%, #1a0500 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  z-index: 9999;
  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(255, 102, 0, 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: 16px;
  justify-content: center;
  margin: 12px 0;
}

.pin-dot {
  width: 16px;
  height: 16px;
  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: 10px;
  max-width: 300px;
  margin: 0 auto;
}

.numpad.small {
  gap: 8px;
}

.num-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 60px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 20px;
  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 {
  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);
}

.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;
  height: var(--top-bar-height);
  background: rgba(15, 15, 15, 0.85); /* Glassmorphism background */
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  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(255, 102, 0, 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: 15px 20px 100px; /* Restored original, balanced spacing 🦁🛡️ */
  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;
  width: 100%;
  background: linear-gradient(135deg, #FF6600 0%, #E05500 50%, #C04400 100%);
  border-radius: 24px;
  padding: 24px;
  margin-top: 48px;
  margin-bottom: 32px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(255, 102, 0, 0.2);
}

.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(4, 1fr);
  gap: 12px;
  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: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

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

.qa-icon.send {
  background: rgba(255, 102, 0, 0.15);
  color: var(--orange);
}

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

.qa-icon.topup {
  background: rgba(59, 130, 246, 0.12);
  color: var(--blue);
}

.qa-icon.calc {
  background: rgba(168, 85, 247, 0.12);
  color: #a855f7;
}

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

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

/* PROMO BANNER */
.promo-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(255, 102, 0, 0.15), rgba(255, 102, 0, 0.05));
  border: 1px solid rgba(255, 102, 0, 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(255, 102, 0, 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(255, 102, 0, 0.15);
  color: var(--orange);
}

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

.tx-icon.topup {
  background: rgba(59, 130, 246, 0.12);
  color: var(--blue);
}

.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(255, 102, 0, 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 */
.send-form {
  display: flex;
  flex-direction: column;
}

.send-step {
  display: none;
  flex-direction: column;
  gap: 20px;
  animation: fadeUp 0.3s ease both;
}

.send-step.active {
  display: flex;
}

/* 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;
}

.send-amount-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.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(255, 102, 0, 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;
}

.ams-btn {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  background: none;
  border: none;
  color: var(--text2);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.ams-btn.active {
  background: var(--orange);
  color: white;
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.2);
}

.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;
}

.withdraw-code {
  font-family: 'Courier New', monospace;
  letter-spacing: 2px;
}

.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: #cbd5e1;
  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: #FF6600;
}

.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 ===== */
.calc-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.calc-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-row label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.calc-result {
  background: linear-gradient(135deg, rgba(255, 102, 0, 0.1), rgba(255, 102, 0, 0.03));
  border: 1px solid rgba(255, 102, 0, 0.3);
  border-radius: var(--radius);
  padding: 20px;
  display: none;
}

.calc-result.visible {
  display: block;
  animation: fadeUp 0.3s ease both;
}

.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(255, 102, 0, 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: var(--bg);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 8px;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.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.send-icon {
  background: rgba(255, 102, 0, 0.15);
  color: var(--orange);
}

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

.notif-icon.promo-icon {
  background: rgba(168, 85, 247, 0.12);
  color: #a855f7;
}

.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(255, 102, 0, 0.08), rgba(255, 102, 0, 0.04));
  border: 1.5px solid rgba(255, 102, 0, 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(255, 102, 0, 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(255, 102, 0, 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 */
.agent-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.agent-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.agent-step span {
  width: 28px;
  height: 28px;
  background: var(--orange);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.agent-step p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.5;
  padding-top: 4px;
}

.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 */
.bank-info-card {
  background: var(--bg3);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bank-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

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

.bank-row strong {
  color: var(--text);
  font-weight: 700;
  text-align: right;
  font-size: 13px;
}

/* 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);
}

/* ===================================================
   IBAN MODAL
   =================================================== */
.iban-modal {
  max-height: 92vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 24px;
}

.iban-bank-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(255, 102, 0, 0.1), rgba(255, 102, 0, 0.04));
  border: 1px solid rgba(255, 102, 0, 0.2);
  border-radius: var(--radius-sm);
}

.iban-bank-flag {
  font-size: 28px;
  flex-shrink: 0;
}

.iban-bank-name {
  font-size: 15px;
  font-weight: 700;
}

.iban-bank-type {
  font-size: 12px;
  color: var(--text2);
}

.iban-status-badge {
  margin-left: auto;
  padding: 4px 10px;
  background: rgba(34, 197, 94, 0.15);
  color: var(--green);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.iban-field-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.iban-field {
  flex: 1;
  min-width: 0;
}

.iban-field-label {
  display: block;
  font-size: 11px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}

.iban-field-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  word-break: break-all;
}

.iban-field-value.mono {
  font-family: 'Courier New', monospace;
  letter-spacing: 2px;
  color: var(--orange);
}

.iban-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.copy-btn {
  background: rgba(255, 102, 0, 0.1);
  border: 1px solid rgba(255, 102, 0, 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(255, 102, 0, 0.2);
}

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

.iban-notice {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text2);
  line-height: 1.5;
}

.iban-notice svg {
  width: 18px;
  height: 18px;
  color: #3B82F6;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ===================================================
   VIRTUAL CARD
   =================================================== */
.card-modal {
  gap: 16px;
  max-height: 92vh;
  overflow-y: auto;
  padding-bottom: 24px;
}

/* 3D flip scene */
/* ❄ Efeito de Gelo (Frozen Card) 🦁 */
.vcard-inner.frozen {
    filter: grayscale(0.5) brightness(1.2);
    cursor: not-allowed;
}

.vcard-inner.frozen::after {
    content: "❄ ❄ ❄";
    position: absolute;
    inset: 0;
    background: rgba(180, 230, 255, 0.25);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 40px;
    font-weight: 800;
    text-shadow: 0 0 15px rgba(0, 163, 255, 0.8);
    z-index: 10;
    border-radius: 20px;
    pointer-events: none;
    animation: frostPulse 3s infinite ease-in-out;
}

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

.vcard-scene {
  width: 100%;
  max-width: 340px;
  height: 200px;
  margin: 0 auto;
  perspective: 1200px;
  cursor: pointer;
}

.vcard {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 18px;
}

.vcard.flipped {
  transform: rotateY(180deg);
}

/* Efeito de Gelo (Frozen ❄️) */
.vcard.frozen .vcard-front,
.vcard.frozen .vcard-back {
  filter: saturate(0.2) brightness(0.8);
  transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.vcard.frozen::after {
  content: "❄️ BLOQUEADO";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px) saturate(1.8);
  -webkit-backdrop-filter: blur(8px) saturate(1.8);
  border: 4px solid rgba(135, 206, 250, 0.5);
  border-radius: 18px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 24px;
  letter-spacing: 4px;
  text-shadow: 0 4px 15px rgba(0,0,0,0.5);
  animation: freezeIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.vcard-front,
.vcard-back {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  padding: 20px 24px;
  overflow: hidden;
}

.vcard-front {
  background: linear-gradient(135deg, #1a0a00 0%, #FF6600 60%, #FF8833 100%);
  box-shadow: 0 20px 60px rgba(255, 102, 0, 0.4), 0 8px 20px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.vcard-back {
  background: linear-gradient(135deg, #1a0800 0%, #cc5200 100%);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
}

/* Glare overlay */
.vcard-glare {
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.06) 50%, transparent 80%);
  pointer-events: none;
  animation: glareSlide 4s ease-in-out infinite;
}

@keyframes glareSlide {

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

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

/* Front content */
.vcard-front-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vcard-provider-logo svg {
  width: 40px;
  height: 40px;
}

.vcard-chip svg {
  width: 40px;
  height: 30px;
}

.vcard-number {
  font-family: 'Courier New', monospace;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.vcard-front-bottom {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.vcard-bottom-left,
.vcard-bottom-center {
  flex: 1;
}

.vcard-label {
  display: block;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.vcard-name,
.vcard-expiry {
  font-size: 13px;
  font-weight: 700;
  color: white;
  letter-spacing: 1px;
}

.vcard-visa-logo {
  margin-left: auto;
}

.vcard-visa-logo svg {
  width: 50px;
  height: 18px;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4));
}

/* Back content */
.vcard-stripe {
  height: 44px;
  background: rgba(0, 0, 0, 0.8);
  margin-top: 28px;
}

.vcard-back-section {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
}

.vcard-sig {
  flex: 1;
  height: 36px;
  background: repeating-linear-gradient(90deg, #ddd 0px, #ddd 3px, #f5f5f5 3px, #f5f5f5 8px);
  border-radius: 4px;
}

.vcard-cvv-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;
  border-radius: 6px;
  padding: 6px 12px;
  min-width: 52px;
}

.vcard-cvv {
  font-size: 16px;
  font-weight: 900;
  color: #111;
  letter-spacing: 3px;
  font-family: monospace;
}

.vcard-back-bottom {
  padding: 8px 20px 20px;
}

.vcard-back-bottom p {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}

/* 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(255, 102, 0, 0.06);
}

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

/* â”€â”€ Africa Send Form â”€â”€ */
.africa-send-form {
  padding: 0 20px 120px;
}

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

.ams-btn {
  flex: 1;
  padding: 12px 10px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--bg2);
  color: var(--text2);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.ams-btn.active {
  border-color: var(--orange);
  background: rgba(255, 102, 0, 0.12);
  color: var(--orange);
}

/* â”€â”€ 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 Toggle (Virtual Card) â”€â”€ */
.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 Page â€” Pay Merchant & Withdraw â”€â”€ */
.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(255, 102, 0, 0.06);
}

.africa-method-card .method-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 102, 0, 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);
}

/* â”€â”€ Withdraw Code Panel â”€â”€ */
.withdraw-code-panel {
  padding: 24px 20px;
  text-align: center;
}

.withdraw-code {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: 8px;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
  margin: 20px 0 8px;
}

.withdraw-code-label {
  font-size: 13px;
  color: var(--text2);
  margin-bottom: 24px;
}

/* â”€â”€ 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;
}

/* =========================================
   BOTTOM SHEET OPTIONS (TRANSFERÊNCIA) 🦁💎
   ========================================= */

.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(255, 102, 0, 0.06);
  border: 1.5px solid rgba(255, 102, 0, 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, #FF6600, #ff9500);
}

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

/* Method Tabs */
.pay-methods-bar {
  display: flex;
  gap: 8px;
  padding: 0 20px 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.pay-methods-bar::-webkit-scrollbar { display: none; }

.pay-method-tab {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 99px;
  border: 1.5px solid var(--border);
  background: var(--bg2);
  color: var(--text2);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.pay-method-tab.active {
  background: var(--orange);
  color: white;
  border-color: var(--orange);
}

/* Method panels */
.pay-method-panel {
  padding: 0 20px 120px;
}

.pay-panel-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pay-hero-icon {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 20px 0 12px;
}

.pay-panel-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
  text-align: center;
}

.pay-panel-sub {
  font-size: 14px;
  color: var(--text2);
  text-align: center;
  margin-bottom: 4px;
}

/* Full-width form elements inside panels */
.pay-panel-inner .form-group,
.pay-panel-inner .africa-amount-card,
.pay-panel-inner .phone-input-wrap,
.pay-panel-inner .btn-primary {
  width: 100%;
}

/* 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, #FF6600, #ff9500);
}

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

/* Method Tabs */
.pay-methods-bar {
  display: flex;
  gap: 8px;
  padding: 0 20px 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.pay-methods-bar::-webkit-scrollbar { display: none; }

.pay-method-tab {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 99px;
  border: 1.5px solid var(--border);
  background: var(--bg2);
  color: var(--text2);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.pay-method-tab.active {
  background: var(--orange);
  color: white;
  border-color: var(--orange);
}

/* Method panels */
.pay-method-panel {
  padding: 0 20px 120px;
}

.pay-panel-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pay-hero-icon {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 20px 0 12px;
}

.pay-panel-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
  text-align: center;
}

.pay-panel-sub {
  font-size: 14px;
  color: var(--text2);
  text-align: center;
  margin-bottom: 4px;
}

/* Full-width form elements inside panels */
.pay-panel-inner .form-group,
.pay-panel-inner .africa-amount-card,
.pay-panel-inner .phone-input-wrap,
.pay-panel-inner .btn-primary {
  width: 100%;
}

/* 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); }

/* =========================================
   LIGHT THEME (DARK MODE TOGGLE)
   ========================================= */
[data-theme='light'] {
  --bg: #ffffff;
  --bg2: #f4f4f5;
  --bg3: #e4e4e7;
  --text: #18181b;
  --text2: #3f3f46;
  --text3: #71717a;
  --border: #d4d4d8;
  --panel-bg: rgba(255, 255, 255, 0.9);
}

/* =========================================
   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: 16px; margin-bottom: 40px; }
.pin-dot { width: 16px; height: 16px; 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: 16px; }
.pin-numpad button {
  width: 70px; height: 70px; 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); }
}

/* Light theme enhancements */
[data-theme='light'] .nav-bar { background: rgba(255,255,255,0.95); border-top-color: #e4e4e7; }
[data-theme='light'] .card { background: #ffffff; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
[data-theme='light'] .splash-screen { background: linear-gradient(135deg, #FF6600 0%, #FF8533 100%); }
[data-theme='light'] .page-header { background: rgba(255,255,255,0.92); }
[data-theme='light'] .btn-primary { box-shadow: 0 4px 16px rgba(255,102,0,0.3); }
[data-theme='light'] .menu-item { border-bottom-color: #e4e4e7; }
[data-theme='light'] .balance-amount { color: var(--text); }
[data-theme='light'] .pin-overlay { background: #ffffff; }

/* =========================================
   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); }

/* Virtual Card Badges */
.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(255, 102, 0, 0.15), rgba(255, 102, 0, 0.05)); border: 1px solid rgba(255, 102, 0, 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(255, 102, 0, 0.08); box-shadow: 0 4px 12px rgba(255, 102, 0, 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); }
.credit-disclaimer { font-size: 11px; color: var(--text3); line-height: 1.5; text-align: center; padding: 0 10px; }

/* =========================================
   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: #FF6600; }
.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: #FF6600; display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.badge-new { font-size: 9px; padding: 2px 6px; background: #FF6600; color: white; border-radius: 4px; font-weight: 900; }
.rs-info p { font-size: 12px; opacity: 0.8; }
.btn-rs { background: #FF6600; 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(59,130,246,0.12),rgba(59,130,246,0.04)); border:1.5px solid rgba(59,130,246,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:#3B82F6; }

/* =========================================
   RAPIGRUPOS TONTINA DIGITAL
   ========================================= */
.rg-tabs { gap:0; }
.rg-tab { flex:1; padding:12px; font-size:13px; font-weight:700; background:none; border:none; color:var(--text3); cursor:pointer; border-bottom:2px solid transparent; transition:0.2s; }
.rg-tab.active { color:var(--orange); border-bottom-color:var(--orange); }
.rg-step-dot { width:10px; height:10px; border-radius:50%; background:var(--border); transition:0.3s; }
.rg-step-dot.active { background:var(--orange); transform:scale(1.3); }
.rg-step-dot.done { background:#10b981; }
.rg-summary-card { background:var(--bg2); border:1px solid var(--border); border-radius:16px; padding:16px; margin-bottom:8px; }
.rg-sum-row { display:flex; justify-content:space-between; align-items:center; padding:8px 0; border-bottom:1px solid var(--border); font-size:13px; color:var(--text2); }
.rg-sum-row:last-child { border-bottom:none; }
/* 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(59,130,246,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(255, 102, 0, 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 🔗 ===== */
.claim-card {
  background: var(--bg2);
  border-radius: 24px;
  border: 1px solid var(--border);
  padding: 32px 24px;
  margin-top: 20px;
  text-align: center;
}
.claim-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.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);
}
.claim-amount {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  margin-top: 8px;
}
.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(255, 102, 0, 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: #3B82F6;
  --orange-dark: #2563EB;
  --orange-light: #60A5FA;
  --orange-bg: rgba(59, 130, 246, 0.08);
  --shadow-orange: 0 4px 20px rgba(59, 130, 246, 0.25);
}

.merchant-theme .user-avatar {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 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);
}
