/*TRADE*/
 .vtx-page {
    --vtx-bg: #07090f;
    --vtx-surface: #0e1420;
    --vtx-surface2: #131c2e;
    --vtx-border: rgba(255,255,255,0.08);
    --vtx-border-accent: rgba(59,130,246,0.35);
    --vtx-accent: #3b82f6;
    --vtx-accent-dim: rgba(59,130,246,0.12);
    --vtx-green: #10b981;
    --vtx-green-dim: rgba(16,185,129,0.12);
    --vtx-gold: #f59e0b;
    --vtx-gold-dim: rgba(245,158,11,0.12);
    --vtx-text: #e2e8f0;
    --vtx-muted: #d1d6dd;
    --vtx-muted2: #dbdcde;
    background: var(--vtx-bg);
    min-height: 100%;
    padding: 20px 14px 48px;
  }

  .vtx-header {
    text-align: center;
    margin-bottom: 24px;
  }
  .vtx-eyebrow {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--vtx-accent);
    margin-bottom: 6px;
  }
  .vtx-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--vtx-text);
    margin: 0 0 6px;
    letter-spacing: -0.02em;
  }
  .vtx-subtitle {
    font-size: 14px;
    color: var(--vtx-muted);
  }

  /* Tab row */
  .vtx-tab-row {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
  }
  .vtx-tab-row ion-button {
    flex: 1;
    --border-radius: 10px;
    --padding-top: 12px;
    --padding-bottom: 12px;
    --box-shadow: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0;
  }
  .vtx-btn-buy-on  { --background: #3b82f6; --color: #fff; }
  .vtx-btn-buy-off { --background: #0e1420; --color: #d3d6db; --border-width: 1px; --border-style: solid; --border-color: rgba(255,255,255,0.08); }
  .vtx-btn-sell-on  { --background: #10b981; --color: #fff; }
  .vtx-btn-sell-off { --background: #0e1420; --color: #c5c7ca; --border-width: 1px; --border-style: solid; --border-color: rgba(255,255,255,0.08); }

  /* Main panel card */
  .vtx-card {
    --background: #0e1420;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px !important;
    margin: 0;
    box-shadow: none;
  }
  .vtx-card > ion-card-content {
    padding: 0;
  }

  /* Panel header bar */
  .vtx-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    background: #131c2e;
    border-radius: 14px 14px 0 0;
  }
  .vtx-panel-title {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #d1d4d7;
  }
  .vtx-badge {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 6px;
  }
  .vtx-badge-buy  { background: rgba(59,130,246,0.12); color: #3b82f6; }
  .vtx-badge-sell { background: rgba(16,185,129,0.12); color: #10b981; }

  /* Form section padding */
  .vtx-form-pad {
    padding: 16px;
  }

  /* IonItem styling */
  .vtx-item {
    --background: #07090f;
    --background-focused: #07090f;
    --background-hover: #07090f;
    --border-color: rgba(255,255,255,0.08);
    --border-width: 1px;
    --border-radius: 10px;
    --inner-border-width: 0;
    --padding-start: 14px;
    --padding-end: 14px;
    --padding-top: 6px;
    --padding-bottom: 6px;
    --highlight-color-focused: #3b82f6;
    --highlight-height: 2px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
  }
  .vtx-item ion-label {
    --color: #d6d7d8 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    margin-bottom: 2px !important;
  }
  .vtx-item ion-input {
    --color: #e2e8f0;
    --placeholder-color: #e2e6ec;
    font-size: 15px;
  }
  .vtx-item ion-select {
    --color: #e2e8f0;
    --placeholder-color: #e6eaef;
    font-size: 14px;
    width: 100%;
  }

  /* Balance hint */
  .vtx-bal-hint {
    font-size: 14px;
    color: #d2d3d4;
    padding: 4px 14px 10px;
    background: #07090f;
    display: flex;
    gap: 4px;
    margin-top: -12px;
    margin-bottom: 12px;
    border-radius: 0 0 10px 10px;
    border: 1px solid rgba(255,255,255,0.08);
    border-top: none;
  }
  .vtx-bal-val { color: #f59e0b; font-weight: 600; }

  /* Divider */
  .vtx-divider {
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 0 16px 16px;
  }

  /* Quote card */
  .vtx-quote-card {
    --background: #131c2e;
    border: 1px solid rgba(59,130,246,0.3);
    border-radius: 12px !important;
    margin: 0 16px 16px;
    box-shadow: none;
  }
  .vtx-quote-card > ion-card-content {
    padding: 0;
  }
  .vtx-quote-card.vtx-sell-quote {
    border-color: rgba(16,185,129,0.3);
  }

  .vtx-quote-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(59,130,246,0.18);
  }
  .vtx-quote-head.vtx-sell-head {
    border-bottom-color: rgba(16,185,129,0.18);
  }
  .vtx-pulse {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #3b82f6;
    flex-shrink: 0;
    animation: vtxblink 2s ease-in-out infinite;
  }
  .vtx-pulse.vtx-sell-pulse { background: #10b981; }
  @keyframes vtxblink { 0%,100%{opacity:1} 50%{opacity:0.2} }

  .vtx-quote-head-text {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #3b82f6;
  }
  .vtx-quote-head-text.vtx-sell-text { color: #10b981; }

  .vtx-quote-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .vtx-quote-row:last-of-type { border-bottom: none; }
  .vtx-qlabel {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #b3b4b6;
  }
  .vtx-qval {
    font-size: 14px;
    font-weight: 500;
    color: #e2e8f0;
  }
  .vtx-quote-row-receive {
    background: rgba(16,185,129,0.06);
  }
  .vtx-quote-row-receive .vtx-qval {
    color: #10b981;
    font-size: 15px;
    font-weight: 700;
  }

  /* Quote action buttons */
  .vtx-quote-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 12px 14px;
    background: #0e1420;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-radius: 0 0 12px 12px;
  }
  .vtx-quote-actions ion-button {
    --border-radius: 8px;
    --box-shadow: none;
    --padding-top: 12px;
    --padding-bottom: 12px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0;
  }
  .vtx-btn-confirm { --background: #10b981; --background-activated: #059669; --color: #fff; }
  .vtx-btn-cancel  { --background: transparent; --color: #d3d4d4; --border-width: 1px; --border-style: solid; --border-color: rgba(255,255,255,0.08); }

  /* Token detail card */
  .vtx-token-card {
    --background: #07090f;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px !important;
    margin: 0 16px 16px;
    box-shadow: none;
  }
  .vtx-token-card > ion-card-content {
    padding: 14px;
  }
  .vtx-token-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
  }
  .vtx-token-left {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .vtx-tok-icon {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: #131c2e;
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: #3b82f6;
    flex-shrink: 0;
  }
  .vtx-tok-name {
    font-size: 15px;
    font-weight: 700;
    color: #e2e8f0;
    line-height: 1.2;
  }
  .vtx-tok-chain {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #dadcde;
    margin-top: 2px;
  }
  .vtx-tok-bal { text-align: right; }
  .vtx-tok-bal-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #d6dadf;
  }
  .vtx-tok-bal-value {
    font-size: 17px;
    font-weight: 700;
    color: #f59e0b;
    line-height: 1.2;
  }

  .vtx-addr-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: #131c2e;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    margin-bottom: 14px;
  }
  .vtx-addr-text {
    font-size: 14px;
    color: #ced2d7;
    font-family: monospace;
  }
  .vtx-copy-btn {
    --color: #3b82f6;
    --padding-start: 8px;
    --padding-end: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    height: auto;
    margin: 0;
  }

  .vtx-amt-label {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #c9cacd;
    display: block;
    margin-bottom: 6px;
  }
  .vtx-amt-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
    margin-bottom: 12px;
  }
  .vtx-amt-row .vtx-item {
    flex: 1;
    margin-bottom: 0;
  }
  .vtx-max-btn {
    --background: rgba(245,158,11,0.1);
    --background-activated: rgba(245,158,11,0.2);
    --color: #f59e0b;
    --border-radius: 10px;
    --border-width: 1px;
    --border-style: solid;
    --border-color: rgba(245,158,11,0.25);
    --box-shadow: none;
    --padding-start: 14px;
    --padding-end: 14px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    align-self: stretch;
    margin: 0;
  }
  .vtx-quote-btn {
    --background: #3b82f6;
    --background-activated: #2563eb;
    --color: #fff;
    --border-radius: 10px;
    --box-shadow: 0 4px 16px rgba(59,130,246,0.25);
    --padding-top: 14px;
    --padding-bottom: 14px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0;
  }

  /*END TRADE*/

.tx-home {
  font-size: 12px !important;
}

.promo-modal {
  --background: rgba(0, 0, 0, 0.65); /* dim backdrop */
}

/* CENTER CONTENT */
.promo-center {
  min-height: 100%;
  display: flex;
  align-items: center;      /* vertical center */
  justify-content: center;  /* horizontal center */
  padding: 16px;
}

/* IMAGE */
.promo-image {
  width: 100%;
  max-width: 420px;
  max-height: 65vh;
  border-radius: 14px;
  object-fit: contain;
  cursor: pointer;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* HTML PROMO */
.promo-html {
  background: var(--ion-color-light);
  border-radius: 14px;
  padding: 20px;
  max-width: 420px;
  width: 100%;
}

/* CLOSE BUTTON */
.promo-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  color: white;
}


.gc-table ion-col {
  font-size: 13px !important;
}

.stat-card-dark {
  --background: #413e3e; /* dark gray */
  --color: #ffffff;
  border-radius: 14px;
}

.stat-card-dark ion-card-title {
  color: #ffffff;
  font-weight: 600;
}

.stat-card-value {
  color: #ffffff;
}


.token-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.token-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: contain;

  background: rgba(255, 255, 255, 0.1);
  padding: 4px;

  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.token-icon:hover {
  transform: scale(1.12);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}


.rate-card {
  background: transparent;
  border-radius: 18px;
  padding: 16px;
  color: var(--ion-color-dark);
margin: 40px 0;
  box-shadow: 0 10px 25px rgba(128, 128, 128, .5);
}

.rate-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.rate-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.rate-header p {
  margin: 2px 0 0;
  font-size: 12px;
  opacity: 0.6;
}

.rate-badge {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  padding: 4px 10px;
  font-size: 11px;
  border-radius: 999px;
  font-weight: 600;
}

.rate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.rate-box {
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.rate-box.buy {
  border: 1px solid rgba(34, 197, 94, 0.5);
}

.rate-box.sell {
  border: 1px solid rgba(239, 68, 68, 0.5);
}

.rate-label {
  font-size: 15px;
  margin-bottom: 6px;
}

.rate-value {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.rate-box.buy .rate-value {
  color: #22c55e;
}

.rate-box.sell .rate-value {
  color: #ef4444;
}

.rate-sub {
  margin-top: 4px;
  font-size: 11px;
  opacity: 0.5;
}

.rate-footer {
  margin-top: 12px;
  font-size: 11px;
  opacity: 0.45;
  text-align: center;
}


.full-screen-modal {
  --width: 100%;
  --height: 100%;
  --max-width: 100%;
  --max-height: 100%;
  --border-radius: 0;
}


.wallet-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 40px 0;
}

.wallet-action {
  flex: 1;
  background: rgba(255, 255, 255, .3);
  border-radius: 18px;
  padding: 14px 8px;
  text-align: center;
  color: #222;
cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
border: rgba(34, 34, 34, 0.3) solid 1px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.wallet-action ion-icon {
  font-size: 22px;
  margin-bottom: 6px;
  color: #222;
  cursor: pointer;
}

.wallet-action span {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.9;
}

/* press effect */
.wallet-action:active {
  transform: scale(0.96);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 3px 10px rgba(0, 0, 0, 0.8);
}

html.ion-palette-dark .wallet-action ion-icon  {
  color: #fff;
}

html.ion-palette-dark .wallet-action {
    color: #fff;

    background: rgba(255, 255, 255, .1);
 
}

.tx-table-wrapper {
  width: 100%;
  overflow-x: auto;
}

.tx-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  overflow: auto !important;
}

.tx-table th {
  text-align: left;
  padding: 10px 2px;
  background: var(--ion-color-light);
  color: var(--ion-color-dark);
  font-weight: 600;
  border-bottom: 1px solid #ddd;
}

.tx-table td {
  padding: 12px 2px;
  border-bottom: 1px solid #eee;
}

.tx-table tr:hover {
  background: rgba(0, 0, 0, 0.04);
}

/* Status Badges */
.status-badge {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
}

/* Example status colors */
.status-badge.success {
  background: #d4f7d4;
  color: #2b742b !important;
}

.status-badge.pending {
  background: #fff2bf;
  color: #a07800;
}

.status-badge.failed {
  background: #ffd6d6;
  color: #c40000;
}

.pagination-row {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
}


.cashback-modal-header {
  text-align: center;
  margin-bottom: 20px;
}

.cashback-icon {
  font-size: 40px;
  color: var(--ion-color-primary);
  margin-bottom: 10px;
}

.cashback-modal-header h2 {
  font-size: 18px;
  margin: 5px 0;
}

.cashback-modal-header p {
  font-size: 14px;
  color: var(--ion-color-dark);;
}

.cashback-tier-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cashback-tier-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8f9fb;
  border-radius: 12px;
  padding: 14px 16px;
}

.cashback-tier-left,
.cashback-tier-right {
  display: flex;
  flex-direction: column;
}

.cashback-tier-left strong {
  color: #333;
}

.tier-label {
  font-size: 12px;
  color: #888;
}

.cashback-tier-arrow {
  font-size: 18px;
  color: #444;
}

.cashback-amount {
  color: var(--ion-color-success);
}

.cashback-footer {
  margin-top: 20px;
  font-size: 13px;
  color: var(--ion-color-medium);;
  text-align: center;
}





.not-logged-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

.not-logged-card {
  max-width: 400px;
  width: 100%;
  border-radius: 16px;
  box-shadow: 0px 4px 12px rgba(73, 127, 227, 0.3);
}

.not-logged-content {
  text-align: center;
}

.not-logged-icon {
  font-size: 64px;
  color: #1e90ff;
  margin-bottom: 12px;
}

.not-logged-title h2 {
  font-weight: 700;
  margin-bottom: 6px;
     color:  var(--ion-color-dark);

}

.not-logged-sub p {
    color:  var(--ion-color-dark);

  margin-bottom: 20px;
}

.not-logged-btn {
  margin-top: 10px;
  --border-radius: 12px;
}


.deposit-page {
  --padding-start: 16px;
  --padding-end: 16px;
}

.deposit-hero {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
}

.deposit-hero-icon {
  width: 40px;
}

.deposit-hero-text h2 {
  margin: 0;
  font-size: 18px;
}

.deposit-balance {
  font-size: 22px;
  font-weight: 700;
  margin: 4px 0;
}

.deposit-balance-label {
  font-size: 12px;
  opacity: 0.7;
}

.deposit-info-card {
  margin-top: 10px;
}

.deposit-account-card {
  margin-top: 16px;
}

.deposit-field {
  margin-bottom: 16px;
}

.deposit-field label {
  font-size: 12px;
  opacity: 0.7;
  display: block;
  margin-bottom: 4px;
}

.deposit-field-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.deposit-field-row ion-icon {
  font-size: 20px;
  color: var(--ion-color-primary);
  cursor: pointer;
}

.deposit-empty-card {
  margin-top: 20px;
}


.verify-modal {
  --border-radius: 18px;
}

.verify-modal-header {
  text-align: center;
  margin-bottom: 20px;
}

.verify-modal-header h2 {
  margin: 0;
  font-weight: 600;
}

.verify-modal-header p {
  font-size: 14px;
  opacity: 0.7;
}

.verify-input-item {
  --border-radius: 12px;
  margin-top: 20px;
}

.verify-resend {
  text-align: center;
  margin: 10px 0 20px;
}

.verify-confirm-btn {
  margin-top: 10px;
}


.todo-scroll-wrapper {
  position: relative;
}

/* Fade edge */
.todo-scroll-wrapper::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 48px;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0),
    var(--ion-background-color)
  );
}

/* Arrow hint */
.todo-scroll-hint {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none; /* IMPORTANT */
}

.todo-scroll-hint ion-icon {
  font-size: 16px;
  opacity: 0.9;
}


.todo-horizontal {
  margin-top: 16px;
}

.todo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.todo-header h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.todo-header span {
  font-size: 12px;
  opacity: 0.6;
}

/* Horizontal scroll */
.todo-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
}

.todo-scroll::-webkit-scrollbar {
  display: none;
}

/* Card */
.todo-card {
  min-width: 180px;
  background: var(--ion-color-light);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  cursor: pointer;
  scroll-snap-align: start;
}

.todo-card:active {
  transform: scale(0.97);
}

/* Icon */
.todo-card-icon {
  font-size: 22px;
  color: var(--ion-color-warning);
}

/* Text */
.todo-card-text {
  display: flex;
  flex-direction: column;
}

.todo-card-text strong {
  font-size: 14px;
}

.todo-card-text span {
  font-size: 12px;
  opacity: 0.7;
}

/* Remove link styles */
.todo-link-wrapper {
  display: flex;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.wallet-token-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-right: 8px;
  min-width: 90px;
}

.wallet-token-amount {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}

.wallet-token-usd {
  font-size: 12px;
  opacity: 0.6;
}


.wallet-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 16px 0 20px;
}

.wallet-header-text h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}

.wallet-header-text p {
  font-size: 13px;
  opacity: 0.65;
  margin-top: 4px;
}

/* Plus Button */
.wallet-add-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--ion-color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.wallet-add-btn ion-icon {
  font-size: 22px;
}

.wallet-add-btn:active {
  transform: scale(0.95);
}


.wallet-expand-icon {
  transition: transform 0.25s ease;
}

.wallet-expand-icon.open {
  transform: rotate(180deg);
}

/* Wrapper animation */
.wallet-chain-wrapper {
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.2s ease;
}

.wallet-chain-wrapper.expanded {
  opacity: 1;
}


.wallet-page {
  --padding-start: 14px;
  --padding-end: 14px;
}

.wallet-header {
  margin: 16px 0;
}

.wallet-header h2 {
  font-size: 20px;
  font-weight: 600;
}

.wallet-header p {
  font-size: 13px;
  opacity: 0.7;
}

.wallet-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.wallet-token-card {
  border-radius: 14px;
  padding: 14px;
  border-bottom: 2px;
  border-color: grey;
  border-style: dotted;
}

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


.wallet-token-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wallet-token-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.wallet-token-name {
  font-weight: 600;
  font-size: 15px;
}

.wallet-token-symbol {
  font-size: 12px;
  opacity: 0.6;
}

.wallet-expand-icon {
  opacity: 0.8;
}

.wallet-chain-row {
  margin-top: 10px;
  padding: 10px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wallet-chain-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wallet-chain-tag {
  background: rgba(255,255,255,0.1);
  padding: 3px 8px;
  font-size: 11px;
  border-radius: 6px;
}

.wallet-address {
  font-size: 12px;
  opacity: 0.8;
}

.wallet-copy-icon {
  font-size: 18px;
  opacity: 0.6;
}

.wallet-copy-icon:hover {
  opacity: 1;
}

.wallet-empty {
  margin-top: 10px;
  font-size: 12px;
  opacity: 0.5;
}

.wallet-empty-state {
  text-align: center;
  margin-top: 40px;
  opacity: 0.6;
}

.wallet-empty-state ion-icon {
  font-size: 48px;
  margin-bottom: 10px;
}

.wallet-cta {
  margin: 24px 0;
}



.gc-history-wrapper {
  padding: 8px;
}

.gc-history-card {
  border-radius: 14px;
  margin-bottom: 12px;
}

.gc-history-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* IMAGE */
.gc-history-image img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 10px;
  background: #f4f4f4;
}

/* DETAILS */
.gc-history-details {
  flex: 1;
}

.gc-history-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}

.gc-history-meta {
  font-size: 13px;
  color: var(--ion-color-medium);
  margin-top: 4px;
}

/* STATUS */
.gc-history-status {
  display: flex;
  align-items: center;
}

.gc-status-pill {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  text-transform: capitalize;
}

/* Example status colors (adjust to your txColor logic) */
.success {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.pending {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

.failed {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}


.gc-container {
  padding: 16px;
}

.gc-header {
  text-align: center;
  margin-bottom: 20px;
}

.gc-header h2 {
  font-weight: 700;
  margin-bottom: 4px;
}

.gc-header p {
  font-size: 14px;
  color: var(--ion-color-medium);
}

.gc-dropdown-trigger {
  border-radius: 12px;
  background: var(--ion-color-light);
}

.gc-dropdown-trigger ion-avatar img {
  object-fit: contain;
}


.gc-section {
  margin-top: 20px;
}

.gc-section-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

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

.gc-tile {
  background: var(--ion-color-light);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
}

.gc-tile.active {
  border-color: var(--ion-color-primary);
  background: #b7d1ff;
}

.gc-tile img {
  height: 32px;
  margin-bottom: 6px;
}

.gc-tile span {
  font-size: 13px;
  font-weight: 500;
}

.gc-rate {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
}

.gc-preview {
  width: 140px;
  margin: 10px auto;
  display: block;
  border-radius: 10px;
}

.gc-file-input {
  width: 100%;
}

.gc-actions {
  margin-top: 24px;
}

.gc-help {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
}

.gc-history h3 {
  font-size: 15px;
}


/* ===============================
   AMOUNT INPUT UI
   =============================== */

.amount-ui-wrapper {
  margin-top: 16px;
 
}

.amount-ui-label {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--ion-text-dark);
}

/* Card container */
.amount-ui-card {
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.18),
    rgba(171, 210, 236, 0.13)
  );
  border-radius: 22px;
  padding: 32px 20px;
  text-align: center;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
}

/* Amount row */
.amount-ui-display {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--ion-text-dark);
  position: relative;
}

/* Currency */
.amount-ui-currency {
  margin-right: 12px;
  opacity: 0.8;
}


.amount-ui-input {
  background: transparent;
  border: none;
  outline: none;

  font-size: 30px;
  font-weight: 600;
  color: var(--ion-text-dark);

  width: 180px;
  text-align: left;

  caret-color: #ff1744; /* native blinking red cursor */
}


/* Custom blinking caret */
.amount-ui-caret {
  width: 3px;
  height: 48px;
  background: #ff1744;
  margin-left: 6px;
  animation: blink 1s infinite;
}

/* Balance text */
.amount-ui-balance {
  margin-top: 18px;
  font-size: 16px;
  color: var(--ion-text-dark);
}

.amount-ui-balance-muted {
  opacity: 0.65;
}

/* Blink animation */
@keyframes blink {
  0%,
  50%,
  100% {
    opacity: 1;
  }
  25%,
  75% {
    opacity: 0;
  }
}


/* ===============================
   VENDOR GRID SELECTOR
   =============================== */

.vendor-ui-header {
  margin-bottom: 12px;
  font-size: 14px;
  opacity: 0.85;
}

/* Grid */
.vendor-ui-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 10px;
}

/* Card */
.vendor-ui-card {
  border-radius: 16px;
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;

  background: transparent;

  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.25s ease;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Logo */
.vendor-ui-logo {
  max-height: 48px;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 6px;
}

/* Name */
.vendor-ui-name {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.85;
}

/* Selected */
.vendor-ui-card.active {
  border-color: #ff9800;
  box-shadow:
    0 0 0 1px rgba(255, 152, 0, 0.7),
    0 8px 22px rgba(255, 152, 0, 0.35);
     background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.18),
    rgba(171, 210, 236, 0.13)
  );
}

/* Touch feedback */
.vendor-ui-card:active {
  transform: scale(0.96);
}

/* -------------------------------
   Responsive behavior
   ------------------------------- */
@media (max-width: 768px) {
  .vendor-ui-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}


/* ===============================
   METER TYPE SELECTOR (2-COLUMN)
   =============================== */

.meter-ui-group {
  margin-bottom: 16px;
}

.meter-ui-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  opacity: 0.85;
}

.meter-ui-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.meter-ui-card {
  border-radius: 16px;
  padding: 16px 14px;
  cursor: pointer;

  background: transparent;

  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.25s ease;
}

.meter-ui-heading {
  font-size: 15px;
  font-weight: 600;
}

.meter-ui-sub {
  font-size: 12px;
  opacity: 0.6;
  margin-top: 2px;
}

.meter-ui-card.active {
  border-color: #ff9800;
  box-shadow:
    0 0 0 1px rgba(255, 152, 0, 0.7),
    0 8px 22px rgba(255, 152, 0, 0.35);
    background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.18),
    rgba(171, 210, 236, 0.13)
  );
}

.meter-ui-card:active {
  transform: scale(0.97);
}


.airtime-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 8px 0;
}

@media (min-width: 768px) {
  .airtime-grid {
    grid-template-columns: repeat(6, 1fr); /* more compact on desktop */
    max-width: 600px;
    margin: auto;
  }
}

.airtime-item {
  background: #f7f9fb;
  border-radius: 12px;
  padding: 12px 6px;
  transition: 0.25s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.airtime-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.airtime-item.active {
  background: hsl(208, 59%, 83%);
  border: 2px solid #1976d2;
}

.airtime-icon {
  width: 38px;
  height: 38px;
  object-fit: contain;
  margin-bottom: 6px;
  transition: transform 0.3s ease;
}

.airtime-item.active .airtime-icon {
  transform: scale(0.85);
}

.airtime-label {
  font-size: 13px;
  font-weight: 600;
  color: #001f3f;
}


/* INPUT */
.data-ui-input {
  --background: rgba(255, 255, 255, 0.04);
  --border-radius: 16px;
  margin-top: 10px;
}

/* TABS */
/* ==============================
   SLIDE ANIMATION
   ============================== */

.data-ui-plan-grid {
  animation-duration: 960ms;
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.data-ui-slide-left {
  animation-name: data-slide-left;
}

.data-ui-slide-right {
  animation-name: data-slide-right;
}

@keyframes data-slide-left {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes data-slide-right {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


.data-ui-tabs {
  display: flex;
  gap: 22px;
  margin-top: 16px;
  margin-bottom: 12px;
  padding-left: 4px;
}

.data-ui-tab {
  background: none;
  border: none;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.8;
  position: relative;
  cursor: pointer;
    color: var(--ion-text-dark);

}

.data-ui-tab.active {
  opacity: 1;
}

.data-ui-tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 3px;
  background: #478ef1;
  border-radius: 2px;
}

/* PLAN CONTAINER */
.data-ui-plan-container {
  border-radius: 20px;
  padding: 14px 10px 6px;
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid;
  border-color:  var(--ion-color-primary-tint);
  margin-top: 15px;
  margin-bottom: 40px;
}

/* GRID */
.data-ui-plan-grid {
  row-gap: 14px;
}

/* PLAN CARD */
.data-ui-plan-card {
  height: 118px;
  border-radius: 18px;
  padding: 14px 12px;

 background: #b7d1ff !important;;


  border: 1px solid rgba(255, 255, 255, 0.12);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
  cursor: pointer;
  transition: all 0.22s ease;
}

html.ion-palette-dark .data-ui-plan-card  {
  background: #001f3f !important;
}

.data-ui-plan-card.selected {
  border-color: #ff2f55;
  box-shadow:
    0 0 0 1px rgba(255, 47, 85, 0.7),
    0 10px 24px rgba(255, 47, 85, 0.35);
}

/* PLAN TEXT */
.data-ui-plan-validity {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #ff6b86;
  margin-bottom: 6px;
}

.data-ui-plan-size {
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.data-ui-plan-price {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 500;
  opacity: 0.9;
}

.data-ui-plan-size {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.data-ui-plan-size-value {
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.data-ui-plan-size-unit {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.75;
  letter-spacing: 0.04em;
}


/* CONTINUE BUTTON */
.data-ui-continue-btn {
  margin-top: 22px;
  height: 54px;
  border-radius: 18px;
  font-size: 16px;
  font-weight: 600;
}

.data-ui-continue-btn:disabled {
  opacity: 0.35;
}


/* Horizontal row */
.paynaire-balance-row {
  display: flex;
  justify-content: space-between;
  align-items: center; /* <-- fund button aligns to vertical middle */
}

/* Left side block: title + amounts */
.paynaire-balance-left {
  display: flex;
  flex-direction: column;
}

/* Small chip-style button */
.paynaire-fund-chip {
  --border-radius: 10px;
  height: 32px;
  --padding-start: 12px;
  --padding-end: 12px;
  font-size: 13px;
  color: #fff !important;
  border-color: aliceblue !important;
}

.paynaire-logo {
  content: url('/assets/logo/logo-dark.png');
  height: 50px;
}

html.ion-palette-dark .paynaire-logo {
  content: url('/assets/logo/logo-white.png');
  height: 50px;
}

.theme-icon-btn {
  --padding-start: 6px;
  --padding-end: 6px;
  --color: var(--ion-color-dark);
}

.custom-menu {
  position: fixed;
  top: 0;
  left: -270px;
  width: 270px;
  height: 100%;
  background: #001f3f; /* Midnight blue */
  color: white;
  padding: 20px;
  z-index: 9999;
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
}

.custom-menu.open {
  left: 0;
}

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

.close-btn {
  background: none;
  border: none;
  font-size: 22px;
  color: white;
  cursor: pointer;
}

.menu-list {
  margin-top: 20px;
  list-style: none;
  padding: 0;
}

.menu-list li {
  padding: 12px 0;
  font-size: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-list li.logout {
  color: #ff6b6b;
}

.menu-backdrop {
  display: none;
}

.menu-backdrop.show {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
  z-index: 9990;
}

.menu-theme-toggle {
  margin-top: 20px;
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}


/* Root */
.onboardx-content {
  --background: #000;
  padding: 0;
}

/* Logo */
.onboardx-logo {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.onboardx-logo img {
  height: 40px;
}

/* Swiper */
.onboardx-swiper {
  height: 100%;
}

/* Slide */
.onboardx-slide {
  position: relative;
  height: 100vh;
  width: 100%;
  background-size: cover;
  background-position: center;
}

/* Dark gradient overlay */
.onboardx-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.25),
    rgba(0, 0, 0, 0.75)
  );
  z-index: 1;
}

/* Text container */
.onboardx-text-wrap {
  position: absolute;
  bottom: 200px;
  left: 24px;
  right: 24px;
  z-index: 2;
  color: #fff;
}

/* Title */
.onboardx-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}

/* Description */
.onboardx-text {
  font-size: 15px;
  opacity: 0.9;
  line-height: 1.6;
  max-width: 90%;
}

/* Buttons */
.onboardx-actions {
  margin-top: 32px;
}

.onboardx-actions ion-button {
  margin-bottom: 12px;
  --border-radius: 12px;
}

/* Pagination dots */
.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.6);
}

.swiper-pagination-bullet-active {
  background: #fff;
}
