/* GCRIG Dashboard — Light Carded UI */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.css');

:root {
  --bg:#eef1f7; --card:#ffffff; --shadow:0 10px 30px rgba(0,0,0,0.06);
  --blue:#1f7bff; --teal:#22c1c3; --amber:#f59e0b; --green:#22c55e; --orange:#f97316; --red:#ef4444;
  --text:#1f2937; --muted:#7d8ca6; --border:#e5e7eb;
}

/* Hide legacy dark bars on this page only */
.gcrig-dashboard-page .page-title,
.gcrig-dashboard-page .page-header,
.gcrig-dashboard-page .header-bottom,
.gcrig-dashboard-page .app-navbar,
.gcrig-dashboard-page .dashboard-header { display:none !important; }

/* Shell & layout */
body { background:var(--bg); font-family:'Inter',sans-serif; color:var(--text); }
.g-shell.gcrig-dashboard-page { max-width:1200px; margin:0 auto; padding:18px; }
.g-topbar { background:var(--card); box-shadow:var(--shadow); border-radius:14px;
  padding:12px 16px; display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; }
.g-brand { display:flex; align-items:center; gap:10px; font-weight:700; color:var(--text); }
.g-logo-dot { width:18px; height:18px; border-radius:5px; background:linear-gradient(135deg,#1f7bff,#22c1c3); }
.g-top-actions { display:flex; gap:14px; color:var(--muted); }
.g-avatar { width:30px; height:30px; border-radius:50%; background:#d7def0; color:#4b5563;
  display:flex; align-items:center; justify-content:center; font-weight:700; }

/* Cards */
.g-card { background:var(--card); border-radius:14px; padding:18px; box-shadow:var(--shadow); border:1px solid #f0f3f8; }

/* KPI block (final) */
.kpi {
  position: relative;
  overflow: hidden;
  min-height: 110px;
  border-radius: 14px;
  border: 1px solid #eef2f7;
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}
.kpi-label { color: var(--muted); margin: 0 0 6px; font-weight: 600; font-size: 13px; }
.kpi-value { margin: 0; font-weight: 700; font-size: 28px; color: inherit; }
.kpi::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 120% 120%;
  opacity: 0.9;
}
/* Wallet – soft white */
.kpi.bg-wallet {
  background: linear-gradient(135deg,#fdfefe 0%,#f6f9ff 45%,#ecf2ff 100%);
}
/* Active – blue swoosh */
.kpi.bg-active {
  color:#fff;
  background: linear-gradient(135deg,#0e7bff 0%,#0fb0f2 55%,#1ed2d9 100%);
}
.kpi.bg-active::after {
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 140'>\
<path d='M10 95 Q60 70 110 82 T230 45' fill='none' stroke='rgba(255,255,255,0.55)' stroke-width='4' stroke-linecap='round'/>\
<path d='M10 95 Q60 70 110 82 T230 45' fill='none' stroke='rgba(255,255,255,0.22)' stroke-width='12' stroke-linecap='round'/>\
</svg>");
}
/* Pending – coral line */
.kpi.bg-pending {
  color:#fff;
  background: linear-gradient(135deg,#f9c18b 0%,#f58f57 50%,#f26c5a 100%);
}
.kpi.bg-pending::after {
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 140'>\
<path d='M8 100 Q70 85 120 60 T232 35' fill='none' stroke='rgba(255,255,255,0.55)' stroke-width='4' stroke-linecap='round'/>\
<path d='M8 100 Q70 85 120 60 T232 35' fill='none' stroke='rgba(255,255,255,0.2)' stroke-width='12' stroke-linecap='round'/>\
</svg>");
}
/* Success – mint line */
.kpi.bg-success {
  background: linear-gradient(135deg,#f1fbf7 0%,#dff4ec 45%,#cbeee0 100%);
  color:#17412c;
}
.kpi.bg-success::after {
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 140'>\
<path d='M6 105 Q70 70 128 78 T234 28' fill='none' stroke='rgba(23,193,178,0.55)' stroke-width='4' stroke-linecap='round'/>\
<path d='M6 105 Q70 70 128 78 T234 28' fill='none' stroke='rgba(23,193,178,0.20)' stroke-width='12' stroke-linecap='round'/>\
</svg>");
}
/* Text on dark gradients */
.kpi.bg-active .kpi-label, .kpi.bg-active .kpi-value,
.kpi.bg-pending .kpi-label, .kpi.bg-pending .kpi-value { color:#fff; }

/* Table */
.table-card table { color:var(--text); }
.table-card .flag { display:flex; align-items:center; gap:10px; }
.table-card .route { font-weight:600; }
.table-card .amount { font-weight:700; }
.status { padding:6px 10px; border-radius:10px; font-size:12px; font-weight:600; color:#fff; }
.badge-green { background:var(--green); } .badge-amber { background:var(--amber); }
.badge-orange { background:var(--orange); } .badge-red { background:var(--red); }

/* Route card */
.route-card .route-list { list-style:none; padding-left:0; margin:0 0 12px; }
.route-card .route-list li { margin-bottom:8px; color:var(--text); font-weight:600; }
.dot { width:10px; height:10px; border-radius:50%; display:inline-block; margin-right:8px; }
.dot.blue{background:var(--blue);} .dot.teal{background:var(--teal);} .dot.amber{background:var(--amber);}
.mini-map { background:#f5f7fb; border-radius:12px; height:120px; position:relative; overflow:hidden; }
.dashed-line { position:absolute; inset:35% 10%; border-top:2px dashed #9bb9ff; }
.map-hint { position:absolute; bottom:10px; left:12px; color:#94a3b8; font-size:12px; }

/* Actions */
.actions-card .btn { border-radius:10px; padding:10px 14px; }
.btn-primary { background:var(--blue); border:none; }
.btn-light { background:#f3f6fb; color:var(--text); border:1px solid var(--border); }

/* Hide .mobile-only on ≥768px */
.mobile-only { display: inline-flex; }
@media (min-width: 768px) {
  .mobile-only { display: none !important; }
}

/* Optional: button color */
.btn-swap { background:#e9edf5f; color:#0f172a; }
.btn-swap:hover { background:#e1e9ff; }
/* Links */
.g-link { color:var(--blue); text-decoration:none; font-weight:600; }

/* Mobile nav (light) */
.mobile-nav { background:#ffffff; box-shadow:0 -5px 20px rgba(0,0,0,0.08); }
.mobile-nav a { color:var(--muted); }
.mobile-nav a.active { color:var(--blue); }

/* Responsive */
@media (max-width:1200px){ .row.g-3 > [class*='col-'] { margin-bottom:0; } }
@media (max-width:768px){
  .g-shell.gcrig-dashboard-page { padding:12px; }
  .kpi { min-height:100px; }
}

/* =========================================================
   GCRIG KPI CARDS — matched to reference mockup
   ========================================================= */
.gcrig-kpi-row{
  --kpi-radius: 18px;
}

.gcrig-kpi{
  position: relative;
  overflow: hidden;
  min-height: 138px;
  padding: 22px 22px 18px;
  border-radius: var(--kpi-radius);
  border: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow:
    0 8px 18px rgba(15, 23, 42, 0.06),
    0 2px 4px rgba(15, 23, 42, 0.03);
  transition: transform .25s ease, box-shadow .25s ease;
  isolation: isolate;
  font-family: 'Inter', sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background-color: #ffffff;
}

.gcrig-kpi:hover{
  transform: translateY(-2px);
  box-shadow:
    0 14px 24px rgba(15, 23, 42, 0.08),
    0 4px 10px rgba(15, 23, 42, 0.04);
}

.gcrig-kpi::before,
.gcrig-kpi::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* soft highlight haze */
.gcrig-kpi::before{
  background:
    radial-gradient(circle at 18% 18%, rgba(255,255,255,0.40), transparent 34%),
    radial-gradient(circle at 85% 10%, rgba(255,255,255,0.16), transparent 34%);
  opacity: .9;
}

/* sparkline layer */
.gcrig-kpi::after{
  background-repeat: no-repeat;
  background-position: right -6px bottom -6px;
  background-size: 86% 78%;
  opacity: .95;
}

.gcrig-kpi .kpi-label,
.gcrig-kpi .kpi-value{
  position: relative;
  z-index: 1;
}

.gcrig-kpi .kpi-label{
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.gcrig-kpi .kpi-value{
  margin: 0;
  font-size: 23px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* LIGHT CARD — Wallet Balance */
.gcrig-kpi-light{
  background: linear-gradient(180deg, #fbfcfe 0%, #f3f6fb 100%);
  color: #1f2937;
}

.gcrig-kpi-light .kpi-label{
  color: #5f6c80;
}

.gcrig-kpi-light .kpi-value{
  color: #162033;
}

.gcrig-kpi-light::after{
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 150'>\
<defs>\
<linearGradient id='g' x1='0' y1='1' x2='1' y2='0'>\
<stop offset='0%' stop-color='rgba(96,165,250,0.08)'/>\
<stop offset='100%' stop-color='rgba(59,130,246,0.22)'/>\
</linearGradient>\
</defs>\
<path d='M12 124 C42 116, 66 104, 92 86 C115 70, 140 74, 165 57 C188 42, 214 26, 288 16' fill='none' stroke='rgba(59,130,246,0.16)' stroke-width='3.2' stroke-linecap='round'/>\
<path d='M12 124 C42 116, 66 104, 92 86 C115 70, 140 74, 165 57 C188 42, 214 26, 288 16 L288 150 L12 150 Z' fill='url(%23g)'/>\
</svg>");
}

/* BLUE CARD — Active Transfers */
.gcrig-kpi-blue{
  background: linear-gradient(135deg, #1282f3 0%, #18bfff 100%);
  color: #ffffff;
}

.gcrig-kpi-blue .kpi-label{
  color: rgba(255,255,255,0.92);
}

.gcrig-kpi-blue .kpi-value{
  color: #ffffff;
}

.gcrig-kpi-blue::before{
  background:
    radial-gradient(circle at 18% 22%, rgba(255,255,255,0.22), transparent 32%),
    radial-gradient(circle at 100% 0%, rgba(255,255,255,0.12), transparent 38%);
}

.gcrig-kpi-blue::after{
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 150'>\
<path d='M10 120 C40 124, 68 108, 92 92 C112 79, 138 83, 160 64 C188 41, 217 48, 290 20' fill='none' stroke='rgba(255,255,255,0.20)' stroke-width='2.6' stroke-linecap='round'/>\
<path d='M10 118 C38 120, 70 108, 93 92 C116 77, 142 80, 168 60 C194 39, 228 44, 290 18' fill='none' stroke='rgba(255,255,255,0.33)' stroke-width='3.4' stroke-linecap='round'/>\
<path d='M136 124 C170 112, 204 86, 234 52 C246 38, 266 28, 292 24' fill='none' stroke='rgba(255,255,255,0.14)' stroke-width='1.8' stroke-linecap='round'/>\
</svg>");
}

/* ORANGE CARD — Pending Transfer Routes */
.gcrig-kpi-orange{
  background: linear-gradient(180deg, #fff7f4 0%, #fff1eb 100%);
  color: #1f2937;
}

.gcrig-kpi-orange .kpi-label{
  color: #5f6c80;
}

.gcrig-kpi-orange .kpi-value{
  color: #1a2335;
}

.gcrig-kpi-orange::after{
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 150'>\
<defs>\
<linearGradient id='g2' x1='0' y1='1' x2='1' y2='0'>\
<stop offset='0%' stop-color='rgba(255,122,24,0.05)'/>\
<stop offset='100%' stop-color='rgba(255,179,71,0.14)'/>\
</linearGradient>\
</defs>\
<path d='M10 126 C34 122, 54 112, 76 104 C97 96, 116 76, 146 84 C165 89, 183 92, 205 64 C228 36, 246 40, 290 40' fill='none' stroke='rgba(255,140,92,0.30)' stroke-width='3.2' stroke-linecap='round'/>\
<circle cx='145' cy='84' r='4.3' fill='rgba(255,130,100,0.55)'/>\
<path d='M10 126 C34 122, 54 112, 76 104 C97 96, 116 76, 146 84 C165 89, 183 92, 205 64 C228 36, 246 40, 290 40 L290 150 L10 150 Z' fill='url(%23g2)'/>\
</svg>");
}

/* TEAL CARD — Success Rate */
.gcrig-kpi-teal{
  background: linear-gradient(180deg, #fbfeff 0%, #effcff 100%);
  color: #102736;
}

.gcrig-kpi-teal .kpi-label{
  color: #5f6c80;
}

.gcrig-kpi-teal .kpi-value{
  color: #162033;
}

.gcrig-kpi-teal::after{
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 150'>\
<defs>\
<linearGradient id='g3' x1='0' y1='1' x2='1' y2='0'>\
<stop offset='0%' stop-color='rgba(109,213,237,0.04)'/>\
<stop offset='100%' stop-color='rgba(128,234,255,0.14)'/>\
</linearGradient>\
</defs>\
<path d='M12 130 C38 126, 62 110, 88 92 C114 75, 136 78, 164 59 C190 40, 218 25, 288 20' fill='none' stroke='rgba(113,220,240,0.38)' stroke-width='3.2' stroke-linecap='round'/>\
<path d='M12 130 C38 126, 62 110, 88 92 C114 75, 136 78, 164 59 C190 40, 218 25, 288 20 L288 150 L12 150 Z' fill='url(%23g3)'/>\
</svg>");
}

/* optional smaller number on mobile */
@media (max-width: 991.98px){
  .gcrig-kpi{
    min-height: 126px;
    padding: 18px 18px 16px;
    border-radius: 16px;
  }

  .gcrig-kpi .kpi-label{
    font-size: 14px;
    margin-bottom: 8px;
  }

  .gcrig-kpi .kpi-value{
    font-size: 20px;
  }

  .gcrig-kpi::after{
    background-size: 92% 74%;
    background-position: right -2px bottom -8px;
  }
}

@media (max-width: 575.98px){
  .gcrig-kpi{
    min-height: 118px;
    padding: 16px;
  }

  .gcrig-kpi .kpi-value{
    font-size: 18px;
  }

  .gcrig-kpi .kpi-label{
    font-size: 13px;
  }
}

/* Recent Transfers tweaks */
.table-card .txn-id { font-weight:500; font-size:11px; color:var(--text); }
.table-card .txn-tag {
  display:inline-block; margin-top:4px; padding:3px 8px; border-radius:8px;
  font-size:11px; font-weight:700; color:#fff;
}
.table-card .txn-tag.credit { background: var(--green); }
.table-card .txn-tag.debit  { background: var(--red); }


/* Wallet KPI Cards */
.g-card.kpi {
  position: relative;
  padding: 26px 28px;
  border-radius: 22px;
  overflow: hidden;
  min-height: 168px;
  display: flex;
  align-items: center;

  background: linear-gradient(135deg, #07111F 0%, #0A1E33 100%);
  border: 1px solid rgba(255,255,255,0.05);

  box-shadow:
    0 10px 30px rgba(0,0,0,0.40),
    inset 0 1px 0 rgba(255,255,255,0.03);

  transition: all 0.35s ease;
}

.g-card.kpi:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.60),
    0 0 40px rgba(23,195,178,0.12);
}

/* Grid overlay */
.g-card.kpi::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 45px 45px;
  opacity: 0.40;
  pointer-events: none;
}

/* Glow effect */
.g-card.kpi::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  filter: blur(60px);
  opacity: 0.75;
  pointer-events: none;
}

/* Funding card glow */
.funding-card::after {
  background: radial-gradient(circle, rgba(23,195,178,0.35), transparent 70%);
}

/* Spot card glow */
.spot-card::after {
  background: radial-gradient(circle, rgba(200,168,93,0.35), transparent 70%);
}

/* Top light line */
.top-light {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
  z-index: 2;
}

/* Inner content */
.kpi-content {
  position: relative;
  z-index: 3;
}

/* Label */

.kpi-label {
  margin: 0 0 8px;
  font-size: 12px; /* reduced */
  font-weight: 500;
  letter-spacing: 0.4px;
  color: #8FA3B8;
}


.kpi-value {
  margin: 0;
  font-size: 28px; /* reduced from 34px */
  line-height: 1.2;
  font-weight: 700;
  color: #F5F7FA;
  letter-spacing: -0.4px;
}

/* Tablet */
@media (max-width: 991.98px) {
  .g-card.kpi {
    min-height: 150px;
    padding: 22px 22px;
  }

  .kpi-value {
    font-size: 30px;
  }
}

/* Mobile */
@media (max-width: 575.98px) {
  .g-card.kpi {
    min-height: 132px;
    padding: 18px 18px;
    border-radius: 18px;
  }

  .kpi-label {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .kpi-value {
    font-size: 26px;
    letter-spacing: -0.4px;
  }

  .g-card.kpi::after {
    width: 170px;
    height: 170px;
    top: -45px;
    right: -45px;
    filter: blur(45px);
  }
}

.global-top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted, #7d8ca6);
  font-size: 18px;
}
.global-top-actions i { cursor: pointer; transition: color .2s ease, transform .2s ease; }
.global-top-actions i:hover { color: var(--blue, #1f7bff); transform: translateY(-1px); }

.g-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: #d7def0; color: #4b5563;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
}
.header-right-content {
  display: flex;
  align-items: center;
  gap: 16px;      /* space between notifications and profile */
}
.user-action ul {
  display: flex;
  align-items: center;
  gap: 12px;      /* keeps bell tidy if you add more items later */
}

/* Header right cluster spacing */
.header-right-content {
  display: flex;
  align-items: center;
  gap: 16px;
}
.user-action ul {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Dark theme for bell + avatar + text */
.header-right-content,
.user-action ul li,
.global-top-actions { color: #cfd5e3; }

.notifications-drop-btn svg path { fill: #17b6fd; }
.notifications-drop-btn:hover svg path { fill: #17b6fd; }

.g-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: #2f3545;
  color: #e8ecf5;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
  border: 1px solid rgba(255,255,255,0.08);
}

/* Dark hamburger button */
.toggle-sidebar {
  background: #222733;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 8px 10px;
}
.toggle-sidebar .bar-icon svg path { fill: #cfd5e3; }
.toggle-sidebar:hover { background: #2b3040; }


.converter-card { min-height: 100%; }
.converter-grid .form-label { font-weight: 600; color: var(--muted); }
.converter-grid .form-select, .converter-grid .form-control {
  background: #e9edf5; border: 1px solid rgba(255,255,255,0.08); color: #000;
}
.converter-grid .form-select:focus, .converter-grid .form-control:focus {
  border-color: #7bb0ff; box-shadow: 0 0 0 0.15rem rgba(123,176,255,0.25);
}
.fx-result {
  background: linear-gradient(135deg, #e9edf5, #e9edf5);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 14px;
  color: #000;
}
.fx-rate-value, .fx-total-value { font-weight: 600; color: #000 !important; font-size: 17px; }
.fx-rate-label, .fx-total-label { font-size: 12px; }


.form-select {
  background: #1d2230;
  border: 1px solid rgba(255,255,255,0.08);
  color: #ffffff;          /* white text in the field */
}

.form-select option {
  color: #111;             /* dropdown list text (lighter bg on native menus) */
}

.form-select option {
  background: #1d2230;
  color: #ffffff;
}

.g-card.actions-card {
  padding: 16px;           /* add breathing room */
  overflow: hidden;        /* prevent spillover */
}

.action-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
}

/* Mobile: stack */
@media (max-width: 767px) {
  .action-row {
    grid-template-columns: 1fr;
  }
}

.action-btn {
  width: 100%;
  min-height: 52px;
  font-weight: 700;
  font-size: 16px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  white-space: nowrap;     /* keeps text on one line */
  padding: 0 14px;
}

/* Colors */
.btn-transfer  { background:#1c8c5f; color:#fff; }
.btn-withdraw  { background:#1f7bff; color:#fff; }
.btn-fund      { background:#e9edf5; color:#111; }
.actions-card .btn-swap {
  background:#e9edf5 !important;
  color:#0f172a !important;
  border-color:#e9edf5 !important;
}


/* Hover */
.btn-transfer:hover  { background:#16734f; color:#fff; }
.btn-withdraw:hover  { background:#1766d1; color:#fff; }
.btn-fund:hover      { background:#d9e0eb; color:#0b172a; }
.actions-card .btn-swap:hover {
  background:#dbe3ed !important;
  color:#0f172a !important;
  border-color:#dbe3ed !important;
}
.converter-card { background: #fff; } /* keep your dark card */
.converter-head h6 { color: #e8ecf5; font-weight: 700; }
.converter-head small { color: #b8c2d8 !important; }

.converter-card .card-head {
  color: #ffffff !important;   /* force white for all text inside */
  gap: 8px;
  margin-bottom: 10px;
}

.converter-card .card-head h6 {
  color: #000 !important;
  font-weight: 800;
  margin: 0;
}

.converter-card .card-head small {
  color: #cfd5e3 !important;
}


.chart-card{
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 22px 22px 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.chart-card::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15,23,42,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,0.025) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
  opacity: .35;
}

.chart-card-head{
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.chart-eyebrow{
  margin: 0 0 4px;
  font-size: 11px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: #7c8aa5;
}

.chart-title{
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
}

.chart-status-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eef6ff;
  color: #1d4ed8;
  border: 1px solid rgba(29, 78, 216, 0.12);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.status-dot{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.chart-metrics{
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.metric-chip{
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 150px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.metric-chip.primary{
  background: linear-gradient(135deg, rgba(31,123,255,0.08), rgba(31,123,255,0.02));
}

.metric-chip.warning{
  background: linear-gradient(135deg, rgba(245,158,11,0.12), rgba(245,158,11,0.03));
}

.metric-chip.neutral{
  background: linear-gradient(135deg, rgba(15,23,42,0.04), rgba(15,23,42,0.015));
}

.metric-label{
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: #7c8aa5;
}

.metric-value{
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.chart-wrap{
  position: relative;
  z-index: 2;
  width: 100%;
  height: 320px;
  margin-top: 4px;
}

.chart-legend{
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.legend-item{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #334155;
  font-weight: 500;
}

.legend-dot{
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.legend-dot.blue{
  background: #1f7bff;
}

.legend-dot.amber{
  background: #f59e0b;
}

@media (max-width: 991.98px){
  .chart-card-head{
    flex-direction: column;
    align-items: flex-start;
  }

  .chart-wrap{
    height: 280px;
  }
}

@media (max-width: 575.98px){
  .chart-card{
    padding: 18px 16px 16px;
    border-radius: 18px;
  }

  .chart-title{
    font-size: 17px;
  }

  .metric-chip{
    min-width: calc(50% - 5px);
    padding: 10px 12px;
  }

  .chart-wrap{
    height: 240px;
  }

  .chart-legend{
    gap: 10px;
    flex-direction: column;
  }
}


/* Wallet summary responsive text */
.kpi-label { font-size: 15px; }
.kpi-value { font-size: 22px; font-weight: 700; }

@media (max-width: 575.98px) { /* phones */
  .kpi-label { font-size: 13px; }
  .kpi-value { font-size: 18px; }
}

/* Wallet summary text */
.kpi-label { font-size: 14px; }
.kpi-value { font-size: 20px; font-weight: 700; }

@media (max-width: 575.98px) { /* phones */
  .kpi-label { font-size: 12px; }
  .kpi-value { font-size: 17px; }
}


.transfer-shell{
  background:#f5f7fb;
  padding:24px;
  border-radius:14px;
}

.transfer-header .title{
  font-weight:700;
  color:#0f172a;
}

.eyebrow{
  color:#7c8aa5;
  font-size:13px;
}

.transfer-card{
  background:#fff;
  border-radius:14px;
  padding:18px;
  box-shadow:0 12px 30px rgba(0,0,0,0.04);
}

.block-label{
  display:block;
  margin-bottom:8px;
  font-weight:600;
  color:#0f172a;
}

.picker,
.amount-picker{
  display:flex;
  align-items:center;
  gap:10px;
  background:#f2f4f8;
  border:1px solid #e9edf5;
  border-radius:12px;
}

.picker.slim{
  min-height:52px;
  padding:8px 12px;
}

.amount-picker.slim{
  min-height:52px;
  padding:8px 12px;
  justify-content:space-between;
}

.picker .flag,
.amount-picker .flag{
  flex:0 0 auto;
  font-size:18px;
  line-height:1;
}

.picker .form-select,
.currency-side .form-select{
  background-color:transparent;
  padding-left:0;
  font-weight:600;
  color:#0f172a;
}

.currency-side{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:260px;
  flex:1 1 52%;
}

.amount-side{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:220px;
  flex:1 1 48%;
}

.input-group.compact{
  flex-wrap:nowrap;
}

.input-group.compact .input-group-text{
  background:#fff;
  border:1px solid #dbe2ee;
  border-right:0;
  height:40px;
  font-weight:700;
  color:#0f172a;
  min-width:52px;
  justify-content:center;
}

.input-group.compact .form-control{
  height:40px;
  border:1px solid #dbe2ee;
  font-weight:700;
  color:#0f172a;
}

.eq-block{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
  min-height:18px;
  font-size:13px;
}

.eqv{
  color:#7c8aa5;
  font-weight:600;
}

.balance-row{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:8px;
  font-size:13px;
  flex-wrap:wrap;
}

.balance-row .bold{
  font-weight:700;
  color:#0f172a;
}

.text-link{
  background:none;
  border:0;
  color:#1f7bff;
  font-weight:600;
  padding:0;
}

.bank-section .section-title{
  color:#0f172a;
  font-weight:700;
}

.footer-row{
  border-top:1px solid #eef1f6;
  padding-top:14px;
}

.transfer-btn{
  min-width:180px;
}

.muted{
  color:#7c8aa5;
}

.input-description{
  color:#7c8aa5;
  font-size:12px;
  margin-top:6px;
}

.form-control,
.form-select{
  border-radius:10px;
}

@media (max-width: 991px){
  .amount-picker.slim{
    flex-direction:column;
    align-items:stretch;
  }

  .currency-side,
  .amount-side{
    min-width:100%;
  }

  .eq-block{
    justify-content:flex-start;
  }
}

@media (max-width: 575.98px){
  .transfer-shell{
    padding:16px;
  }

  .transfer-card{
    padding:15px;
  }

  .picker.slim,
  .amount-picker.slim{
    min-height:auto;
    padding:8px 10px;
  }

  .input-group.compact .input-group-text,
  .input-group.compact .form-control{
    height:38px;
  }
}

.transfer-shell{
  background:#f5f7fb;
  padding:24px;
  border-radius:14px;
}

.transfer-header .title{
  font-weight:700;
  color:#0f172a;
}

.eyebrow{
  color:#7c8aa5;
  font-size:13px;
}

.transfer-card{
  background:#fff;
  border-radius:14px;
  padding:18px;
  box-shadow:0 12px 30px rgba(0,0,0,0.04);
}

.block-label{
  display:block;
  margin-bottom:8px;
  font-weight:600;
  color:#0f172a;
}

.picker,
.amount-picker{
  display:flex;
  align-items:center;
  gap:10px;
  background:#f2f4f8;
  border:1px solid #e9edf5;
  border-radius:12px;
}

.picker.slim{
  min-height:52px;
  padding:8px 12px;
}

.amount-picker.slim{
  min-height:52px;
  padding:8px 12px;
  justify-content:space-between;
}

.picker .flag,
.amount-picker .flag{
  flex:0 0 auto;
  font-size:18px;
  line-height:1;
}

.picker .form-select,
.currency-side .form-select{
  background-color:transparent;
  font-weight:600;
  color:#0f172a;
  border:0;
  box-shadow:none;
  padding-left:0;
  padding-right:34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 10px center;
  background-size:14px;
  -webkit-appearance:none;
  -moz-appearance:none;
  appearance:none;
}

.currency-side{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:260px;
  flex:1 1 52%;
}

.amount-side{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:220px;
  flex:1 1 48%;
}

.input-group.compact{
  flex-wrap:nowrap;
}

.input-group.compact .input-group-text{
  background:#fff;
  border:1px solid #dbe2ee;
  border-right:0;
  height:40px;
  font-weight:700;
  color:#0f172a;
  min-width:52px;
  justify-content:center;
}

.input-group.compact .form-control{
  height:40px;
  border:1px solid #dbe2ee;
  font-weight:700;
  color:#0f172a;
}

.eq-block{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
  min-height:18px;
  font-size:13px;
}

.eqv{
  color:#7c8aa5;
  font-weight:600;
}

.balance-row{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:8px;
  font-size:13px;
  flex-wrap:wrap;
}

.balance-row .bold{
  font-weight:700;
  color:#0f172a;
}

.text-link{
  background:none;
  border:0;
  color:#1f7bff;
  font-weight:600;
  padding:0;
}

.bank-section .section-title{
  color:#0f172a;
  font-weight:700;
}

.footer-row{
  border-top:1px solid #eef1f6;
  padding-top:14px;
}

.transfer-btn{
  min-width:180px;
}

.muted{
  color:#7c8aa5;
}

.input-description{
  color:#7c8aa5;
  font-size:12px;
  margin-top:6px;
}

.form-control,
.form-select{
  border-radius:10px;
}

@media (max-width: 991px){
  .transfer-shell{
    padding:18px;
  }

  .transfer-header{
    gap:12px;
  }

  .transfer-header .title{
    font-size:28px;
  }

  .amount-picker.slim{
    flex-direction:column;
    align-items:stretch;
  }

  .currency-side,
  .amount-side{
    min-width:100%;
    width:100%;
  }

  .eq-block{
    justify-content:flex-start;
  }

  .footer-row{
    flex-direction:column;
    align-items:flex-start !important;
  }

  .transfer-btn{
    width:100%;
    min-width:100%;
  }
}

@media (max-width: 767.98px){
  .transfer-shell{
    padding:14px;
    border-radius:12px;
  }

  .transfer-card{
    padding:14px;
    border-radius:12px;
  }

  .transfer-header{
    flex-direction:column;
    align-items:flex-start !important;
  }

  .transfer-header .title{
    font-size:24px;
    line-height:1.2;
  }

  .picker.slim,
  .amount-picker.slim{
    min-height:auto;
    padding:8px 10px;
  }

  .picker .form-select,
  .currency-side .form-select{
    font-size:15px;
  }

  .input-group.compact .input-group-text,
  .input-group.compact .form-control{
    height:38px;
  }

  .block-label{
    font-size:14px;
  }

  .balance-row{
    font-size:12px;
  }

  .footer-row .fee,
  .footer-row .wallet{
    font-size:13px;
  }
}

@media (max-width: 575.98px){
  .container-fluid.default-page{
    padding-left:10px;
    padding-right:10px;
  }

  .transfer-header .title{
    font-size:22px;
  }

  .eyebrow{
    font-size:12px;
  }

  .currency-side{
    gap:8px;
  }

  .picker .flag,
  .amount-picker .flag{
    font-size:16px;
  }

  .input-group.compact .input-group-text{
    min-width:46px;
    padding:0 10px;
  }

  .input-group.compact .form-control{
    font-size:15px;
  }

  .eq-block{
    font-size:12px;
  }

  .site-btn.gradient-btn.radius-12{
    width:100%;
    text-align:center;
  }
}

.transfer-modal{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 1050;
}

.transfer-modal.show{
  display: flex;
}

.transfer-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(3px);
}

.transfer-modal__dialog{
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(15, 23, 42, 0.06);
  animation: previewPop .22s ease;
}

@keyframes previewPop{
  from{
    opacity: 0;
    transform: translateY(10px) scale(.985);
  }
  to{
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.transfer-modal__header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eef1f6;
}

.transfer-modal__title{
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}

.transfer-modal__body{
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 58vh;
  overflow-y: auto;
  padding-right: 2px;
}

.preview-row{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f4f8;
}

.preview-row:last-child{
  border-bottom: 0;
}

.preview-row span{
  color: #7c8aa5;
  font-size: 13px;
  flex: 0 0 42%;
}

.preview-row strong{
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
  text-align: right;
  flex: 1 1 auto;
  word-break: break-word;
}

.transfer-modal__footer{
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #eef1f6;
}

.close-btn{
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: #f4f7fb;
  color: #0f172a;
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.light-btn{
  background: #f2f4f8;
  color: #0f172a;
}

.transfer-loader{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(2px);
  z-index: 1040;
}

.transfer-loader.show{
  display: flex;
}

.transfer-loader__box{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 20px 24px;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.12);
}

.transfer-loader__text{
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

.spinner{
  width: 48px;
  height: 48px;
  border: 4px solid #dfe6f3;
  border-top-color: #1f7bff;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin{
  to{ transform: rotate(360deg); }
}

@media (max-width: 575.98px){
  .transfer-modal{
    padding: 12px;
  }

  .transfer-modal__dialog{
    padding: 16px;
    border-radius: 14px;
  }

  .transfer-modal__title{
    font-size: 16px;
  }

  .preview-row{
    flex-direction: column;
    gap: 4px;
  }

  .preview-row span,
  .preview-row strong{
    flex: none;
    text-align: left;
  }

  .transfer-modal__footer{
    flex-direction: column;
  }

  .transfer-modal__footer .site-btn{
    width: 100%;
  }
}

.transfer-modal{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1050;
}

.transfer-modal.show{
  display: flex;
}

.transfer-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(7, 17, 31, 0.58);
  backdrop-filter: blur(5px);
}

.transfer-modal__dialog{
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 620px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  box-shadow:
    0 30px 80px rgba(15, 23, 42, 0.18),
    0 8px 24px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  animation: transferPreviewPop .24s ease;
}

@keyframes transferPreviewPop{
  from{
    opacity: 0;
    transform: translateY(18px) scale(.97);
  }
  to{
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.transfer-modal__header{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 22px 16px;
  border-bottom: 1px solid #edf2f7;
  background:
    radial-gradient(circle at top right, rgba(31, 123, 255, 0.08), transparent 35%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.transfer-modal__header::after{
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(31,123,255,0.22), transparent);
}

.transfer-modal__title-wrap{
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.transfer-modal__eyebrow{
  margin: 0;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #7c8aa5;
}

.transfer-modal__title{
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
}

.transfer-modal__status{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 600;
  color: #1f7bff;
}

.transfer-modal__status-dot{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.close-btn{
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 0;
  border-radius: 12px;
  background: #f3f6fb;
  color: #0f172a;
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
}

.close-btn:hover{
  background: #eaf0f8;
  transform: translateY(-1px);
}

.transfer-modal__body{
  padding: 16px 22px 18px;
  max-height: 60vh;
  overflow-y: auto;
  background:
    linear-gradient(rgba(15,23,42,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,0.018) 1px, transparent 1px);
  background-size: 28px 28px;
}

.preview-group{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.preview-row{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid #edf2f7;
  border-radius: 14px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02);
}

.preview-row--highlight{
  border-color: rgba(31,123,255,0.18);
  background: linear-gradient(135deg, rgba(31,123,255,0.06), rgba(31,123,255,0.015));
}

.preview-row span{
  font-size: 13px;
  color: #7c8aa5;
  font-weight: 500;
  flex: 0 0 42%;
}

.preview-row strong{
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  text-align: right;
  flex: 1 1 auto;
  word-break: break-word;
}

.transfer-modal__footer{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 18px 22px 22px;
  border-top: 1px solid #edf2f7;
  background: #ffffff;
}

.light-btn{
  background: #f2f4f8;
  color: #0f172a;
  border: 1px solid #e6ebf2;
}

.light-btn:hover{
  background: #e9eef6;
}

.transfer-loader{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(4px);
  z-index: 1040;
}

.transfer-loader.show{
  display: flex;
}

.transfer-loader__box{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-width: 220px;
  background: #fff;
  padding: 24px 26px;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(15,23,42,0.12);
  border: 1px solid rgba(15,23,42,0.06);
}

.transfer-loader__text{
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

.spinner{
  width: 50px;
  height: 50px;
  border: 4px solid #dfe6f3;
  border-top-color: #1f7bff;
  border-radius: 50%;
  animation: spin 0.85s linear infinite;
}

@keyframes spin{
  to{ transform: rotate(360deg); }
}

@media (max-width: 767.98px){
  .transfer-modal{
    padding: 14px;
  }

  .transfer-modal__dialog{
    max-width: 100%;
    border-radius: 18px;
  }

  .transfer-modal__header{
    padding: 18px 16px 14px;
  }

  .transfer-modal__body{
    padding: 14px 16px 16px;
  }

  .transfer-modal__footer{
    padding: 16px;
    flex-direction: column;
  }

  .transfer-modal__footer .site-btn{
    width: 100%;
  }

  .preview-row{
    flex-direction: column;
    gap: 6px;
  }

  .preview-row span,
  .preview-row strong{
    flex: none;
    text-align: left;
  }
}

@media (max-width: 575.98px){
  .transfer-modal__title{
    font-size: 18px;
  }

  .close-btn{
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    border-radius: 10px;
  }

  .preview-row{
    padding: 11px 12px;
    border-radius: 12px;
  }

  .preview-row span{
    font-size: 12px;
  }

  .preview-row strong{
    font-size: 13px;
  }
}

.transfer-loader{
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7,17,31,0.46);
  backdrop-filter: blur(5px);
  z-index: 1040;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .28s ease, visibility .28s ease;
}

.transfer-loader.show{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.transfer-loader__box{
  min-width: 240px;
  max-width: 320px;
  padding: 24px 24px 20px;
  border-radius: 22px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,251,255,0.98) 100%);
  border: 1px solid rgba(15,23,42,0.07);
  box-shadow:
    0 24px 60px rgba(15,23,42,0.18),
    inset 0 1px 0 rgba(255,255,255,0.65);

  transform: translateY(10px) scale(.98);
  transition: transform .28s ease, opacity .28s ease;
  opacity: 0;
}

.transfer-loader.show .transfer-loader__box{
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* ===============================
   INVESTMENT DASHBOARD FIX
================================ */

/* Default stat card */
/* =========================
   TOP STAT CARDS FIX
========================= */

.invest-stat-card{
    padding: 20px;
    border-radius: 18px;
    min-height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
}

/* Earnings card */
.earnings-card{
    background: linear-gradient(135deg, #1f6ff7 0%, #3aa7ff 100%);
    color: #ffffff;
}

/* TEXT FIX */
.stat-label{
    font-size: 13px;
    margin-bottom: 6px;
    color: #64748b;
}

.stat-value{
    font-size: 26px;   /* 🔥 reduced from 34px */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 4px;
}

.stat-sub{
    font-size: 12px;
    color: #7c8aa5;
}

/* Earnings override */
.earnings-card .stat-label{
    color: rgba(255,255,255,0.8);
}

.earnings-card .stat-value{
    color: #ffffff;
    font-size: 24px;  /* slightly smaller for balance */
}

.earnings-card .stat-sub{
    color: rgba(255,255,255,0.85);
}

/* Soft cards (IMPORTANT FIX) */
.soft-card{
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #eef2f7;
}

/* Add subtle hover */
.invest-stat-card:hover{
    transform: translateY(-2px);
    transition: 0.25s ease;
    box-shadow: 0 14px 30px rgba(0,0,0,0.06);
}
/* positioning panel FIX */
.positioning-panel-card{
    background: linear-gradient(135deg, #07111f 0%, #0c1d34 100%);
    color:#fff;
}

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

.pos-item{
    background: rgba(255,255,255,0.06);
    border:1px solid rgba(255,255,255,0.08);
    padding:12px;
    border-radius:12px;
}

.pos-item span{
    font-size:11px;
    color:#9fb6d8;
}

.pos-item strong{
    color:#ffffff;
    font-size:14px;
}

.signal.up{
    color:#22c55e;
}

/* active investment card */
.active-invest-item{
    padding:18px;
    border:1px solid #edf2f7;
    border-radius:16px;
    margin-bottom:16px;
    background:#fff;
}

/* empty state */
.empty-invest-state{
    text-align:center;
    padding:30px;
    background:#f8fafc;
    border-radius:16px;
}

.empty-icon{
    font-size:26px;
    margin-bottom:8px;
}


/* =========================
   GCRIG INVESTMENT TOP CARDS
========================= */

.invest-stat-card{
    padding: 20px;
    border-radius: 18px;
    min-height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
    border: 1px solid #eef2f7;
    background: #ffffff;
    color: #0f172a;
}

.earnings-card{
    background: linear-gradient(135deg, #1f6ff7 0%, #3aa7ff 100%) !important;
    color: #ffffff !important;
    border: 0 !important;
}

.soft-card{
    background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%) !important;
    border: 1px solid #e7edf7 !important;
    color: #0f172a !important;
}

.stat-label{
    display: block;
    font-size: 13px;
    margin-bottom: 8px;
    color: #64748b;
}

.stat-value{
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 6px;
    color: #0f172a;
    word-break: break-word;
}

.stat-sub{
    font-size: 12px;
    color: #7c8aa5;
}

.earnings-card .stat-label{
    color: rgba(255,255,255,0.82) !important;
}

.earnings-card .stat-value{
    color: #ffffff !important;
    font-size: 22px;
}

.earnings-card .stat-sub{
    color: rgba(255,255,255,0.85) !important;
}

.soft-card .stat-label{
    color: #6b7c96 !important;
}

.soft-card .stat-value{
    color: #0f172a !important;
}

.soft-card .stat-sub{
    color: #7c8aa5 !important;
}

.invest-stat-card:hover{
    transform: translateY(-2px);
    transition: 0.25s ease;
    box-shadow: 0 14px 30px rgba(0,0,0,0.06);
}

/* =========================
   INVESTMENT TOP CARDS v2
========================= */

.investment-top-cards .g-card{
    border-radius: 22px;
    overflow: hidden;
}

/* Earnings card */
.invest-earnings-card{
    padding: 26px;
    min-height: 210px;
    background: linear-gradient(135deg, #ffffff 0%, #f5fbff 100%);
    border: 1px solid #e8eef7;
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.05);
    position: relative;
}

.invest-earnings-card::before{
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(31,123,255,0.08), transparent 35%);
    pointer-events: none;
}

.earnings-card-grid{
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 20px;
    align-items: center;
}

.card-title-sm{
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #183153;
    margin-bottom: 10px;
}

.earnings-amount{
    margin: 0 0 10px;
    font-size: 34px;
    line-height: 1.1;
    font-weight: 800;
    color: #0c5474;
    letter-spacing: -0.6px;
}

.earnings-growth{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #149b8a;
    margin-bottom: 10px;
}

.growth-dot{
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #14b8a6;
    box-shadow: 0 0 0 6px rgba(20,184,166,0.12);
}

.earnings-note{
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #6b7c96;
    max-width: 320px;
}

.earnings-chart-wrap{
    position: relative;
    width: 180px;
    height: 180px;
    margin-left: auto;
}

.earnings-chart-wrap canvas{
    width: 100% !important;
    height: 100% !important;
}

.earnings-chart-center{
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    pointer-events: none;
}

.earnings-chart-center strong{
    font-size: 22px;
    line-height: 1;
    color: #1f2a5a;
    font-weight: 800;
}

.earnings-chart-center span{
    font-size: 12px;
    color: #6b7c96;
    margin-top: 6px;
}

/* Mini cards */
.invest-mini-card{
    position: relative;
    min-height: 165px;
    padding: 20px 18px;
    border: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 12px 26px rgba(16, 24, 40, 0.06);
}

.invest-mini-card::before{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0));
    pointer-events: none;
}

.mini-card-blue{
    background: linear-gradient(135deg, #0f7ecf 0%, #0fb2c9 100%);
    color: #fff;
}

.mini-card-teal{
    background: linear-gradient(135deg, #0d7ea7 0%, #17b4a2 100%);
    color: #fff;
}

.mini-card-purple{
    background: linear-gradient(135deg, #5b64f3 0%, #7b52d9 100%);
    color: #fff;
}

.mini-card-icon{
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.16);
    font-size: 18px;
    color: #fff;
    margin-bottom: 16px;
}

.mini-card-content{
    position: relative;
    z-index: 2;
}

.mini-label{
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,0.82);
    margin-bottom: 8px;
}

.mini-value{
    margin: 0 0 6px;
    font-size: 30px;
    line-height: 1;
    font-weight: 800;
    color: #fff;
}

.mini-sub{
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.78);
}

.mini-card-wave{
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 78px;
    opacity: 0.28;
}

.mini-card-wave path{
    fill: none;
    stroke: rgba(255,255,255,0.65);
    stroke-width: 3;
    stroke-linecap: round;
}

/* Responsive */
@media (max-width: 1199.98px){
    .earnings-card-grid{
        grid-template-columns: 1.1fr 0.9fr;
    }

    .earnings-chart-wrap{
        margin-left: auto;
    }
}

@media (max-width: 575.98px){
    .invest-earnings-card{
        padding: 20px;
        min-height: auto;
    }

    .earnings-amount{
        font-size: 28px;
    }

    .earnings-chart-wrap{
        width: 150px;
        height: 150px;
    }

    .invest-mini-card{
        min-height: 145px;
    }

    .mini-value{
        font-size: 26px;
    }
}


/* =========================
   EARNINGS CARD MOBILE FIX
========================= */

@media (max-width: 767.98px){
    .invest-earnings-card{
        padding: 16px;
        min-height: 160px;
    }

    .earnings-card-grid{
        grid-template-columns: minmax(0, 1fr) 118px !important;
        gap: 12px;
        align-items: center;
    }

    .earnings-content{
        min-width: 0;
    }

    .card-title-sm{
        font-size: 13px;
        margin-bottom: 6px;
    }

    .earnings-amount{
        font-size: 22px;
        line-height: 1.15;
        margin-bottom: 6px;
        letter-spacing: -0.4px;
        word-break: break-word;
    }

    .earnings-growth{
        font-size: 12px;
        gap: 6px;
        margin-bottom: 6px;
    }

    .growth-dot{
        width: 7px;
        height: 7px;
    }

    .earnings-note{
        font-size: 11px;
        line-height: 1.45;
        max-width: 100%;
    }

    .earnings-chart-wrap{
        width: 118px;
        height: 118px;
        margin-left: auto;
        flex: 0 0 118px;
    }

    .earnings-chart-center strong{
        font-size: 18px;
    }

    .earnings-chart-center span{
        font-size: 10px;
        margin-top: 4px;
    }
}

@media (max-width: 420px){
    .invest-earnings-card{
        padding: 14px;
        min-height: 148px;
    }

    .earnings-card-grid{
        grid-template-columns: minmax(0, 1fr) 100px !important;
        gap: 10px;
    }

    .earnings-amount{
        font-size: 19px;
    }

    .earnings-growth{
        font-size: 11px;
    }

    .earnings-note{
        font-size: 11px;
    }

    .earnings-chart-wrap{
        width: 100px;
        height: 100px;
        flex-basis: 100px;
    }

    .earnings-chart-center strong{
        font-size: 16px;
    }

    .earnings-chart-center span{
        font-size: 9px;
    }
}

/* =========================
   MINI STAT CARDS MOBILE FIX
========================= */

@media (max-width: 767.98px){
    .invest-mini-card{
        min-height: 138px;
        padding: 14px 14px 12px;
        border-radius: 16px;
    }

    .mini-card-icon{
        width: 36px;
        height: 36px;
        border-radius: 10px;
        font-size: 15px;
        margin-bottom: 12px;
    }

    .mini-label{
        font-size: 12px;
        margin-bottom: 6px;
        line-height: 1.35;
    }

    .mini-value{
        font-size: 24px;
        margin-bottom: 4px;
    }

    .mini-sub{
        font-size: 11px;
        line-height: 1.35;
    }

    .mini-card-wave{
        height: 64px;
        opacity: 0.24;
    }

    .mini-card-wave path{
        stroke-width: 2.5;
    }
}

@media (max-width: 575.98px){
    .investment-top-cards > .col-12.col-xl-6 > .row.g-3{
        --bs-gutter-x: 10px;
        --bs-gutter-y: 10px;
    }

    .invest-mini-card{
        min-height: 124px;
        padding: 12px;
    }

    .mini-card-icon{
        width: 32px;
        height: 32px;
        font-size: 14px;
        margin-bottom: 10px;
    }

    .mini-label{
        font-size: 11px;
        margin-bottom: 4px;
    }

    .mini-value{
        font-size: 21px;
    }

    .mini-sub{
        font-size: 10px;
    }

    .mini-card-wave{
        height: 56px;
    }
}

@media (max-width: 420px){
    .invest-mini-card{
        min-height: 116px;
        padding: 11px;
    }

    .mini-label{
        font-size: 11px;
    }

    .mini-value{
        font-size: 19px;
    }

    .mini-sub{
        font-size: 11px;
    }

    .mini-card-icon{
        width: 30px;
        height: 30px;
        font-size: 13px;
        margin-bottom: 8px;
    }
}


/* =========================
   EARNINGS LEGEND
========================= */

.earnings-legend{
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.legend-item{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
}

.legend-dot{
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.legend-completed{
    background: #28c7b7;
}

.legend-remaining{
    background: #5b6df8;
}

.legend-duration{
    background: #cfe2f7;
}

@media (max-width: 767.98px){
    .earnings-legend{
        gap: 12px;
        margin-top: 10px;
        padding-top: 10px;
    }

    .legend-item{
        font-size: 11px;
        gap: 6px;
    }

    .legend-dot{
        width: 9px;
        height: 9px;
    }
}

@media (max-width: 420px){
    .earnings-legend{
        justify-content: flex-start;
        gap: 10px;
    }

    .legend-item{
        font-size: 10px;
    }
}


/* =========================
   GCRIG PLAN SLIDER
========================= */

.invest-section-card{
    padding: 24px;
    border-radius: 20px;
}

.invest-slider-nav{
    display: flex;
    align-items: center;
    gap: 10px;
}

.invest-slider-btn{
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 12px;
    background: #f3f7fc;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
    transition: all .25s ease;
}

.invest-slider-btn:hover{
    background: #e9f2ff;
    color: #1f7bff;
    transform: translateY(-1px);
}

.gcrig-plan-slider{
    overflow: hidden;
    padding: 6px 2px 4px;
}

.gcrig-plan-slider .swiper-slide{
    height: auto;
}

.invest-plan-card{
    background: linear-gradient(135deg, #07111f 0%, #0f2744 100%);
    border-radius: 18px;
    padding: 20px;
    height: 100%;
    color: #fff;
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 270px;
    position: relative;
    overflow: hidden;
}

.invest-plan-card::before{
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(53, 193, 255, 0.10), transparent 35%);
    pointer-events: none;
}

.invest-plan-card > *{
    position: relative;
    z-index: 1;
}

.plan-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:18px;
}

.plan-top h5{
    font-size: 24px;
    font-weight: 800;
    line-height: 1.15;
    margin: 0;
    color: #fff;
    letter-spacing: -0.3px;
}

@media (max-width: 767.98px){
    .invest-plan-card .plan-top h5{
        font-size: 20px;
    }
}

.plan-badge{
    font-size: 12px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    color:#fff;
    white-space: nowrap;
}

.plan-meta{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.meta-row{
    display:flex;
    justify-content:space-between;
    gap:12px;
    padding-bottom:10px;
    border-bottom:1px solid rgba(255,255,255,0.08);
}

.meta-row:last-child{
    border-bottom:none;
    padding-bottom:0;
}

.meta-row span{
    color:#a6b5ca;
    font-size:13px;
}

.meta-row strong{
    color:#fff;
    font-size:14px;
    text-align:right;
}

@media (max-width: 767.98px){
    .invest-section-card{
        padding: 18px;
        border-radius: 16px;
    }

    .invest-slider-btn{
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .plan-top h5{
        font-size: 18px;
    }

    .invest-plan-card{
        min-height: 250px;
        padding: 18px;
    }
}

@media (max-width: 575.98px){
    .invest-section-card{
        padding: 16px;
    }

    .section-head{
        gap: 12px;
    }

    .plan-badge{
        font-size: 11px;
        padding: 6px 9px;
    }

    .meta-row span,
    .meta-row strong{
        font-size: 12px;
    }
}


.invest-slider-wrap{
    position: relative;
    padding: 0 52px;
}

.gcrig-plan-slider{
    overflow: hidden;
    padding: 6px 2px 4px;
}

.invest-slider-btn{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgb(11, 27, 49);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
    transition: all .25s ease;
}

.invest-slider-prev{
    left: 0;
}

.invest-slider-next{
    right: 0;
}

.invest-slider-btn:hover{
    background: #ffffff;
    color: #1f7bff;
    transform: translateY(-50%) scale(1.05);
}

@media (max-width: 767.98px){
    .invest-slider-wrap{
        padding: 0 42px;
    }

    .invest-slider-btn{
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

@media (max-width: 575.98px){
    .invest-slider-wrap{
        padding: 0 38px;
    }

    .invest-slider-btn{
        width: 32px;
        height: 32px;
    }
}

/* =========================
   GCRIG STRATEGIC POSITIONING PANEL
========================= */

.gcrig-position-panel{
    position: relative;
    overflow: hidden;
    padding: 24px;
    border-radius: 22px;
    background: linear-gradient(135deg, #07111f 0%, #0b1c32 55%, #102744 100%);
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow:
        0 18px 40px rgba(0,0,0,0.22),
        inset 0 1px 0 rgba(255,255,255,0.03);
}

.gcrig-position-panel::before{
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: .35;
    pointer-events: none;
}

.gcrig-position-panel::after{
    content: "";
    position: absolute;
    top: -70px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(31,123,255,0.18), transparent 70%);
    filter: blur(50px);
    pointer-events: none;
}

.gcrig-position-head{
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.gcrig-position-eyebrow{
    font-size: 11px;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    color: #8ea7c7;
}

.gcrig-position-title{
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

.gcrig-live-badge{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    color: #dce8f7;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.live-dot{
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 5px rgba(34,197,94,0.10);
}

.gcrig-position-body{
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.gcrig-position-row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.gcrig-position-row:last-child{
    border-bottom: 0;
}

.gcrig-position-row span{
    font-size: 13px;
    color: #9fb3cc;
}

.gcrig-position-row strong{
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    text-align: right;
}

.gcrig-position-row strong.is-positive{
    color: #63e6d7;
}

.gcrig-position-row strong.is-muted{
    color: #c4d1e0;
}

.gcrig-position-insight{
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 18px;
    padding: 14px 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
}

.gcrig-position-insight .insight-icon{
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(31,123,255,0.16);
    color: #8ec5ff;
    flex: 0 0 34px;
}

.gcrig-position-insight p{
    font-size: 13px;
    line-height: 1.6;
    color: #d5dfec;
}

@media (max-width: 767.98px){
    .gcrig-position-panel{
        padding: 18px;
        border-radius: 18px;
    }

    .gcrig-position-title{
        font-size: 20px;
    }

    .gcrig-position-head{
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 575.98px){
    .gcrig-position-row{
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .gcrig-position-row strong{
        text-align: left;
    }

    .gcrig-position-insight{
        padding: 12px;
    }
}

/* =========================
   GCRIG ROUTING INTELLIGENCE
========================= */

.gcrig-routing-intelligence{
    position: relative;
    overflow: hidden;
    padding: 24px;
    border-radius: 22px;
    background: linear-gradient(135deg, #07111f 0%, #0b1c32 55%, #102744 100%);
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow:
        0 18px 40px rgba(0,0,0,0.22),
        inset 0 1px 0 rgba(255,255,255,0.03);
}

.gcrig-routing-intelligence::before{
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: .35;
    pointer-events: none;
}

.gcrig-routing-intelligence::after{
    content: "";
    position: absolute;
    top: -80px;
    right: -50px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(31,123,255,0.18), transparent 70%);
    filter: blur(55px);
    pointer-events: none;
}

.routing-head{
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
}

.routing-head-right{
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.routing-eyebrow{
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    color: #8ea7c7;
}

.routing-title{
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

.routing-live-badge,
.routing-trend-chip{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.routing-live-badge{
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    color: #dce8f7;
}

.routing-trend-chip.bullish{
    background: rgba(34,197,94,0.12);
    border: 1px solid rgba(34,197,94,0.18);
    color: #8ff0b5;
}

.live-dot,
.trend-dot{
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.live-dot{
    background: #22c55e;
    box-shadow: 0 0 0 5px rgba(34,197,94,0.10);
}

.trend-dot{
    background: #4ade80;
    box-shadow: 0 0 0 5px rgba(74,222,128,0.10);
}

.routing-chart-wrap{
    position: relative;
    z-index: 2;
    height: 180px;
    margin-bottom: 18px;
}

.routing-stats-grid{
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr)); /* 🔥 tighter */
    gap: 10px;
    margin-bottom: 14px;
}

.routing-stat{
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 12px;
}

.routing-stat span{
    display: block;
    font-size: 11px;
    color: #9fb3cc;
    margin-bottom: 5px;
}

.routing-stat strong{
    font-size: 14px;
    color: #ffffff;
    font-weight: 700;
}

.routing-stat strong.is-bullish{
    color: #6ee7b7;
}

.routing-route-tags{
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.route-tag{
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(31,123,255,0.14);
    border: 1px solid rgba(31,123,255,0.18);
    color: #b8d7ff;
    font-size: 12px;
    font-weight: 600;
}

.routing-insight-box{
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
}

.routing-insight-box .insight-icon{
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(31,123,255,0.16);
    color: #8ec5ff;
    flex: 0 0 34px;
}

.routing-insight-box p{
    font-size: 13px;
    line-height: 1.6;
    color: #d5dfec;
}

@media (max-width: 991.98px){
    .routing-stats-grid{
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 767.98px){
    .gcrig-routing-intelligence{
        padding: 18px;
        border-radius: 18px;
    }

    .routing-head{
        flex-direction: column;
        align-items: flex-start;
    }

    .routing-head-right{
        justify-content: flex-start;
    }

    .routing-title{
        font-size: 20px;
    }

   .routing-chart-wrap{
    height: 120px; /* 🔥 compact */
    margin-bottom: 12px;
}
}

@media (max-width: 575.98px){
    .routing-stats-grid{
        grid-template-columns: 1fr;
    }
}

.gcrig-routing-intelligence{
    padding: 18px; /* reduced */
    border-radius: 18px;
    min-height: 100%;
}

.routing-stat{
    padding: 10px;
    border-radius: 10px;
}

.routing-stat span{
    font-size: 10px;
}

.routing-stat strong{
    font-size: 13px;
}

.route-tag{
    padding: 6px 10px;
    font-size: 11px;
}

.routing-insight-box{
    padding: 10px;
    margin-top: 12px;
}

.routing-insight-box p{
    font-size: 12px;
}


/* =========================
   GCRIG INVESTMENT PLAN CARD
========================= */

.invest-plan-card{
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(53, 193, 255, 0.12), transparent 30%),
        linear-gradient(135deg, #07111f 0%, #0b1b31 45%, #0f2744 100%);
    border-radius: 18px;
    padding: 20px;
    height: 100%;
    min-height: 270px;
    color: #fff;
    box-shadow:
        0 12px 28px rgba(0,0,0,0.12),
        inset 0 1px 0 rgba(255,255,255,0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(255,255,255,0.05);
}

.invest-plan-card::before{
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: .25;
    pointer-events: none;
}

.invest-plan-card::after{
    content: "";
    position: absolute;
    left: -8%;
    right: -8%;
    bottom: -8px;
    height: 95px;
    background: no-repeat center bottom / 100% 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 120' fill='none'%3E%3Cpath d='M0 84C25 80 40 56 67 54C95 52 111 77 137 76C163 75 176 48 202 42C231 35 248 54 274 59C306 65 321 43 347 34C366 28 382 30 400 36' stroke='rgba(255,255,255,0.32)' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M0 98C24 96 41 83 62 79C88 74 111 89 136 88C164 86 179 67 205 63C233 58 248 73 275 79C302 85 326 74 349 65C366 58 383 57 400 60' stroke='rgba(83,193,255,0.32)' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M0 112C26 109 49 101 72 98C100 95 117 103 143 103C168 102 186 92 212 88C240 84 258 91 283 97C311 104 333 103 357 96C375 91 387 88 400 88V120H0V112Z' fill='rgba(255,255,255,0.04)'/%3E%3C/svg%3E");
    opacity: .9;
    pointer-events: none;
}

.invest-plan-card > *{
    position: relative;
    z-index: 2;
}

.invest-plan-card .plan-top{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.invest-plan-card .plan-top h5{
    font-size: 24px;
    font-weight: 800;
    line-height: 1.15;
    margin: 0;
    color: #fff;
    letter-spacing: -0.3px;
}

.invest-plan-card .plan-badge{
    font-size: 12px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    color: #fff;
    white-space: nowrap;
    border: 1px solid rgba(255,255,255,0.08);
}

.invest-plan-card .plan-meta{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.invest-plan-card .meta-row{
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.invest-plan-card .meta-row:last-child{
    border-bottom: none;
    padding-bottom: 0;
}

.invest-plan-card .meta-row span{
    color: #a6b5ca;
    font-size: 13px;
}

.invest-plan-card .meta-row strong{
    color: #fff;
    font-size: 14px;
    text-align: right;
}

.invest-plan-card .site-btn{
    position: relative;
    z-index: 2;
}

@media (max-width: 767.98px){
    .invest-plan-card{
        min-height: 250px;
        padding: 18px;
        border-radius: 16px;
    }

    .invest-plan-card .plan-top h5{
        font-size: 20px;
    }

    .invest-plan-card::after{
        height: 78px;
    }
}

@media (max-width: 575.98px){
    .invest-plan-card{
        min-height: 238px;
        padding: 16px;
    }

    .invest-plan-card .plan-badge{
        font-size: 11px;
        padding: 6px 9px;
    }

    .invest-plan-card .meta-row span,
    .invest-plan-card .meta-row strong{
        font-size: 12px;
    }

    .invest-plan-card::after{
        height: 70px;
    }
}

/* =========================
   ACTIVE INVESTMENT LINE CARD
========================= */

.active-invest-line-card{
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    border: 1px solid #e8eef7;
    border-radius: 18px;
    padding: 18px 18px 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    margin-bottom: 16px;
    overflow: hidden;
}

.active-invest-line-card:last-child{
    margin-bottom: 0;
}

.active-line-top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.active-line-plan{
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.plan-status-icon{
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0fbf9f 0%, #27d3be 100%);
    color: #fff;
    font-size: 14px;
    flex: 0 0 34px;
    box-shadow: 0 8px 18px rgba(39, 211, 190, 0.25);
}

.plan-info{
    min-width: 0;
}

.plan-info h6{
    margin: 0 0 3px;
    font-size: 22px;
    font-weight: 700;
    color: #1f2a44;
    line-height: 1.1;
}

.plan-info span{
    font-size: 11px;
    color: #7c8aa5;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.active-line-metrics{
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 0 0 auto;
}

.metric-box{
    text-align: right;
}

.metric-box span{
    display: block;
    font-size: 11px;
    color: #000;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.metric-box strong{
    font-size: 20px;
    color: #1f2a44;
    font-weight: 700;
    white-space: nowrap;
}

.active-line-body{
    margin-bottom: 14px;
}

.timeline-title{
    font-size: 20px;
    font-weight: 700;
    color: #1f2a44;
    margin-bottom: 10px;
}

.timeline-bar-wrap{
    position: relative;
}

.timeline-bar-line{
    position: relative;
    height: 8px;
    background: linear-gradient(90deg, #e4ebf5 0%, #d8e3f2 100%);
    border-radius: 999px;
    overflow: visible;
}

.timeline-bar-fill{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #18b6ff 0%, #1f7bff 45%, #2340c7 100%);
    box-shadow: 0 0 12px rgba(31, 123, 255, 0.2);
}

.timeline-node{
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1b3caa;
    border: 2px solid #ffffff;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12);
}

.timeline-scale{
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
}

.timeline-scale span{
    font-size: 11px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.active-line-footer{
    display: flex;
    align-items: center;
    gap: 18px;
    padding-top: 12px;
    border-top: 1px solid #edf2f7;
}

.footer-stat{
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-stat span{
    font-size: 11px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.footer-stat strong{
    font-size: 14px;
    color: #19d36a;
    font-weight: 700;
}

/* =========================
   MOBILE: KEEP HORIZONTAL
========================= */

@media (max-width: 991.98px){
    .plan-info h6{
        font-size: 18px;
    }

    .metric-box strong{
        font-size: 16px;
    }
}

@media (max-width: 767.98px){
    .active-invest-line-card{
        padding: 14px;
        border-radius: 16px;
    }

    .active-line-top{
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
        align-items: start;
    }

    .active-line-metrics{
        gap: 12px;
    }

    .metric-box strong{
        font-size: 14px;
    }

    .metric-box span{
        font-size: 10px;
    }

    .plan-info h6{
        font-size: 16px;
    }

    .timeline-title{
        font-size: 16px;
        margin-bottom: 8px;
    }

    .timeline-scale span{
        font-size: 9px;
    }

    .active-line-footer{
        gap: 12px;
        justify-content: space-between;
    }

    .footer-stat{
        gap: 5px;
    }

    .footer-stat span{
        font-size: 10px;
    }

    .footer-stat strong{
        font-size: 12px;
    }
}

@media (max-width: 480px){
    .active-invest-line-card{
        padding: 12px;
    }

    .active-line-top{
        grid-template-columns: minmax(0, 1fr) 120px;
        gap: 8px;
    }

    .plan-status-icon{
        width: 28px;
        height: 28px;
        flex-basis: 28px;
        font-size: 12px;
    }

    .plan-info h6{
        font-size: 15px;
    }

    .plan-info span{
        font-size: 11px;
    }

    .active-line-metrics{
        flex-direction: column;
        align-items: flex-end;
        gap: 8px;
    }

    .metric-box strong{
        font-size: 13px;
    }

    .timeline-bar-line{
        height: 7px;
    }

    .timeline-node{
        width: 7px;
        height: 7px;
    }

    .timeline-scale{
        gap: 6px;
    }

    .timeline-scale span{
        font-size: 8px;
    }

    .active-line-footer{
        gap: 8px;
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .footer-stat{
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .footer-stat span{
        font-size: 9px;
    }

    .footer-stat strong{
        font-size: 11px;
    }
}

/* =========================
   INVEST LOG LINE CARDS
========================= */

.invest-log-cards-wrap{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.invest-log-line-card{
    margin-bottom: 0;
}

.plan-status-icon.is-ongoing{
    background: linear-gradient(135deg, #0fbf9f 0%, #27d3be 100%);
}

.plan-status-icon.is-completed{
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
}

.plan-status-icon.is-pending{
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
}

.plan-status-icon.is-cancelled{
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
}

.invest-log-line-card .plan-info span{
    text-transform: none;
    letter-spacing: 0;
    font-size: 12px;
}

.timeline-status-row{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.invest-log-line-card .active-line-footer{
    justify-content: space-between;
}

.invest-log-line-card .footer-stat strong{
    text-transform: capitalize;
}

@media (max-width: 767.98px){
    .invest-log-line-card .plan-info h6{
        font-size: 16px;
    }

    .invest-log-line-card .plan-info span{
        font-size: 12px;
    }
}

@media (max-width: 480px){
    .invest-log-line-card .active-line-top{
        grid-template-columns: minmax(0, 1fr) 120px;
    }

    .invest-log-line-card .active-line-footer{
        flex-wrap: nowrap;
    }
}

/* =========================
   COMPACT INVEST LOG CARD
========================= */

.invest-log-line-card{
    padding: 12px 14px 10px;
    border-radius: 14px;
}

/* TOP SECTION */
.invest-log-line-card .active-line-top{
    margin-bottom: 10px;
}

.invest-log-line-card .plan-status-icon{
    width: 26px;
    height: 26px;
    flex-basis: 26px;
    font-size: 11px;
}

.invest-log-line-card .plan-info h6{
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 2px;
}

.invest-log-line-card .plan-info span{
    font-size: 14px;
}


/* RIGHT METRICS */
.invest-log-line-card .metric-box span{
    font-size: 9px;
}

.invest-log-line-card .metric-box strong{
    font-size: 13px;
}

/* BODY */
.invest-log-line-card .active-line-body{
    margin-bottom: 10px;
}

.invest-log-line-card .timeline-title{
    font-size: 14px;
    margin-bottom: 6px;
}

/* TIMELINE */
.invest-log-line-card .timeline-bar-line{
    height: 6px;
}

.invest-log-line-card .timeline-node{
    width: 6px;
    height: 6px;
}

.invest-log-line-card .timeline-scale span{
    font-size: 8px;
}

/* FOOTER */
.invest-log-line-card .active-line-footer{
    padding-top: 8px;
    gap: 12px;
}

.invest-log-line-card .footer-stat span{
    font-size: 9px;
}

.invest-log-line-card .footer-stat strong{
    font-size: 12px;
}

/* REDUCE SHADOW + SPACING */
.invest-log-line-card{
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.05);
}

/* =========================
   MOBILE (MORE COMPACT)
========================= */

@media (max-width: 767.98px){

    .invest-log-line-card{
        padding: 10px 10px 8px;
        border-radius: 12px;
    }

    .invest-log-line-card .plan-info h6{
        font-size: 14px;
    }

    .invest-log-line-card .metric-box strong{
        font-size: 12px;
    }

    .invest-log-line-card .timeline-title{
        font-size: 13px;
    }

    .invest-log-line-card .timeline-bar-line{
        height: 5px;
    }

    .invest-log-line-card .footer-stat strong{
        font-size: 11px;
    }

    .invest-log-line-card .footer-stat span{
        font-size: 8px;
    }
}

/* EXTRA SMALL DEVICES */
@media (max-width: 480px){

    .invest-log-line-card .active-line-top{
        grid-template-columns: minmax(0, 1fr) 110px;
    }

    .invest-log-line-card .plan-status-icon{
        width: 22px;
        height: 22px;
        flex-basis: 22px;
        font-size: 10px;
    }

    .invest-log-line-card .plan-info h6{
        font-size: 13px;
    }

    .invest-log-line-card .metric-box strong{
        font-size: 11px;
    }

    .invest-log-line-card .timeline-node{
        width: 5px;
        height: 5px;
    }
}

.timeline-progress-label{
    font-size: 11px;
    color: #7c8aa5;
    margin-top: 6px;
    text-align: right;
}

/* =========================
   GCRIG INVESTMENT PREVIEW
========================= */

.gcrig-preview-shell{
    background: #f5f8fc;
    border-radius: 22px;
    padding: 24px;
}

.gcrig-preview-head{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.gcrig-preview-eyebrow{
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    color: #7d8ca6;
    font-weight: 600;
}

.gcrig-preview-title{
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
}

.gcrig-preview-badge{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #edf6ff;
    color: #1f7bff;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.live-dot{
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34,197,94,0.10);
}

.gcrig-preview-card,
.gcrig-preview-summary{
    background: #ffffff;
    border: 1px solid #e8eef7;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    height: 100%;
}

.gcrig-section-head{
    margin-bottom: 18px;
}

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

.gcrig-field{
    min-width: 0;
}

.gcrig-field-full{
    grid-column: 1 / -1;
}

.gcrig-field label{
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}

.gcrig-input-wrap,
.gcrig-input-group{
    display: flex;
    align-items: center;
    background: #f4f7fb;
    border: 1px solid #e5ecf5;
    border-radius: 14px;
    min-height: 48px;
    overflow: hidden;
}

.gcrig-select,
.gcrig-input{
    width: 100%;
    border: 0;
    background: transparent;
    outline: none;
    box-shadow: none;
    font-size: 14px;
    color: #0f172a;
    padding: 0 14px;
    min-height: 48px;
}

.gcrig-input[readonly]{
    color: #5d6b83;
}

.gcrig-input-suffix{
    padding: 0 14px;
    font-size: 13px;
    font-weight: 700;
    color: #1f7bff;
    border-left: 1px solid #dde6f1;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    min-height: 48px;
}

.gcrig-info-card{
    background: linear-gradient(180deg, #f7fbff 0%, #f1f7fd 100%);
    border: 1px solid #e5edf7;
    border-radius: 16px;
    padding: 16px;
}

.gcrig-info-card .info-label{
    display: block;
    font-size: 12px;
    color: #7d8ca6;
    margin-bottom: 6px;
}

.gcrig-info-card strong{
    display: block;
    font-size: 15px;
    color: #0f172a;
    font-weight: 700;
    line-height: 1.5;
}

.gcrig-summary-list{
    display: flex;
    flex-direction: column;
    gap: 0;
}

.gcrig-summary-row{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #edf2f7;
}

.gcrig-summary-row:last-child{
    border-bottom: 0;
}

.gcrig-summary-row span{
    font-size: 13px;
    color: #7d8ca6;
}

.gcrig-summary-row strong{
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    text-align: right;
}

.gcrig-summary-note{
    margin-top: 16px;
    padding: 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, #07111f 0%, #0f2744 100%);
    color: #dbe8f6;
    font-size: 13px;
    line-height: 1.6;
}

.gcrig-action-wrap{
    margin-top: 18px;
}

.gcrig-submit-btn{
    width: 100%;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* gateway/manual generated blocks */
.gatewaySelect .input-select,
.gatewaySelect .rock-single-input,
.manual-row .rock-single-input,
.manual-row .input-field{
    width: 100%;
}

.gatewaySelect select,
.manual-row input,
.manual-row textarea,
.manual-row select{
    width: 100%;
    border: 1px solid #e5ecf5;
    background: #f4f7fb;
    border-radius: 14px;
    min-height: 48px;
    padding: 12px 14px;
    color: #0f172a;
}

.manual-row label{
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 1199.98px){
    .gcrig-preview-title{
        font-size: 24px;
    }
}

@media (max-width: 991.98px){
    .gcrig-form-grid{
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px){
    .gcrig-preview-shell{
        padding: 16px;
        border-radius: 18px;
    }

    .gcrig-preview-head{
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 18px;
    }

    .gcrig-preview-title{
        font-size: 22px;
        line-height: 1.2;
    }

    .gcrig-preview-card,
    .gcrig-preview-summary{
        padding: 16px;
        border-radius: 16px;
    }

    .gcrig-summary-row{
        flex-direction: column;
        gap: 4px;
        padding: 12px 0;
    }

    .gcrig-summary-row strong{
        text-align: left;
    }
}

@media (max-width: 575.98px){
    .gcrig-preview-shell{
        padding: 12px;
    }

    .gcrig-preview-title{
        font-size: 20px;
    }

    .gcrig-field label,
    .manual-row label{
        font-size: 12px;
    }

    .gcrig-select,
    .gcrig-input,
    .gcrig-input-suffix{
        min-height: 44px;
        font-size: 13px;
    }

    .gcrig-info-card{
        padding: 14px;
    }

    .gcrig-info-card strong{
        font-size: 14px;
    }

    .gcrig-summary-note{
        font-size: 12px;
        padding: 12px;
    }

    .gcrig-submit-btn{
        min-height: 46px;
    }
}

/* =========================
   GCRIG TRANSACTIONS PAGE
========================= */

.gcrig-transactions-shell{
    background: #f5f8fc;
    border-radius: 22px;
    padding: 24px;
}

.gcrig-transactions-head{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.gcrig-transactions-eyebrow{
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    color: #7d8ca6;
    font-weight: 600;
}

.gcrig-transactions-title{
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
}

.gcrig-transactions-badge{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #edf6ff;
    color: #1f7bff;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.gcrig-transactions-filter-card{
    background: #ffffff;
    border: 1px solid #e8eef7;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    margin-bottom: 18px;
}

.gcrig-filter-grid{
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr auto;
    gap: 14px;
    align-items: end;
}

.gcrig-filter-field label{
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}

.gcrig-input-wrap,
.gcrig-input-group{
    display: flex;
    align-items: center;
    background: #f4f7fb;
    border: 1px solid #e5ecf5;
    border-radius: 14px;
    min-height: 48px;
    overflow: hidden;
}

.gcrig-input,
.gcrig-select{
    width: 100%;
    border: 0;
    background: transparent;
    outline: none;
    box-shadow: none;
    font-size: 14px;
    color: #0f172a;
    padding: 0 14px;
    min-height: 48px;
}

.gcrig-input-icon{
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #7d8ca6;
    border-left: 1px solid #e5ecf5;
    min-height: 48px;
}

.gcrig-filter-action{
    min-width: 140px;
}

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

.gcrig-transaction-card{
    background: #ffffff;
    border: 1px solid #e8eef7;
    border-radius: 18px;
    padding: 16px 18px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.gcrig-transaction-top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.gcrig-transaction-main{
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.gcrig-transaction-icon{
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(180deg, #041831 0%, #041640 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    border: 1px solid #e6edf7;
}

.gcrig-transaction-info{
    min-width: 0;
}

.gcrig-transaction-info h5{
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.gcrig-transaction-info span{
    font-size: 12px;
    color: #7d8ca6;
}

.gcrig-transaction-amount{
    text-align: right;
    flex: 0 0 auto;
}

.gcrig-transaction-amount span{
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .7px;
    color: #7d8ca6;
    margin-bottom: 4px;
}

.gcrig-transaction-amount strong{
    font-size: 18px;
    font-weight: 800;
}

.gcrig-transaction-amount.is-credit strong{
    color: #15a572;
}

.gcrig-transaction-amount.is-debit strong{
    color: #e23c5a;
}

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

.meta-box{
    background: #f7f9fc;
    border: 1px solid #edf2f7;
    border-radius: 14px;
    padding: 12px;
    min-width: 0;
}

.meta-box span{
    display: block;
    font-size: 11px;
    color: #7d8ca6;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: .7px;
}

.meta-box strong{
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    word-break: break-word;
}

.gcrig-status-badge{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: capitalize;
}

.gcrig-status-badge.is-success{
    background: rgba(34,197,94,0.12);
    color: #15803d;
}

.gcrig-status-badge.is-failed{
    background: rgba(239,68,68,0.12);
    color: #dc2626;
}

.gcrig-status-badge.is-pending{
    background: rgba(245,158,11,0.12);
    color: #d97706;
}

.gcrig-empty-state{
    text-align: center;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #e8eef7;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.gcrig-empty-state .empty-icon{
    font-size: 28px;
    margin-bottom: 10px;
}

.gcrig-empty-state p{
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.gcrig-empty-state small{
    color: #7d8ca6;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 1199.98px){
    .gcrig-filter-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gcrig-filter-action{
        min-width: 100%;
    }

    .gcrig-transaction-meta{
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px){
    .gcrig-transactions-shell{
        padding: 16px;
        border-radius: 18px;
    }

    .gcrig-transactions-head{
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 18px;
    }

    .gcrig-transactions-title{
        font-size: 22px;
        line-height: 1.2;
    }

    .gcrig-transactions-filter-card,
    .gcrig-transaction-card{
        padding: 14px;
        border-radius: 16px;
    }

    .gcrig-filter-grid{
        grid-template-columns: 1fr;
    }

    .gcrig-transaction-top{
        flex-direction: column;
        align-items: flex-start;
    }

    .gcrig-transaction-amount{
        text-align: left;
    }

    .gcrig-transaction-meta{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px){
    .gcrig-transactions-shell{
        padding: 12px;
    }

    .gcrig-transactions-title{
        font-size: 20px;
    }

    .gcrig-input,
    .gcrig-select{
        font-size: 13px;
        min-height: 44px;
    }

    .gcrig-input-icon{
        min-height: 44px;
    }

    .gcrig-transaction-info h5{
        font-size: 14px;
    }
    

    .gcrig-transaction-amount strong{
        font-size: 16px;
    }

    .gcrig-transaction-meta{
        grid-template-columns: 1fr;
    }

    .meta-box{
        padding: 10px;
    }
}

/* =========================
   GCRIG DEPOSIT PAGE
========================= */

.gcrig-deposit-shell{
    background: #f5f8fc;
    border-radius: 22px;
    padding: 24px;
}

.gcrig-deposit-head{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.gcrig-deposit-eyebrow{
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    color: #7d8ca6;
    font-weight: 600;
}

.gcrig-deposit-title{
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
}

.gcrig-deposit-subtitle{
    margin-top: 4px;
    color: #7d8ca6;
    font-size: 14px;
}

.gcrig-deposit-card,
.gcrig-deposit-summary{
    background: #ffffff;
    border: 1px solid #e8eef7;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    height: 100%;
}

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

.gcrig-field{
    min-width: 0;
}

.gcrig-field-full{
    grid-column: 1 / -1;
}

.gcrig-field label{
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}

.gcrig-input-wrap,
.gcrig-input-group{
    display: flex;
    align-items: center;
    background: #f4f7fb;
    border: 1px solid #e5ecf5;
    border-radius: 14px;
    min-height: 48px;
    overflow: hidden;
}

.gcrig-input,
.gcrig-select{
    width: 100%;
    border: 0;
    background: transparent;
    outline: none;
    box-shadow: none;
    font-size: 14px;
    color: #0f172a;
    padding: 0 14px;
    min-height: 48px;
}

.gcrig-input-suffix{
    padding: 0 14px;
    font-size: 13px;
    font-weight: 700;
    color: #1f7bff;
    border-left: 1px solid #dde6f1;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    min-height: 48px;
}

.gcrig-field-note{
    margin-top: 8px;
    font-size: 12px;
    color: #7d8ca6;
}

.gcrig-info-card{
    background: linear-gradient(180deg, #f7fbff 0%, #f1f7fd 100%);
    border: 1px solid #e5edf7;
    border-radius: 16px;
    padding: 16px;
}

.gcrig-info-card .info-label{
    display: block;
    font-size: 12px;
    color: #7d8ca6;
    margin-bottom: 6px;
}

.gcrig-info-card strong{
    display: block;
    font-size: 14px;
    color: #0f172a;
    font-weight: 700;
    line-height: 1.5;
}

.gcrig-summary-list{
    display: flex;
    flex-direction: column;
    gap: 0;
}

.gcrig-summary-row{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #edf2f7;
}

.gcrig-summary-row:last-child{
    border-bottom: 0;
}

.gcrig-summary-row span{
    font-size: 13px;
    color: #7d8ca6;
}

.gcrig-summary-row strong{
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    text-align: right;
}

.gcrig-method-logo img{
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 10px;
    background: #f8fbff;
    border: 1px solid #e6edf7;
    padding: 6px;
}

.gcrig-summary-note{
    margin-top: 16px;
    padding: 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, #07111f 0%, #0f2744 100%);
    color: #dbe8f6;
    font-size: 13px;
    line-height: 1.6;
}

.gcrig-action-wrap{
    margin-top: 18px;
}

.gcrig-submit-btn{
    width: 100%;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.gcrig-loading-note{
    padding: 12px 0;
    color: #7d8ca6;
    font-size: 13px;
}

/* wallet widget */
.wallet-widget{
    background: #0e17265c !important;
    border-color: #1b2a41 !important;
    color: #e8f1ff !important;
    border-radius: 16px !important;
}

.wallet-widget *{
    color: #fff !important;
}

.wallet-widget > div:first-child{
    margin-bottom: 20px !important;
}

.wallet-widget > div:nth-of-type(2){
    margin-bottom: 24px !important;
}

.wallet-widget .wallet-address{
    font-size: 10px !important;
    line-height: 1.25;
    letter-spacing: .2px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.wallet-widget .copy-btn{
    background: #196ed2 !important;
    color: #fff !important;
}

.wallet-widget .copy-btn:hover{
    background: #1558a3 !important;
}

.wallet-widget > div:last-child small{
    color: #fff !important;
}

.wallet-widget .qr-holder canvas,
.wallet-widget .qr-holder img{
    display: block;
    margin: 0;
}

/* upload box */
#manual-credentials .file-box,
#manual-fields .file-box{
    border: 2px dashed #33c18b;
    background: rgba(59,130,246,.06);
    border-radius: 12px;
    padding: 22px;
    text-align: center;
    position: relative;
    transition: background .2s, border-color .2s;
    display: block;
    width: 100%;
}

#manual-credentials .file-box:hover,
#manual-fields .file-box:hover{
    background: rgba(59,130,246,.10);
    border-color: #2563eb;
}

#manual-credentials .file-box input[type=file],
#manual-fields .file-box input[type=file]{
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

#manual-credentials .file-box .label,
#manual-fields .file-box .label{
    font-weight: 600;
    margin-bottom: 6px;
    color: #0f172a;
}

#manual-credentials .file-box .hint,
#manual-fields .file-box .hint{
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
}

#manual-credentials .file-box .chosen,
#manual-fields .file-box .chosen{
    font-size: 12px;
    color: #0f172a;
    margin-top: 10px;
    display: none;
    word-break: break-all;
}

/* responsive */
@media (max-width: 991.98px){
    .gcrig-form-grid{
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px){
    .gcrig-deposit-shell{
        padding: 16px;
        border-radius: 18px;
    }

    .gcrig-deposit-head{
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 18px;
    }

    .gcrig-deposit-title{
        font-size: 22px;
        line-height: 1.2;
    }

    .gcrig-deposit-card,
    .gcrig-deposit-summary{
        padding: 16px;
        border-radius: 16px;
    }

    .gcrig-summary-row{
        flex-direction: column;
        gap: 4px;
        padding: 12px 0;
    }

    .gcrig-summary-row strong{
        text-align: left;
    }
}

@media (max-width: 575.98px){
    .gcrig-deposit-shell{
        padding: 12px;
    }

    .gcrig-deposit-title{
        font-size: 20px;
    }

    .gcrig-input,
    .gcrig-select,
    .gcrig-input-suffix{
        min-height: 44px;
        font-size: 13px;
    }

    .gcrig-field label{
        font-size: 12px;
    }

    .gcrig-summary-note{
        font-size: 12px;
        padding: 12px;
    }

    .gcrig-submit-btn{
        min-height: 46px;
    }
}


/* =========================
   GCRIG DEPOSIT SUCCESS
========================= */

.gcrig-success-shell{
    background: #f5f8fc;
    border-radius: 22px;
    padding: 24px;
}

.gcrig-success-head{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.gcrig-success-eyebrow{
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    color: #7d8ca6;
    font-weight: 600;
}

.gcrig-success-page-title{
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
}

.gcrig-success-card{
    background: #ffffff;
    border: 1px solid #e8eef7;
    border-radius: 24px;
    padding: 34px 28px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 320px;
}

.gcrig-success-icon{
    width: 92px;
    height: 92px;
    border-radius: 24px;
    background: linear-gradient(180deg, #f4fbf7 0%, #ebfff3 100%);
    border: 1px solid #dcefe3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 92px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
}

.gcrig-success-icon img{
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.gcrig-success-content{
    flex: 1 1 auto;
    min-width: 0;
}

.gcrig-success-badge{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #eefaf3;
    color: #159a5d;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
}

.gcrig-success-title{
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    color: #0f172a;
    margin: 0 0 10px;
}

.gcrig-success-text{
    font-size: 15px;
    line-height: 1.7;
    color: #64748b;
    margin: 0 0 16px;
    max-width: 760px;
}

.gcrig-success-transaction{
    display: inline-flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 14px;
    background: linear-gradient(180deg, #f7fbff 0%, #f1f7fd 100%);
    border: 1px solid #e5edf7;
    color: #0f172a;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    word-break: break-word;
}

.gcrig-success-note{
    padding: 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, #07111f 0%, #0f2744 100%);
    color: #dbe8f6;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 18px;
}

.gcrig-success-actions{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 991.98px){
    .gcrig-success-card{
        padding: 26px 22px;
        min-height: auto;
    }

    .gcrig-success-title{
        font-size: 24px;
    }
}

@media (max-width: 767.98px){
    .gcrig-success-shell{
        padding: 16px;
        border-radius: 18px;
    }

    .gcrig-success-head{
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 18px;
    }

    .gcrig-success-page-title{
        font-size: 22px;
        line-height: 1.2;
    }

    .gcrig-success-card{
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding: 20px 16px;
        border-radius: 18px;
    }

    .gcrig-success-icon{
        width: 76px;
        height: 76px;
        border-radius: 18px;
        flex-basis: 76px;
    }

    .gcrig-success-icon img{
        width: 38px;
        height: 38px;
    }

    .gcrig-success-title{
        font-size: 20px;
    }

    .gcrig-success-text{
        font-size: 14px;
    }

    .gcrig-success-transaction{
        width: 100%;
        font-size: 13px;
    }

    .gcrig-success-actions{
        width: 100%;
    }

    .gcrig-success-actions .site-btn{
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575.98px){
    .gcrig-success-shell{
        padding: 12px;
    }

    .gcrig-success-page-title{
        font-size: 20px;
    }

    .gcrig-success-card{
        padding: 18px 14px;
    }

    .gcrig-success-title{
        font-size: 18px;
    }

    .gcrig-success-text{
        font-size: 13px;
    }

    .gcrig-success-note{
        font-size: 12px;
        padding: 12px;
    }
}

/* =========================
   GCRIG WALLET SWAP PAGE
========================= */

.gcrig-swap-shell{
    background: #f5f8fc;
    border-radius: 22px;
    padding: 24px;
}

.gcrig-swap-head{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.gcrig-swap-eyebrow{
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    color: #7d8ca6;
    font-weight: 600;
}

.gcrig-swap-title{
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
}

.gcrig-swap-subtitle{
    margin-top: 4px;
    color: #7d8ca6;
    font-size: 14px;
}

.gcrig-swap-card,
.gcrig-swap-summary{
    background: #ffffff;
    border: 1px solid #e8eef7;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    height: 100%;
}

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

.gcrig-field{
    min-width: 0;
}

.gcrig-field-full{
    grid-column: 1 / -1;
}

.gcrig-field label{
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}

.gcrig-input-wrap,
.gcrig-input-group{
    display: flex;
    align-items: center;
    background: #f4f7fb;
    border: 1px solid #e5ecf5;
    border-radius: 14px;
    min-height: 48px;
    overflow: hidden;
}

.gcrig-input,
.gcrig-select{
    width: 100%;
    border: 0;
    background: transparent;
    outline: none;
    box-shadow: none;
    font-size: 14px;
    color: #0f172a;
    padding: 0 14px;
    min-height: 48px;
}

.gcrig-input-suffix{
    padding: 0 14px;
    font-size: 13px;
    font-weight: 700;
    color: #1f7bff;
    border-left: 1px solid #dde6f1;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    min-height: 48px;
}

.gcrig-field-note{
    margin-top: 8px;
    font-size: 12px;
    color: #7d8ca6;
}

.gcrig-info-card{
    background: linear-gradient(180deg, #f7fbff 0%, #f1f7fd 100%);
    border: 1px solid #e5edf7;
    border-radius: 16px;
    padding: 16px;
}

.gcrig-info-card .info-label{
    display: block;
    font-size: 12px;
    color: #7d8ca6;
    margin-bottom: 6px;
}

.gcrig-info-card strong{
    display: block;
    font-size: 14px;
    color: #0f172a;
    font-weight: 700;
    line-height: 1.5;
}

.gcrig-summary-list{
    display: flex;
    flex-direction: column;
    gap: 0;
}

.gcrig-summary-row{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #edf2f7;
}

.gcrig-summary-row:last-child{
    border-bottom: 0;
}

.gcrig-summary-row span{
    font-size: 13px;
    color: #7d8ca6;
}

.gcrig-summary-row strong{
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    text-align: right;
}

.gcrig-summary-note{
    margin-top: 16px;
    padding: 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, #07111f 0%, #0f2744 100%);
    color: #dbe8f6;
    font-size: 13px;
    line-height: 1.6;
}

.gcrig-action-wrap{
    margin-top: 18px;
}

.gcrig-submit-btn{
    width: 100%;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* responsive */
@media (max-width: 991.98px){
    .gcrig-form-grid{
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px){
    .gcrig-swap-shell{
        padding: 16px;
        border-radius: 18px;
    }

    .gcrig-swap-head{
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 18px;
    }

    .gcrig-swap-title{
        font-size: 22px;
        line-height: 1.2;
    }

    .gcrig-swap-card,
    .gcrig-swap-summary{
        padding: 16px;
        border-radius: 16px;
    }

    .gcrig-summary-row{
        flex-direction: column;
        gap: 4px;
        padding: 12px 0;
    }

    .gcrig-summary-row strong{
        text-align: left;
    }
}

@media (max-width: 575.98px){
    .gcrig-swap-shell{
        padding: 12px;
    }

    .gcrig-swap-title{
        font-size: 20px;
    }

    .gcrig-input,
    .gcrig-select,
    .gcrig-input-suffix{
        min-height: 44px;
        font-size: 13px;
    }

    .gcrig-field label{
        font-size: 12px;
    }

    .gcrig-summary-note{
        font-size: 12px;
        padding: 12px;
    }

    .gcrig-submit-btn{
        min-height: 46px;
    }
}


/* =========================
   GCRIG SUCCESS PAGES
========================= */

.gcrig-success-shell{
    background: #f5f8fc;
    border-radius: 22px;
    padding: 24px;
}

.gcrig-success-head{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.gcrig-success-eyebrow{
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    color: #7d8ca6;
    font-weight: 600;
}

.gcrig-success-page-title{
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
}

.gcrig-success-card{
    background: #ffffff;
    border: 1px solid #e8eef7;
    border-radius: 24px;
    padding: 34px 28px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 320px;
}

.gcrig-success-icon{
    width: 92px;
    height: 92px;
    border-radius: 24px;
    background: linear-gradient(180deg, #f4fbf7 0%, #ebfff3 100%);
    border: 1px solid #dcefe3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 92px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
}

.gcrig-success-icon img{
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.gcrig-success-content{
    flex: 1 1 auto;
    min-width: 0;
}

.gcrig-success-badge{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #eefaf3;
    color: #159a5d;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
}

.gcrig-success-title{
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    color: #0f172a;
    margin: 0 0 10px;
}

.gcrig-success-text{
    font-size: 15px;
    line-height: 1.7;
    color: #64748b;
    margin: 0 0 16px;
    max-width: 760px;
}

.gcrig-success-transaction{
    display: inline-flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 14px;
    background: linear-gradient(180deg, #f7fbff 0%, #f1f7fd 100%);
    border: 1px solid #e5edf7;
    color: #0f172a;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    word-break: break-word;
}

.gcrig-success-note{
    padding: 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, #07111f 0%, #0f2744 100%);
    color: #dbe8f6;
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 18px;
}

.gcrig-success-actions{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 991.98px){
    .gcrig-success-card{
        padding: 26px 22px;
        min-height: auto;
    }

    .gcrig-success-title{
        font-size: 24px;
    }
}

@media (max-width: 767.98px){
    .gcrig-success-shell{
        padding: 16px;
        border-radius: 18px;
    }

    .gcrig-success-head{
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 18px;
    }

    .gcrig-success-page-title{
        font-size: 22px;
        line-height: 1.2;
    }

    .gcrig-success-card{
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        padding: 20px 16px;
        border-radius: 18px;
    }

    .gcrig-success-icon{
        width: 76px;
        height: 76px;
        border-radius: 18px;
        flex-basis: 76px;
    }

    .gcrig-success-icon img{
        width: 38px;
        height: 38px;
    }

    .gcrig-success-title{
        font-size: 20px;
    }

    .gcrig-success-text{
        font-size: 14px;
    }

    .gcrig-success-transaction{
        width: 100%;
        font-size: 13px;
    }

    .gcrig-success-actions{
        width: 100%;
    }

    .gcrig-success-actions .site-btn{
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575.98px){
    .gcrig-success-shell{
        padding: 12px;
    }

    .gcrig-success-page-title{
        font-size: 20px;
    }

    .gcrig-success-card{
        padding: 18px 14px;
    }

    .gcrig-success-title{
        font-size: 18px;
    }

    .gcrig-success-text{
        font-size: 13px;
    }

    .gcrig-success-note{
        font-size: 12px;
        padding: 12px;
    }
}

/* =========================
   GCRIG WITHDRAW PAGE
========================= */

.gcrig-withdraw-shell{
    background: #f5f8fc;
    border-radius: 22px;
    padding: 24px;
}

.gcrig-withdraw-head{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.gcrig-withdraw-eyebrow{
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    color: #7d8ca6;
    font-weight: 600;
}

.gcrig-withdraw-title{
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
}

.gcrig-withdraw-subtitle{
    margin-top: 4px;
    color: #7d8ca6;
    font-size: 14px;
}

.gcrig-withdraw-card,
.gcrig-withdraw-summary{
    background: #ffffff;
    border: 1px solid #e8eef7;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    height: 100%;
}

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

.gcrig-field{
    min-width: 0;
}

.gcrig-field-full{
    grid-column: 1 / -1;
}

.gcrig-field label{
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}

.gcrig-input-wrap,
.gcrig-input-group{
    display: flex;
    align-items: center;
    background: #f4f7fb;
    border: 1px solid #e5ecf5;
    border-radius: 14px;
    min-height: 48px;
    overflow: hidden;
}

.gcrig-input,
.gcrig-select{
    width: 100%;
    border: 0;
    background: transparent;
    outline: none;
    box-shadow: none;
    font-size: 14px;
    color: #0f172a;
    padding: 0 14px;
    min-height: 48px;
}

.gcrig-input-suffix{
    padding: 0 14px;
    font-size: 13px;
    font-weight: 700;
    color: #1f7bff;
    border-left: 1px solid #dde6f1;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    min-height: 48px;
}

.gcrig-field-note{
    margin-top: 8px;
    font-size: 12px;
    color: #7d8ca6;
}

.gcrig-info-card{
    background: linear-gradient(180deg, #f7fbff 0%, #f1f7fd 100%);
    border: 1px solid #e5edf7;
    border-radius: 16px;
    padding: 16px;
}

.gcrig-info-card .info-label{
    display: block;
    font-size: 12px;
    color: #7d8ca6;
    margin-bottom: 6px;
}

.gcrig-info-card strong{
    display: block;
    font-size: 14px;
    color: #0f172a;
    font-weight: 700;
    line-height: 1.5;
}

.gcrig-summary-list{
    display: flex;
    flex-direction: column;
    gap: 0;
}

.gcrig-summary-row{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #edf2f7;
}

.gcrig-summary-row:last-child{
    border-bottom: 0;
}

.gcrig-summary-row span{
    font-size: 13px;
    color: #7d8ca6;
}

.gcrig-summary-row strong{
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    text-align: right;
}

.gcrig-summary-note{
    margin-top: 16px;
    padding: 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, #07111f 0%, #0f2744 100%);
    color: #dbe8f6;
    font-size: 13px;
    line-height: 1.6;
}

.gcrig-action-wrap{
    margin-top: 18px;
}

.gcrig-submit-btn{
    width: 100%;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* injected rows from ajax */
.reviewDetails .detailsCol + *{
    border-top: 0;
}

.reviewDetails .gcrig-summary-row,
.reviewDetails li{
    list-style: none;
}

@media (max-width: 991.98px){
    .gcrig-form-grid{
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px){
    .gcrig-withdraw-shell{
        padding: 16px;
        border-radius: 18px;
    }

    .gcrig-withdraw-head{
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 18px;
    }

    .gcrig-withdraw-title{
        font-size: 22px;
        line-height: 1.2;
    }

    .gcrig-withdraw-card,
    .gcrig-withdraw-summary{
        padding: 16px;
        border-radius: 16px;
    }

    .gcrig-summary-row{
        flex-direction: column;
        gap: 4px;
        padding: 12px 0;
    }

    .gcrig-summary-row strong{
        text-align: left;
    }
}

@media (max-width: 575.98px){
    .gcrig-withdraw-shell{
        padding: 12px;
    }

    .gcrig-withdraw-title{
        font-size: 20px;
    }

    .gcrig-input,
    .gcrig-select,
    .gcrig-input-suffix{
        min-height: 44px;
        font-size: 13px;
    }

    .gcrig-field label{
        font-size: 12px;
    }

    .gcrig-summary-note{
        font-size: 12px;
        padding: 12px;
    }

    .gcrig-submit-btn{
        min-height: 46px;
    }
}

/* =========================
   WITHDRAW REVIEW DETAILS FIX
========================= */

.reviewDetails{
    display: flex;
    flex-direction: column;
    gap: 0;
}

.reviewDetails .detailsCol{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #edf2f7;
}

.reviewDetails .detailsCol .title{
    font-size: 13px;
    color: #7d8ca6;
    font-weight: 500;
}

.reviewDetails .detailsCol .info{
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    text-align: right;
}

/* Any injected rows after ajax */
.reviewDetails li:not(.detailsCol){
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #edf2f7;
    list-style: none;
    margin: 0;
}

.reviewDetails li:not(.detailsCol) .title{
    font-size: 13px;
    color: #7d8ca6;
    font-weight: 500;
    flex: 1 1 auto;
}

.reviewDetails li:not(.detailsCol) .info{
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    text-align: right;
    flex: 0 0 auto;
    max-width: 62%;
    word-break: break-word;
}

/* Wallet address special handling */
.reviewDetails li:not(.detailsCol) .info.wallet-address,
.reviewDetails .wallet-address{
    font-size: 13px;
    line-height: 1.45;
    font-weight: 700;
    color: #0f172a;
    word-break: break-all;
}

/* Reduce bulky spacing in the summary card */
.gcrig-withdraw-summary .gcrig-summary-list{
    gap: 0;
}

.gcrig-withdraw-summary .gcrig-summary-row{
    padding: 14px 0;
}

/* Mobile */
@media (max-width: 767.98px){
    .reviewDetails .detailsCol,
    .reviewDetails li:not(.detailsCol){
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 12px 0;
    }

    .reviewDetails .detailsCol .info,
    .reviewDetails li:not(.detailsCol) .info{
        text-align: left;
        max-width: 100%;
        font-size: 13px;
    }

    .reviewDetails li:not(.detailsCol) .title,
    .reviewDetails .detailsCol .title{
        font-size: 12px;
    }

    .reviewDetails .wallet-address,
    .reviewDetails li:not(.detailsCol) .info.wallet-address{
        font-size: 12px;
    }
}

/* Center confirmed badge on mobile */
@media (max-width: 767.98px){

    .gcrig-success-content{
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .gcrig-success-badge{
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

}

/* Center success icon always */
.gcrig-success-card{
    flex-direction: column; /* stack vertically */
    align-items: center;    /* center everything */
    text-align: center;
}

/* ensure icon is centered */
.gcrig-success-icon{
    margin: 0 auto 12px;
}

/* =========================
   GCRIG WITHDRAW ACCOUNT PAGE
========================= */

.gcrig-withdraw-account-shell{
    background: #f5f8fc;
    border-radius: 22px;
    padding: 24px;
}

.gcrig-withdraw-account-head{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.gcrig-withdraw-account-eyebrow{
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    color: #7d8ca6;
    font-weight: 600;
}

.gcrig-withdraw-account-title{
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
}

.gcrig-withdraw-account-subtitle{
    margin-top: 4px;
    color: #7d8ca6;
    font-size: 14px;
}

.gcrig-withdraw-account-list{
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.gcrig-withdraw-account-card{
    background: #ffffff;
    border: 1px solid #e8eef7;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.9fr) auto;
    gap: 16px;
    align-items: center;
}

.gcrig-withdraw-account-main{
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.gcrig-withdraw-account-icon{
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #07111f 0%, #0f2744 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.12);
}

.gcrig-withdraw-account-info{
    min-width: 0;
}

.gcrig-withdraw-account-info h5{
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.gcrig-withdraw-account-info span{
    display: block;
    font-size: 13px;
    color: #7d8ca6;
}

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

.account-meta-box{
    background: #f7f9fc;
    border: 1px solid #edf2f7;
    border-radius: 14px;
    padding: 12px;
}

.account-meta-box span{
    display: block;
    font-size: 11px;
    color: #7d8ca6;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: .7px;
}

.account-meta-box strong{
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    word-break: break-word;
}

.gcrig-withdraw-account-action{
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.gcrig-account-edit-btn{
    min-height: 44px;
    padding: 0 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1f7bff 0%, #35c1ff 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 18px rgba(31, 123, 255, 0.18);
}

.gcrig-account-edit-btn:hover{
    color: #ffffff;
    transform: translateY(-1px);
}

@media (max-width: 1199.98px){
    .gcrig-withdraw-account-card{
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .gcrig-withdraw-account-action{
        justify-content: flex-start;
    }
}

@media (max-width: 767.98px){
    .gcrig-withdraw-account-shell{
        padding: 16px;
        border-radius: 18px;
    }

    .gcrig-withdraw-account-head{
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 18px;
    }

    .gcrig-withdraw-account-title{
        font-size: 22px;
        line-height: 1.2;
    }

    .gcrig-withdraw-account-card{
        padding: 16px;
        border-radius: 16px;
        gap: 14px;
    }

    .gcrig-withdraw-account-info h5{
        font-size: 16px;
    }

    .gcrig-withdraw-account-meta{
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px){
    .gcrig-withdraw-account-shell{
        padding: 12px;
    }

    .gcrig-withdraw-account-title{
        font-size: 20px;
    }

    .gcrig-withdraw-account-subtitle{
        font-size: 13px;
    }

    .gcrig-withdraw-account-card{
        padding: 14px;
    }

    .gcrig-withdraw-account-icon{
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .gcrig-withdraw-account-info h5{
        font-size: 15px;
    }

    .gcrig-withdraw-account-info span{
        font-size: 12px;
    }

    .gcrig-account-edit-btn{
        width: 100%;
        justify-content: center;
    }
}
/* =========================
   GCRIG CREATE WITHDRAW ACCOUNT
========================= */

.gcrig-withdraw-create-shell{
    background: #f5f8fc;
    border-radius: 22px;
    padding: 24px;
}

.gcrig-withdraw-create-head{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.gcrig-withdraw-create-eyebrow{
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    color: #7d8ca6;
    font-weight: 600;
}

.gcrig-withdraw-create-title{
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
}

.gcrig-withdraw-create-subtitle{
    margin-top: 4px;
    color: #7d8ca6;
    font-size: 14px;
}

.gcrig-withdraw-create-card,
.gcrig-withdraw-create-summary{
    background: #ffffff;
    border: 1px solid #e8eef7;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    height: 100%;
}

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

.gcrig-field{
    min-width: 0;
}

.gcrig-field-full{
    grid-column: 1 / -1;
}

.gcrig-field label,
.gcrig-dynamic-label{
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}

.gcrig-input-wrap{
    display: flex;
    align-items: center;
    background: #f4f7fb;
    border: 1px solid #e5ecf5;
    border-radius: 14px;
    min-height: 48px;
    overflow: hidden;
}

.gcrig-select,
.gcrig-dynamic-input{
    width: 100%;
    border: 1px solid #e5ecf5;
    background: #f4f7fb;
    outline: none;
    box-shadow: none;
    font-size: 14px;
    color: #0f172a;
    padding: 12px 14px;
    min-height: 48px;
    border-radius: 14px;
}

.gcrig-input-wrap .gcrig-select{
    border: 0;
    background: transparent;
    padding: 0 14px;
}

.gcrig-summary-list{
    display: flex;
    flex-direction: column;
    gap: 0;
}

.gcrig-summary-row{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #edf2f7;
}

.gcrig-summary-row:last-child{
    border-bottom: 0;
}

.gcrig-summary-row span{
    font-size: 13px;
    color: #7d8ca6;
}

.gcrig-summary-row strong{
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    text-align: right;
}

.gcrig-summary-note{
    margin-top: 16px;
    padding: 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, #07111f 0%, #0f2744 100%);
    color: #dbe8f6;
    font-size: 13px;
    line-height: 1.6;
}

.gcrig-action-wrap{
    margin-top: 18px;
}

.gcrig-submit-btn{
    width: 100%;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Dynamic injected fields from ajax */
.selectMethodRow .col-xxl-6,
.selectMethodRow .col-xl-6,
.selectMethodRow .col-lg-6,
.selectMethodRow .col-md-6,
.selectMethodRow .col-sm-12,
.selectMethodRow .col-12{
    min-width: 0;
}

.selectMethodRow .rock-single-input{
    width: 100%;
}

.selectMethodRow .input-field,
.selectMethodRow .input-select{
    width: 100%;
}

.selectMethodRow input,
.selectMethodRow select,
.selectMethodRow textarea{
    width: 100%;
    border: 1px solid #e5ecf5;
    background: #f4f7fb;
    border-radius: 14px;
    min-height: 48px;
    padding: 12px 14px;
    color: #0f172a;
}

.selectMethodRow textarea{
    min-height: 120px;
    resize: vertical;
}

.selectMethodRow .input-label,
.selectMethodRow label{
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}

/* file/image inputs */
.selectMethodRow input[type="file"]{
    padding: 10px 12px;
    background: #f8fbff;
}

/* image preview helper spacing */
.selectMethodRow img{
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* responsive */
@media (max-width: 991.98px){
    .gcrig-form-grid{
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px){
    .gcrig-withdraw-create-shell{
        padding: 16px;
        border-radius: 18px;
    }

    .gcrig-withdraw-create-head{
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 18px;
    }

    .gcrig-withdraw-create-title{
        font-size: 22px;
        line-height: 1.2;
    }

    .gcrig-withdraw-create-card,
    .gcrig-withdraw-create-summary{
        padding: 16px;
        border-radius: 16px;
    }

    .gcrig-summary-row{
        flex-direction: column;
        gap: 4px;
        padding: 12px 0;
    }

    .gcrig-summary-row strong{
        text-align: left;
    }
}

@media (max-width: 575.98px){
    .gcrig-withdraw-create-shell{
        padding: 12px;
    }

    .gcrig-withdraw-create-title{
        font-size: 20px;
    }

    .gcrig-withdraw-create-subtitle{
        font-size: 13px;
    }

    .gcrig-select,
    .gcrig-dynamic-input,
    .selectMethodRow input,
    .selectMethodRow select,
    .selectMethodRow textarea{
        min-height: 44px;
        font-size: 13px;
    }

    .gcrig-field label,
    .gcrig-dynamic-label,
    .selectMethodRow .input-label,
    .selectMethodRow label{
        font-size: 12px;
    }

    .gcrig-summary-note{
        font-size: 12px;
        padding: 12px;
    }

    .gcrig-submit-btn{
        min-height: 46px;
    }
}

/* =========================
   WITHDRAW CREATE DYNAMIC FIELD FIX
========================= */

/* force injected method rows to be visible */
.selectMethodRow .rock-single-input,
.selectMethodRow .site-input-groups,
.selectMethodRow .input-field,
.selectMethodRow .input-select{
    width: 100%;
}

/* labels */
.selectMethodRow .input-label,
.selectMethodRow label{
    display: block !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
    margin-bottom: 8px !important;
}

/* inputs / textarea / select */
.selectMethodRow input[type="text"],
.selectMethodRow input[type="email"],
.selectMethodRow input[type="number"],
.selectMethodRow input[type="password"],
.selectMethodRow input[type="url"],
.selectMethodRow input[type="file"],
.selectMethodRow textarea,
.selectMethodRow select{
    width: 100% !important;
    min-height: 48px !important;
    background: #f4f7fb !important;
    border: 1px solid #d9e3f0 !important;
    border-radius: 14px !important;
    padding: 12px 14px !important;
    color: #0f172a !important;
    font-size: 14px !important;
    box-shadow: none !important;
    outline: none !important;
}

/* placeholder */
.selectMethodRow input::placeholder,
.selectMethodRow textarea::placeholder{
    color: #8a99b2 !important;
    opacity: 1;
}

/* textarea taller */
.selectMethodRow textarea{
    min-height: 120px !important;
    resize: vertical;
}

/* if old theme adds white text to inputs, override it */
.selectMethodRow input,
.selectMethodRow textarea,
.selectMethodRow select{
    -webkit-text-fill-color: #0f172a !important;
}

/* method info blocks if rendered as plain text */
.selectMethodRow p,
.selectMethodRow span,
.selectMethodRow small,
.selectMethodRow .description{
    color: #64748b !important;
}

/* input focus */
.selectMethodRow input:focus,
.selectMethodRow textarea:focus,
.selectMethodRow select:focus{
    border-color: #1f7bff !important;
    background: #f8fbff !important;
}

/* file input */
.selectMethodRow input[type="file"]{
    padding: 10px 12px !important;
    background: #f8fbff !important;
    color: #0f172a !important;
}

/* mobile */
@media (max-width: 575.98px){
    .selectMethodRow .input-label,
    .selectMethodRow label{
        font-size: 12px !important;
    }

    .selectMethodRow input[type="text"],
    .selectMethodRow input[type="email"],
    .selectMethodRow input[type="number"],
    .selectMethodRow input[type="password"],
    .selectMethodRow input[type="url"],
    .selectMethodRow input[type="file"],
    .selectMethodRow textarea,
    .selectMethodRow select{
        min-height: 44px !important;
        font-size: 13px !important;
    }
}

/* =========================
   SETTINGS CARD SIZE CONTROL
========================= */

/* make all cards equal height */
.rock-profile-security-area .rock-dashboard-card{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 18px; /* reduce overall padding */
    border-radius: 16px;
}

/* reduce title spacing */
.rock-profile-security-area .rock-dashboard-title-inner{
    margin-bottom: 10px;
}

.rock-profile-security-area .rock-dashboard-tile{
    font-size: 16px;
    font-weight: 600;
}

/* reduce content spacing */
.rock-profile-security-wrapper,
.rock-profile-security-content{
    gap: 10px;
}

/* reduce paragraph text */
.rock-profile-security-content .description{
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 8px;
}

/* shrink QR image */
.rock-profile-security-content img{
    max-width: 140px;
    height: auto;
    margin-bottom: 8px;
}

/* reduce input spacing */
.rock-profile-security-input{
    margin-top: 8px;
}

.rock-profile-security-input input{
    min-height: 40px;
    font-size: 13px;
}

/* reduce button spacing */
.rock-input-btn-wrap{
    margin-top: 10px !important;
}

.site-btn{
    min-height: 40px;
    font-size: 13px;
    padding: 8px 14px;
}

/* KYC section fix */
.rock-badge-verified-wrapper{
    margin-bottom: 20px !important;
}

/* change password card */
.rock-profile-change-password-btn{
    margin-top: 20px !important;
}

/* ensure equal height columns */
.rock-profile-security-area .col-xxl-6,
.rock-profile-security-area .col-xl-6,
.rock-profile-security-area .col-lg-6{
    display: flex;
}

/* MOBILE FIX */
@media (max-width: 767px){

    .rock-profile-security-area .rock-dashboard-card{
        padding: 14px;
    }

    .rock-profile-security-content img{
        max-width: 120px;
    }

    .rock-dashboard-tile{
        font-size: 15px;
    }

}

/* referral card text */
.referral-text{
    font-size: 13px;
    color: #7c8aa5;
    line-height: 1.5;
    margin-bottom: 10px;
    
}
.referral-card-content{
    margin-top: 8px;
}

.referral-text{
    font-size: 13px;
    color: #7c8aa5;
    line-height: 1.5;
    margin-bottom: 10px;
}

.rock-profile-change-password-btn{
    margin-top: 20px !important;
}

/* =========================
   GCRIG REFERRAL PAGE
========================= */

.gcrig-referral-shell{
    background: #f5f8fc;
    border-radius: 22px;
    padding: 24px;
}

.gcrig-referral-head{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.gcrig-referral-eyebrow{
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    color: #7d8ca6;
    font-weight: 600;
}

.gcrig-referral-title{
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
}

.gcrig-referral-subtitle{
    margin-top: 4px;
    color: #7d8ca6;
    font-size: 14px;
}

.gcrig-referral-badge{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #edf6ff;
    color: #1f7bff;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.gcrig-referral-link-card,
.gcrig-referral-log-card{
    background: linear-gradient(180deg, #083766 0%, #062b5c 100%);
    border: 1px solid #e8eef7;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.gcrig-referral-link-grid{
    display: grid;
    grid-template-columns: 1.5fr 280px;
    gap: 16px;
    align-items: center;
    margin-bottom: 18px;
}

.gcrig-referral-stat-card{
    background: linear-gradient(180deg, #f7fbff 0%, #f1f7fd 100%);
    border: 1px solid #e5edf7;
    border-radius: 16px;
    padding: 16px;
}

.gcrig-referral-stat-card span{
    display: block;
    font-size: 12px;
    color: #7d8ca6;
    margin-bottom: 6px;
}

.gcrig-referral-stat-card strong{
    display: block;
    font-size: 26px;
    line-height: 1;
    color: #0f172a;
    font-weight: 800;
    margin-bottom: 4px;
}

.gcrig-referral-stat-card small{
    color: #64748b;
    font-size: 12px;
}

.gcrig-referral-tree-wrap{
    background: linear-gradient(180deg, #083766 0%, #062b5c 100%);
    border: 1px solid #eaf0f7;
    border-radius: 18px;
    padding: 18px;
    overflow: auto;
}

.gcrig-referral-tree{
    min-width: 720px;
}

.gcrig-referral-log-head{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.gcrig-profit-pill{
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f3f8ff;
    border: 1px solid #e1ebf9;
    color: #0f172a;
    font-size: 12px;
    font-weight: 700;
}

.gcrig-referral-tabs{
    border: 0;
    gap: 8px;
    margin-bottom: 18px;
    flex-wrap: nowrap;
    overflow: auto;
    padding-bottom: 4px;
}

.gcrig-referral-tabs .nav-link{
    border: 1px solid #e5ecf5;
    background: #f7f9fc;
    color: #64748b;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 16px;
    white-space: nowrap;
}

.gcrig-referral-tabs .nav-link.active{
    background: #1f7bff;
    color: #ffffff;
    border-color: #1f7bff;
}

.gcrig-referral-log-list{
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.gcrig-referral-log-item{
    background: #ffffff;
    border: 1px solid #e8eef7;
    border-radius: 18px;
    padding: 16px 18px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.gcrig-referral-log-main{
    margin-bottom: 12px;
}

.gcrig-referral-log-info h6{
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.gcrig-referral-log-info span{
    font-size: 12px;
    color: #7d8ca6;
}

.gcrig-referral-log-meta{
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 12px;
}

.gcrig-referral-log-meta .meta-box{
    background: #f7f9fc;
    border: 1px solid #edf2f7;
    border-radius: 14px;
    padding: 12px;
}

.gcrig-referral-log-meta .meta-box span{
    display: block;
    font-size: 11px;
    color: #7d8ca6;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: .7px;
}

.gcrig-referral-log-meta .meta-box strong{
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    word-break: break-word;
}

.gcrig-referral-log-meta .meta-box strong.is-positive{
    color: #15a572;
}

@media (max-width: 1199.98px){
    .gcrig-referral-link-grid{
        grid-template-columns: 1fr;
    }

    .gcrig-referral-log-meta{
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 767.98px){
    .gcrig-referral-shell{
        padding: 16px;
        border-radius: 18px;
    }

    .gcrig-referral-head,
    .gcrig-referral-log-head{
        flex-direction: column;
        align-items: flex-start;
    }

    .gcrig-referral-title{
        font-size: 22px;
        line-height: 1.2;
    }

    .gcrig-referral-link-card,
    .gcrig-referral-log-card{
        padding: 16px;
        border-radius: 16px;
    }

    .gcrig-referral-tree{
        min-width: 620px;
    }

    .gcrig-referral-log-meta{
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px){
    .gcrig-referral-shell{
        padding: 12px;
    }

    .gcrig-referral-title{
        font-size: 20px;
    }

    .gcrig-referral-subtitle{
        font-size: 13px;
    }

    .gcrig-referral-link-card,
    .gcrig-referral-log-card{
        padding: 14px;
    }

    .gcrig-referral-stat-card strong{
        font-size: 22px;
    }
}

/* =========================
   GCRIG REFERRAL TREE FIX
========================= */

.gcrig-referral-tree{
    padding: 10px 20px 30px;
    min-width: 980px;
}

.gcrig-referral-tree ul{
    position: relative;
    padding-top: 34px;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 34px;
}

.gcrig-referral-tree li{
    position: relative;
    list-style: none;
    text-align: center;
    padding: 0 10px;
    min-width: 220px;
}

/* horizontal connector line */
.gcrig-referral-tree li::before,
.gcrig-referral-tree li::after{
    content: "";
    position: absolute;
    top: 0;
    width: 50%;
    height: 22px;
    border-top: 1px solid rgba(255,255,255,0.18);
}

.gcrig-referral-tree li::before{
    left: -2px;
    border-right: 1px solid rgba(255,255,255,0.18);
}

.gcrig-referral-tree li::after{
    right: -2px;
    border-left: 1px solid rgba(255,255,255,0.18);
}

/* remove connectors where not needed */
.gcrig-referral-tree li:only-child::before,
.gcrig-referral-tree li:only-child::after{
    display: none;
}

.gcrig-referral-tree li:first-child::before{
    display: none;
}

.gcrig-referral-tree li:last-child::after{
    display: none;
}

/* vertical line from parent to child row */
.gcrig-referral-tree ul ul::before{
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 18px;
    border-left: 1px solid rgba(255,255,255,0.18);
    transform: translateX(-50%);
}

/* card wrapper */
.rock-referral-tree-card-inner{
    display: flex;
    justify-content: center;
}

.rock-referral-tree-card{
    width: 100%;
    max-width: 340px;
    min-height: 126px;
    padding: 16px 18px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
    backdrop-filter: blur(10px);
}

/* child cards */
.rock-referral-tree-card.tree-parent{
    background: linear-gradient(135deg, #ffb01f 0%, #ff5f1f 55%, #ff3131 100%);
    border: 1px solid rgba(255,255,255,0.22);
    box-shadow: 0 18px 40px rgba(255, 95, 31, 0.22);
}

.rock-referral-tree-card:not(.tree-parent){
    background: rgba(255,255,255,0.08);
}

/* subtle pattern */
.rock-referral-tree-card::before{
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.04), transparent 45%);
    pointer-events: none;
}

.rock-referral-tree-card .thumb{
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(16, 84, 178, 0.9);
    border: 1px solid rgba(255,255,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rock-referral-tree-card .thumb img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rock-referral-tree-card .content{
    min-width: 0;
    flex: 1 1 auto;
}

.rock-referral-tree-card .title{
    margin: 0 0 6px;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 700;
    color: #ffffff;
    word-break: break-word;
}

.rock-referral-tree-card .info{
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255,255,255,0.9);
}

/* top root node more centered */
.gcrig-referral-tree > ul{
    padding-top: 10px;
}

.gcrig-referral-tree > ul > li::before,
.gcrig-referral-tree > ul > li::after{
    display: none;
}

.gcrig-referral-tree > ul > li > .rock-referral-tree-item{
    margin-bottom: 10px;
}

/* mobile/tree scroll */
@media (max-width: 991.98px){
    .gcrig-referral-tree{
        min-width: 860px;
    }

    .rock-referral-tree-card{
        max-width: 300px;
        min-height: 118px;
        padding: 14px 16px;
    }

    .rock-referral-tree-card .title{
        font-size: 15px;
    }

    .rock-referral-tree-card .info{
        font-size: 12px;
    }
}

@media (max-width: 767.98px){
    .gcrig-referral-tree{
        min-width: 760px;
        padding: 6px 12px 22px;
    }

    .gcrig-referral-tree ul{
        gap: 24px;
        padding-top: 28px;
    }

    .gcrig-referral-tree li{
        min-width: 200px;
        padding: 0 6px;
    }

    .rock-referral-tree-card{
        max-width: 260px;
        min-height: 108px;
        padding: 12px 14px;
        gap: 10px;
        border-radius: 16px;
    }

    .rock-referral-tree-card .thumb{
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .rock-referral-tree-card .title{
        font-size: 14px;
    }

    .rock-referral-tree-card .info{
        font-size: 11px;
    }
}

/* =========================
   GCRIG MOBILE BOTTOM BAR
========================= */

.gcrig-mobile-appbar ul{
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: end;
    gap: 8px;
    margin: 0;
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
    list-style: none;
}

.gcrig-mobile-appbar ul li{
    min-width: 0;
}

.gcrig-mobile-appbar ul li a{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-decoration: none;
    color: #000;
}

.gcrig-mobile-appbar ul li .icon{
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gcrig-mobile-appbar ul li .text{
    font-size: 11px;
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
}

/* transfer CTA */
.gcrig-mobile-appbar ul li.transfer-cta{
    align-self: center;
}

.gcrig-mobile-appbar ul li.transfer-cta a{
    min-height: 48px;
    border-radius: 14px;
    padding: 8px 10px;
    background: linear-gradient(135deg, #1f7bff 0%, #35c1ff 100%);
    box-shadow: 0 10px 20px rgba(31, 123, 255, 0.22);
    gap: 3px;
}

.gcrig-mobile-appbar ul li.transfer-cta .icon svg,
.gcrig-mobile-appbar ul li.transfer-cta .text{
    color: #fff;
    fill: currentColor;
}

.gcrig-mobile-appbar ul li.transfer-cta .text{
    font-size: 11px;
    font-weight: 700;
}

/* active transfer */
.gcrig-mobile-appbar ul li.transfer-cta.active a{
    background: linear-gradient(135deg, #0f8f61 0%, #22c55e 100%);
    box-shadow: 0 10px 20px rgba(34, 197, 94, 0.22);
}

/* smaller phones */
@media (max-width: 420px){
    .gcrig-mobile-appbar ul{
        gap: 6px;
        padding-left: 8px;
        padding-right: 8px;
    }

    .gcrig-mobile-appbar ul li .text{
        font-size: 10px;
    }

    .gcrig-mobile-appbar ul li.transfer-cta a{
        min-height: 44px;
        border-radius: 12px;
        padding: 7px 8px;
    }

    .gcrig-mobile-appbar ul li.transfer-cta .text{
        font-size: 10px;
    }

    .gcrig-mobile-appbar ul li .icon svg{
        width: 24px;
        height: 24px;
    }

    .gcrig-mobile-appbar ul li.transfer-cta .icon svg{
        width: 18px;
        height: 18px;
    }
}

/* very small phones */
@media (max-width: 360px){
    .gcrig-mobile-appbar ul{
        gap: 4px;
    }

    .gcrig-mobile-appbar ul li .text{
        font-size: 9px;
    }

    .gcrig-mobile-appbar ul li.transfer-cta a{
        min-height: 42px;
        padding: 6px 6px;
    }
}
/* ===== FORCE NOTIFICATION LIST BACK TO VERTICAL ===== */

.notifications-box .notifications-info-wrapper {
  height: 280px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 5px;
}

.notifications-box .notifications-info-list {
  width: 100%;
}

.notifications-box .notifications-info-list ul {
  display: block !important;
  flex-direction: column !important;
  margin: 0;
  padding: 0;
  width: 100%;
}

.notifications-box .notifications-info-list ul li {
  display: block !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  margin: 0;
  list-style: none;
}

.notifications-box .notifications-info-list ul li:not(:last-child) {
  margin-bottom: 8px;
}

.notifications-box .notifications-info-list ul li .list-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100% !important;
  min-height: auto !important;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.notifications-box .notifications-info-list ul li .list-item .icon {
  flex: 0 0 16px;
}

.notifications-box .notifications-info-list ul li .list-item .content {
  width: 100%;
  min-width: 0;
}

.notifications-box .notifications-info-list ul li .list-item .content .title {
  display: block;
  margin-bottom: 6px;
  line-height: 1.45;
  word-break: break-word;
}

.notifications-box .notifications-info-list ul li .list-item .content .info {
  display: block;
  margin-top: 0;
}

/* mobile */
@media (max-width: 575.98px) {
  .notifications-box .notifications-info-wrapper {
    height: 260px;
  }

  .notifications-box .notifications-info-list ul li .list-item {
    padding: 10px;
  }
}

.create-account-link{
    color: #1f7bff;
    font-weight: 600;
    text-decoration: none;
    margin-left: 4px;
    transition: all 0.25s ease;
}

.create-account-link:hover{
    color: #35c1ff;
    text-decoration: underline;
}

/* =========================
   GCRIG EMAIL-STYLE POPUP
========================= */

.gcrig-popup-modal{
    border-radius: 24px;
    overflow: hidden;
    border: none;

    background: linear-gradient(135deg, #07111f 0%, #0f2744 100%);
    color: #ffffff;

    box-shadow: 0 50px 120px rgba(0,0,0,0.45);
    position: relative;
}

/* subtle glow overlay */
.gcrig-popup-modal::before{
    content:"";
    position:absolute;
    inset:0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.08), transparent 25%),
        radial-gradient(circle at 80% 80%, rgba(59,130,246,0.12), transparent 30%);
    pointer-events:none;
}

/* inner body */
.gcrig-popup-modal .popup-body{
    position: relative;
    padding: 32px;
}

/* close button */
.gcrig-popup-close{
    position:absolute;
    top:16px;
    right:16px;
    width:38px;
    height:38px;
    border-radius:50%;
    border:none;
    background:rgba(255,255,255,0.08);
    color:#fff;
    font-size:20px;
    backdrop-filter: blur(6px);
    cursor:pointer;
    transition:.2s;
}

.gcrig-popup-close:hover{
    background:rgba(255,255,255,0.15);
}

/* eyebrow */
.popup-eyebrow{
    font-size:11px;
    font-weight:700;
    letter-spacing:1px;
    text-transform:uppercase;
    color:#7dd3fc;
    margin-bottom:10px;
}

/* title */
.popup-title{
    font-size:26px;
    font-weight:700;
    color:#ffffff;
    margin-bottom:14px;
}

/* =========================
   CONTENT CARD (WHITE)
========================= */

.popup-text{
    background:#ffffff;
    color:#334155;
    border-radius:16px;
    padding:16px 14px;

    font-size:15px;
    line-height:1.7;

    max-height:260px;
    overflow-y:auto;

    box-shadow:0 10px 30px rgba(0,0,0,0.15);
}

/* scrollbar */
.popup-text::-webkit-scrollbar{
    width:5px;
}
.popup-text::-webkit-scrollbar-thumb{
    background:rgba(15,23,42,0.2);
    border-radius:999px;
}

/* buttons */
.popup-actions{
    margin-top:22px;
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

/* primary button upgrade */
.popup-actions .gradient-btn{
    background: linear-gradient(135deg, #1f7bff, #3b82f6);
    box-shadow: 0 12px 30px rgba(31,123,255,0.35);
}

/* light button */
.popup-actions .light-btn{
    background: rgba(255,255,255,0.08);
    color:#fff;
    border:1px solid rgba(255,255,255,0.12);
}

/* =========================
   MOBILE
========================= */

@media (max-width:575.98px){
    .gcrig-popup-modal .popup-body{
        padding:22px 16px;
    }

    .popup-title{
        font-size:22px;
    }

    .popup-text{
        font-size:14px;
        max-height:220px;
    }

    .popup-actions .site-btn{
        width:100%;
        justify-content:center;
    }
}

