@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg: #f9fafb;
  --bg-card: #ffffff;
  --bg-input: #f3f4f6;
  --border: rgba(0,0,0,0.08);
  --border-hover: rgba(0,0,0,0.15);
  --text: #111827;
  --text-muted: #6b7280;
  --text-dim: #9ca3af;
  --primary: #2563eb;
  --primary-dim: rgba(37,99,235,0.12);
  --primary-border: rgba(37,99,235,0.25);
  --sidebar-w: 190px;
  --nav-h: 56px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
button:focus, button:focus-visible, input:focus, input:focus-visible, select:focus { outline: none !important; box-shadow: none !important; }
#country-btn, #country-btn:focus, #country-btn:focus-visible, #country-btn:active { outline: none !important; box-shadow: none !important; border-color: var(--border) !important; }


html, body { height: 100%; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

/* Î“Ã¶Ã‡Î“Ã¶Ã‡ Scrollbar Î“Ã¶Ã‡Î“Ã¶Ã‡ */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 99px; }

/* Î“Ã¶Ã‡Î“Ã¶Ã‡ Top Nav Î“Ã¶Ã‡Î“Ã¶Ã‡ */
.topnav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.25rem;
  z-index: 200;
}
.logo-wrap { display: flex; align-items: center; gap: 0.6rem; }
.logo-icon {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--primary), #00cc66);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 11px; color: #000;
}
.logo-text { font-size: 0.875rem; font-weight: 800; letter-spacing: -0.02em; }

.nav-right { display: flex; align-items: center; gap: 0.625rem; }

.balance-chip {
  display: flex; align-items: center; gap: 0.75rem;
  background: #ffffff; border: 1px solid var(--border);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
  border-radius: 10px; padding: 0.3rem 0.4rem 0.3rem 0.875rem;
  position: relative;
}
.balance-chip .bl { display: flex; flex-direction: column; }
.balance-chip .bl-label { font-size: 8px; font-weight: 900; letter-spacing: 0.12em; color: var(--text); text-transform: uppercase; }
.balance-chip .bl-amount { font-size: 0.95rem; font-weight: 800; color: var(--text); display: flex; align-items: center; gap: 4px; }

/* Payment dropdown */
.add-btn-wrap { position: relative; }
.add-btn {
  background: #006cb5; color: #ffffff;
  border: none; border-radius: 20px;
  padding: 0.4rem 1rem;
  font-weight: 700; font-size: 0.8rem; cursor: pointer;
  transition: opacity 0.15s; display: flex; align-items: center; gap: 4px;
}
.add-btn:hover { opacity: 0.85; }
.pay-dropdown {
  display: none; position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; min-width: 200px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  z-index: 9999; overflow: hidden;
}
.pay-dropdown.open { display: block; }
.pay-dropdown-title {
  padding: 0.6rem 0.9rem; font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.08em; color: var(--text-muted); text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
.pay-option {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.65rem 0.9rem; cursor: pointer; font-size: 0.82rem; font-weight: 600;
  transition: background 0.12s;
}
.pay-option:hover { background: var(--bg-hover, #f3f4f6); }
.pay-option .pay-icon {
  width: 28px; height: 28px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}

.user-chip {
  display: flex; align-items: center; gap: 0.5rem;
  background: #ffffff; border: 1px solid var(--border);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
  border-radius: 10px; padding: 0.3rem 0.75rem;
  cursor: pointer; position: relative;
}
.user-chip:hover { background: rgba(0, 86, 179, 0.08); border-color: #0056b3; }
.u-avatar {
  width: 27px; height: 27px;
  background: #0056b3; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 10px; color: #ffffff;
}
.u-name { font-size: 0.8rem; font-weight: 600; }
.u-id { font-size: 0.65rem; color: var(--text-muted); }

.user-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  width: 180px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 9px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  display: none; flex-direction: column; z-index: 300;
  overflow: hidden;
}
.user-dropdown.open { display: flex; }
.ud-item {
  padding: 0.6rem 0.875rem; font-size: 0.8rem; font-weight: 600;
  color: var(--text); cursor: pointer; transition: background 0.12s;
  display: flex; align-items: center; gap: 0.5rem; border-bottom: 1px solid var(--border);
}
.ud-item:last-child { border-bottom: none; }
.ud-item:hover { background: rgba(255,255,255,0.05); }
.ud-item.danger { color: #ff4444; }
.ud-item.danger:hover { background: rgba(255,68,68,0.1); }

/* Î“Ã¶Ã‡Î“Ã¶Ã‡ Layout Î“Ã¶Ã‡Î“Ã¶Ã‡ */
.layout {
  position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
  display: flex;
}

/* Î“Ã¶Ã‡Î“Ã¶Ã‡ Sidebar Î“Ã¶Ã‡Î“Ã¶Ã‡ */
.sidebar {
  width: var(--sidebar-w); flex-shrink: 0;
  background: #ffffff; border-right: 1px solid var(--border);
  box-shadow: 1px 0 3px rgba(0,0,0,0.05);
  display: flex; flex-direction: column;
  padding: 0.875rem 0.625rem;
  overflow-y: auto;
}
.sidebar-nav { display: flex; flex-direction: column; gap: 1px; flex: 1; }

.nav-item {
  display: flex; align-items: center; gap: 0.6rem;
  width: 100%; padding: 0.55rem 0.7rem;
  border-radius: 8px; border: none; background: transparent;
  color: var(--text-muted); font-size: 0.8rem; font-weight: 500;
  cursor: pointer; text-align: left;
  transition: all 0.12s; text-decoration: none;
}
.nav-item:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-item.active { color: #0056b3; background: rgba(0, 86, 179, 0.08); font-weight: 700; }
.nav-item.active svg { color: #0056b3 !important; }
.nav-item svg { flex-shrink: 0; opacity: 0.8; }
.live-badge {
  margin-left: auto;
  background: var(--primary); color: #ffffff;
  font-size: 8px; font-weight: 800;
  padding: 2px 5px; border-radius: 4px; letter-spacing: 0.05em;
}

.plan-box { margin-top: auto; padding-top: 0.875rem; border-top: 1px solid var(--border); }
.plan-inner {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; padding: 0.7rem;
}
.plan-row { display: flex; align-items: center; gap: 0.4rem; margin-bottom: 2px; }
.plan-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.plan-name { font-size: 0.75rem; font-weight: 700; flex: 1; }
.plan-pct { font-size: 0.65rem; font-weight: 700; color: var(--primary); }
.plan-sub { font-size: 0.62rem; color: var(--text-muted); margin-bottom: 0.4rem; }
.plan-track { height: 3px; background: rgba(255,255,255,0.07); border-radius: 99px; overflow: hidden; }
.plan-fill { height: 100%; background: var(--primary); border-radius: 99px; }

/* Î“Ã¶Ã‡Î“Ã¶Ã‡ Main content Î“Ã¶Ã‡Î“Ã¶Ã‡ */
.main-content {
  flex: 1; display: flex; flex-direction: column;
  overflow: hidden;
}

/* Î“Ã¶Ã‡Î“Ã¶Ã‡ View panes Î“Ã¶Ã‡Î“Ã¶Ã‡ */
.view-pane { display: none; flex-direction: column; flex: 1; min-height: 0; }
.view-pane.active { display: flex; }

/* Î“Ã¶Ã‡Î“Ã¶Ã‡ Page header Î“Ã¶Ã‡Î“Ã¶Ã‡ */
.page-header {
  flex-shrink: 0;
  padding: 1.125rem 1.5rem 0.875rem;
  border-bottom: 1px solid var(--border);
}
.ph-row { display: flex; align-items: center; justify-content: space-between; }
.ph-title { display: flex; align-items: center; gap: 0.625rem; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.live-feed-badge {
  font-size: 0.6rem; font-weight: 800;
  background: var(--primary-dim); color: var(--primary);
  border: 1px solid var(--primary-border);
  border-radius: 5px; padding: 2px 7px; letter-spacing: 0.06em;
}
.ph-stats { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: var(--text-dim); }
.ph-stat-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.ph-sub { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.25rem; line-height: 1.5; }

/* Î“Ã¶Ã‡Î“Ã¶Ã‡ Filters Î“Ã¶Ã‡Î“Ã¶Ã‡ */
.filters-wrap {
  flex-shrink: 0;
  padding: 0.625rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 0.5rem;
  position: relative;
  z-index: 100;
}
.filter-row { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }

.search-box {
  display: flex; align-items: center; gap: 0.4rem;
  background: var(--bg-input); border: 1px solid var(--border);
  border-radius: 7px; padding: 0 0.625rem;
  min-width: 200px; max-width: 250px;
}
.search-box input {
  background: transparent; border: none; outline: none;
  color: var(--text); font-family: inherit; font-size: 0.78rem;
  padding: 0.45rem 0; width: 100%;
}
.search-box input::placeholder { color: var(--text-muted); }

.search-dropdown {
  display: none; position: absolute; top: 100%; left: 0; width: 300px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 9px; margin-top: 0.5rem; max-height: 350px;
  overflow-y: auto; z-index: 100; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.search-dropdown.open { display: block; }
.sd-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.625rem 0.875rem; border-bottom: 1px solid var(--border);
  cursor: pointer; transition: background 0.12s;
}
.sd-item:hover { background: rgba(255,255,255,0.03); }
.sd-item:last-child { border-bottom: none; }
.sd-name-wrap { display: flex; align-items: center; gap: 0.5rem; }
.sd-ico {
  width: 18px; height: 18px; background: #e5e7eb; border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; font-weight: 800;
  overflow: hidden; position: relative;
}
.sd-name { font-size: 0.8rem; font-weight: 600; }
.sd-cat { font-size: 0.65rem; color: var(--text-muted); }
.sd-price { font-size: 0.8rem; font-weight: 800; color: var(--primary); }
.sd-empty { padding: 1rem; text-align: center; font-size: 0.8rem; color: var(--text-muted); }

.fp {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.3rem 0.7rem;
  border-radius: 6px; border: 1px solid var(--border);
  background: transparent; color: var(--text-muted);
  font-size: 0.75rem; font-weight: 600; cursor: pointer;
  transition: all 0.12s; white-space: nowrap; font-family: inherit;
}
.fp:hover { color: var(--text); border-color: var(--border-hover); background: rgba(255,255,255,0.04); }
.fp { position: relative; }
.fp.active { color: #0056b3; border-color: transparent; background: transparent; font-weight: 700; }
.fp.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #0056b3;
  border-radius: 2px;
}
.fp .cc { font-size: 0.6rem; opacity: 0.8; }

.filter-divider { width: 1px; height: 18px; background: var(--border); flex-shrink: 0; margin: 0 0.2rem; }

.view-pane {
  display: none; flex-direction: column; height: 100%; width: 100%;
}
.view-pane.active { display: flex; }

/* Î“Ã¶Ã‡Î“Ã¶Ã‡ Content area Î“Ã¶Ã‡Î“Ã¶Ã‡ */
.content-area { display: flex; flex: 1; min-height: 0; }
.content-main { flex: 1; padding: 1rem 1.25rem; overflow-y: auto; }

/* Î“Ã¶Ã‡Î“Ã¶Ã‡ Number Cards Î“Ã¶Ã‡Î“Ã¶Ã‡ */
.numbers-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.625rem;
}

.num-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 11px; padding: 0.875rem;
  transition: border-color 0.15s;
}
.num-card:hover { border-color: rgba(255,255,255,0.12); }
.num-card.rented { border-color: rgba(34,255,136,0.2); background: rgba(34,255,136,0.02); }

.nc-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 3px; }
.nc-numline { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.nc-ctry {
  font-size: 0.6rem; font-weight: 700; color: var(--text-muted);
  background: rgba(255,255,255,0.07); border-radius: 4px; padding: 1px 5px;
}
.nc-phone { font-size: 0.9rem; font-weight: 700; font-family: 'Courier New', monospace; letter-spacing: 0.01em; }
.nc-rented {
  display: inline-flex; align-items: center; gap: 3px;
  background: var(--primary-dim); color: var(--primary);
  font-size: 0.58rem; font-weight: 800; padding: 2px 6px;
  border-radius: 4px; border: 1px solid var(--primary-border); letter-spacing: 0.05em;
}
.nc-price-blk { text-align: right; flex-shrink: 0; }
.nc-price { font-size: 0.95rem; font-weight: 800; color: #2563eb; }
.nc-ptype { font-size: 0.58rem; font-weight: 700; color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase; }

.nc-meta { font-size: 0.68rem; color: var(--text-muted); margin-bottom: 0.5rem; }

.nc-svc-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.625rem; }
.nc-svc-name { display: flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; font-weight: 600; }
.nc-svc-icon {
  width: 18px; height: 18px; background: #e5e7eb; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.55rem; font-weight: 800;
}
.nc-ok { font-size: 0.68rem; font-weight: 700; color: var(--primary); }

.nc-actions { display: flex; align-items: center; gap: 0.4rem; }
.nc-rent-btn {
  flex: 1; padding: 0.5rem;
  background: transparent; color: #111827;
  border: 1px solid #e5e7eb; border-radius: 7px;
  font-weight: 700; font-size: 0.78rem; cursor: pointer;
  transition: all 0.15s; font-family: inherit;
}
.nc-rent-btn:hover { background: #2563eb; color: #ffffff; border-color: #2563eb; }
.nc-rent-btn.manage {
  background: transparent; color: #111827;
}
.nc-copy {
  width: 31px; height: 31px; flex-shrink: 0;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  border-radius: 7px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.12s;
}
.nc-copy:hover { background: rgba(255,255,255,0.1); }

/* Î“Ã¶Ã‡Î“Ã¶Ã‡ Live SMS Panel Î“Ã¶Ã‡Î“Ã¶Ã‡ */
.live-sms-panel {
  width: 290px; flex-shrink: 0;
  border-left: 1px solid var(--border);
  display: flex; flex-direction: column; overflow: hidden;
}
.lsp-hdr {
  flex-shrink: 0; padding: 0.7rem 0.875rem;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.lsp-title { display: flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; font-weight: 700; }
.lsp-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 5px var(--primary); }
.lsp-ctrls { display: flex; align-items: center; gap: 0.4rem; }
.lsp-auto {
  font-size: 0.65rem; font-weight: 700; color: var(--text-muted);
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  border-radius: 4px; padding: 2px 7px; cursor: pointer; font-family: inherit;
}
.lsp-nums {
  flex-shrink: 0; display: flex; gap: 0.35rem; flex-wrap: wrap;
  padding: 0.5rem 0.875rem; border-bottom: 1px solid var(--border);
  min-height: 38px; align-items: center;
}
.lsp-ntab {
  font-size: 0.64rem; font-weight: 600;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  border-radius: 5px; padding: 3px 8px; cursor: pointer; color: var(--text-dim);
  white-space: nowrap; line-height: 1.3;
}
.lsp-ntab.active { background: var(--primary-dim); border-color: var(--primary-border); color: var(--primary); }
.lsp-msgs { flex: 1; overflow-y: auto; }
.lsp-msg { padding: 0.7rem 0.875rem; border-bottom: 1px solid var(--border); }
.lsp-msg-hdr { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.25rem; }
.lsp-svc-tag {
  font-size: 0.65rem; font-weight: 700;
  background: rgba(255,255,255,0.07); color: var(--text);
  padding: 2px 7px; border-radius: 4px;
}
.lsp-time { font-size: 0.6rem; color: var(--text-muted); }
.lsp-msg-body { font-size: 0.68rem; color: var(--text-muted); margin-bottom: 0.3rem; line-height: 1.4; }
.lsp-code { font-size: 1.5rem; font-weight: 900; color: var(--primary); letter-spacing: 0.06em; margin-bottom: 0.35rem; }
.lsp-copy-btn {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.68rem; font-weight: 700;
  background: var(--primary-dim); color: var(--primary);
  border: 1px solid var(--primary-border); border-radius: 5px;
  padding: 3px 9px; cursor: pointer; font-family: inherit;
  transition: background 0.15s;
}
.lsp-copy-btn:hover { background: rgba(34,255,136,0.2); }

/* Î“Ã¶Ã‡Î“Ã¶Ã‡ Proxy Shop Î“Ã¶Ã‡Î“Ã¶Ã‡ */
.proxy-content { flex: 1; display: flex; min-height: 0; }
.proxy-main { flex: 1; overflow-y: auto; padding: 1rem 1.25rem; }

.proxy-table { width: 100%; border-collapse: collapse; }
.proxy-table th {
  text-align: left; font-size: 0.62rem; font-weight: 700;
  color: var(--text-muted); letter-spacing: 0.07em; text-transform: uppercase;
  padding: 0 0.75rem 0.5rem; border-bottom: 1px solid var(--border);
}
.proxy-table td { padding: 0.7rem 0.75rem; border-bottom: 1px solid var(--border); font-size: 0.8rem; vertical-align: middle; }
.prow { cursor: pointer; transition: background 0.1s; }
.prow:hover td { background: rgba(255,255,255,0.02); }
.prow.selected td { background: rgba(34,255,136,0.03); }

.pool-icon {
  width: 28px; height: 28px; background: #e5e7eb; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.7rem; flex-shrink: 0;
}
.pool-name { font-weight: 600; font-size: 0.82rem; }
.pool-meta { font-size: 0.65rem; color: var(--text-muted); margin-top: 1px; }
.type-pill {
  font-size: 0.65rem; font-weight: 700; padding: 3px 8px;
  border-radius: 5px; background: rgba(255,255,255,0.06);
  border: 1px solid var(--border); color: var(--text-dim);
}

/* Country custom dropdown */
.cdrop-item {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.42rem 0.85rem; cursor: pointer;
  font-size: 0.78rem; font-weight: 600; color: var(--text-muted);
  transition: background 0.1s, color 0.1s;
  white-space: nowrap;
}
.cdrop-item:hover { background: rgba(0,0,0,0.05); color: var(--text); }
.cdrop-item.active { color: #0056b3; background: rgba(0,86,179,0.07); }
.cdrop-item.active span { font-weight: 700; }
.lat-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; margin-right: 4px; }
.lat-dot.g { background: var(--primary); }
.lat-dot.y { background: #ffaa00; }
.lat-dot.r { background: #ff4444; }
.sel-ring {
  width: 22px; height: 22px; border-radius: 50%; border: 2px solid #d1d5db;
  display: flex; align-items: center; justify-content: center;
  background: #ffffff; transition: all 0.15s ease; flex-shrink: 0;
  cursor: pointer;
}
.sel-ring.on {
  background: #2563eb; border-color: #2563eb;
  box-shadow: 0 2px 8px rgba(34,197,94,0.4);
}

.proxy-info-row { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1rem; }
.proxy-info-box {
  flex: 1; min-width: 150px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 9px; padding: 0.875rem;
}
.pib-label { font-size: 0.6rem; font-weight: 700; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.3rem; }
.pib-val { font-size: 0.82rem; font-weight: 600; }

/* Î“Ã¶Ã‡Î“Ã¶Ã‡ Configure Panel Î“Ã¶Ã‡Î“Ã¶Ã‡ */
.conf-panel {
  width: 280px; flex-shrink: 0;
  border-left: 1px solid var(--border);
  padding: 1rem; background: #ffffff; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
  overflow-y: auto; display: flex; flex-direction: column; gap: 0.875rem;
}
.cp-hdr { display: flex; align-items: center; justify-content: space-between; }
.cp-title { font-weight: 700; font-size: 0.875rem; }
.cp-inst {
  font-size: 0.58rem; font-weight: 800;
  background: var(--primary-dim); color: var(--primary);
  border: 1px solid var(--primary-border); border-radius: 4px;
  padding: 3px 6px; letter-spacing: 0.06em;
}
.cp-lbl { font-size: 0.6rem; font-weight: 700; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.4rem; }
.cp-pool-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 9px;
  padding: 0.7rem; display: flex; align-items: center; gap: 0.625rem;
}
.cp-pool-ico { width: 34px; height: 34px; background: #f3f4f6; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.85rem; flex-shrink: 0; }
.cp-pool-name { font-size: 0.78rem; font-weight: 700; }
.cp-pool-sub { font-size: 0.63rem; color: var(--text-muted); margin-top: 1px; }
.cp-tog-row { display: flex; gap: 0.4rem; }
.cp-tog {
  flex: 1; padding: 0.5rem; border-radius: 7px;
  font-size: 0.75rem; font-weight: 600; cursor: pointer;
  border: 1px solid var(--border); background: rgba(255,255,255,0.04);
  color: var(--text); transition: all 0.15s; font-family: inherit;
}
.cp-tog.active { background: #111827; color: #ffffff; border-color: #111827; }
.cp-unit-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.4rem; }
.cp-unit-lbl { font-size: 0.6rem; font-weight: 700; color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase; }
.cp-unit-price { font-size: 0.68rem; color: var(--text-dim); }
.cp-qty-row { display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.4rem; }
.cp-qbtn {
  width: 32px; height: 32px; border-radius: 7px;
  border: 1px solid var(--border); background: rgba(255,255,255,0.05);
  color: var(--text); font-size: 1rem; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.12s; font-family: inherit;
}
.cp-qbtn:hover { background: rgba(255,255,255,0.1); }
.cp-qinput {
  flex: 1; text-align: center; background: var(--bg-input);
  border: 1px solid var(--border); border-radius: 7px;
  color: var(--text); font-family: inherit; font-size: 0.875rem; font-weight: 700;
  padding: 0.35rem; outline: none;
}
.cp-qunit { font-size: 0.7rem; color: var(--text-muted); font-weight: 600; }
.cp-presets { display: flex; gap: 0.35rem; }
.cp-pre {
  flex: 1; padding: 0.3rem; border-radius: 6px;
  border: 1px solid var(--border); background: rgba(255,255,255,0.04);
  color: var(--text-muted); font-size: 0.68rem; font-weight: 600; cursor: pointer;
  transition: all 0.12s; font-family: inherit;
}
.cp-pre:hover { color: var(--text); }
.cp-pre.active { background: var(--primary-dim); border-color: var(--primary-border); color: var(--primary); }
.cp-cost-wrap { padding-top: 0.75rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 0.3rem; }
.cp-cost-row { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--text-muted); }
.cp-cost-row.tot { font-size: 0.9rem; font-weight: 700; color: var(--text); margin-top: 0.25rem; }
.cp-cost-row.tot .tot-val { color: var(--primary); }
.cp-buy {
  width: 100%; padding: 0.75rem; background: var(--primary); color: #ffffff;
  border: none; border-radius: 9px; font-weight: 800; font-size: 0.875rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  transition: opacity 0.15s; font-family: inherit;
}
.cp-buy:hover { opacity: 0.88; }
.cp-disc { font-size: 0.6rem; color: var(--text-muted); text-align: center; line-height: 1.5; }

/* Î“Ã¶Ã‡Î“Ã¶Ã‡ General Content Styles Î“Ã¶Ã‡Î“Ã¶Ã‡ */
.content-pad { padding: 1.5rem; flex: 1; overflow-y: auto; }
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.stat-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 11px; padding: 1.25rem;
}
.sc-val { font-size: 1.75rem; font-weight: 800; margin-bottom: 0.25rem; }
.sc-lbl { font-size: 0.75rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }

.table-wrap {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 11px; overflow: hidden; margin-bottom: 2rem;
}
.gen-table { width: 100%; border-collapse: collapse; text-align: left; }
.gen-table th {
  padding: 0.875rem 1rem; font-size: 0.65rem; font-weight: 700;
  color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase;
  border-bottom: 1px solid var(--border); background: rgba(0,0,0,0.2);
}
.gen-table td {
  padding: 0.875rem 1rem; border-bottom: 1px solid var(--border);
  font-size: 0.8rem;
}
.gen-table tr:last-child td { border-bottom: none; }
.gen-table tbody tr:hover td { background: rgba(255,255,255,0.02); }

.code-blk {
  background: #f3f4f6; border: 1px solid var(--border);
  border-radius: 9px; padding: 1rem; font-family: monospace;
  font-size: 0.8rem; color: var(--primary); margin-bottom: 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}

.form-group { margin-bottom: 1.25rem; }
.form-lbl { display: block; font-size: 0.75rem; font-weight: 700; color: var(--text-muted); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.05em; }
.form-inp {
  width: 100%; background: var(--bg-input); border: 1px solid var(--border);
  border-radius: 7px; color: var(--text); padding: 0.75rem;
  font-family: inherit; font-size: 0.85rem; outline: none;
}
.form-inp:focus { border-color: var(--primary); }
.form-btn {
  background: var(--primary); color: #ffffff; border: none; border-radius: 7px;
  padding: 0.75rem 1.5rem; font-weight: 700; font-size: 0.85rem;
  cursor: pointer; transition: opacity 0.15s; font-family: inherit;
}
.form-btn:hover { opacity: 0.85; }

/* Î“Ã¶Ã‡Î“Ã¶Ã‡ Placeholder views Î“Ã¶Ã‡Î“Ã¶Ã‡ */
.placeholder {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.625rem; color: var(--text-muted); padding: 3rem;
}
.placeholder h2 { font-size: 1.25rem; font-weight: 800; color: var(--text); }
.placeholder p { font-size: 0.82rem; }

/* Î“Ã¶Ã‡Î“Ã¶Ã‡ Deposit Modal Î“Ã¶Ã‡Î“Ã¶Ã‡ */
/* Î“Ã¶Ã‡Î“Ã¶Ã‡ 3-Step Purchase Credits Modal Î“Ã¶Ã‡Î“Ã¶Ã‡ */
.pm-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(6px);
  z-index: 9999; align-items: center; justify-content: center; padding: 1rem;
}
.pm-overlay.show { display: flex; }
.pm-box {
  background: #ffffff; border-radius: 14px;
  width: 100%; max-width: 540px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
  position: relative; max-height: 92vh; overflow-y: auto;
  transition: max-width 0.3s ease;
}
.pm-step { padding: 2rem; }
.pm-close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  background: #f3f4f6; border: none; width: 30px; height: 30px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: #6b7280; transition: background 0.15s;
}
.pm-close:hover { background: #e5e7eb; color: #111; }
.pm-title { font-size: 1.2rem; font-weight: 800; color: #111827; margin-bottom: 1.25rem; }
.pm-section-divider {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.68rem; font-weight: 700; color: #9ca3af; letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 0.65rem;
}
.pm-section-divider::before, .pm-section-divider::after {
  content: ''; flex: 1; height: 1px; background: #e5e7eb;
}
.pm-range { text-transform: none; font-weight: 500; letter-spacing: 0; font-size: 0.68rem; color: #9ca3af; }
.pm-card-row {
  width: 100%; background: #1e3a5f; border: none; border-radius: 9px;
  padding: 0.85rem 1.5rem; display: flex; align-items: center; justify-content: center; gap: 1.5rem;
  cursor: pointer; margin-bottom: 1.25rem; transition: opacity 0.15s;
}
.pm-card-row:hover { opacity: 0.9; }
.pm-card-row img { filter: brightness(10); }
.pm-crypto-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 1.5rem;
}
.pm-crypto-btn {
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.55rem 0.75rem; border: 1.5px solid #e5e7eb; border-radius: 8px;
  background: #fff; cursor: pointer; font-size: 0.8rem; font-weight: 600;
  color: #111827; font-family: 'Inter', sans-serif; transition: all 0.15s;
}
.pm-crypto-btn:hover { border-color: #2563eb; background: #eff6ff; color: #2563eb; }
.pm-coin-ico { width: 22px; height: 22px; object-fit: contain; flex-shrink: 0; }
.pm-coin-header {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 0.88rem; font-weight: 700; color: #111827;
}
.pm-coin-header-ico { width: 28px; height: 28px; object-fit: contain; flex-shrink: 0; }
.pm-amount-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; margin-bottom: 0.5rem;
}
.pm-amt-btn {
  padding: 0.6rem 0.5rem; border: none; border-radius: 7px;
  background: #2563eb; color: #fff; font-size: 0.82rem; font-weight: 700;
  cursor: pointer; font-family: 'Inter', sans-serif; transition: all 0.15s;
}
.pm-amt-btn:hover { background: #1d4ed8; }
.pm-amt-btn.active { background: #1e40af; box-shadow: 0 0 0 3px rgba(37,99,235,0.3); }
.pm-custom-row {
  display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.25rem;
}
.pm-custom-step {
  width: 36px; height: 36px; border: 1.5px solid #e5e7eb; border-radius: 7px;
  background: #f9fafb; color: #374151; font-size: 1.1rem; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-family: 'Inter', sans-serif; flex-shrink: 0;
}
.pm-custom-step:hover { background: #f3f4f6; }
#pm-custom-input {
  flex: 1; text-align: center; border: 1.5px solid #e5e7eb; border-radius: 7px;
  padding: 0.5rem; font-size: 0.95rem; font-weight: 700; font-family: 'Inter', sans-serif;
  color: #111827; background: #fff;
}
.pm-continue-btn {
  width: 100%; padding: 0.9rem; background: #2563eb; color: #fff;
  border: none; border-radius: 9px; font-size: 0.95rem; font-weight: 700;
  cursor: pointer; font-family: 'Inter', sans-serif; margin-bottom: 1rem;
  transition: all 0.15s;
}
.pm-continue-btn:hover { background: #1d4ed8; transform: translateY(-1px); }
.pm-footer-btns { display: flex; justify-content: flex-end; gap: 0.5rem; }
.pm-close-btn {
  padding: 0.45rem 1rem; border: 1.5px solid #e5e7eb; background: #fff;
  border-radius: 7px; font-size: 0.8rem; font-weight: 600; cursor: pointer;
  color: #374151; font-family: 'Inter', sans-serif; transition: all 0.15s;
}
.pm-close-btn:hover { background: #f3f4f6; }
.pm-back-btn {
  padding: 0.45rem 1rem; border: 1.5px solid #e5e7eb; background: #fff;
  border-radius: 7px; font-size: 0.8rem; font-weight: 600; cursor: pointer;
  color: #374151; font-family: 'Inter', sans-serif; transition: all 0.15s;
}
.pm-back-btn:hover { background: #f3f4f6; }

/* Step 3 */
.pm-step3-wide { padding: 1.75rem; }
.pm-step3-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.pm-step3-left { display: flex; flex-direction: column; }
.pm-step3-right { display: flex; flex-direction: column; }
.pm-summary-table { width: 100%; border-collapse: collapse; font-size: 0.78rem; margin-bottom: 0.75rem; }
.pm-summary-table thead td, .pm-summary-table th {
  font-size: 0.65rem; font-weight: 700; color: #9ca3af; letter-spacing: 0.05em;
  text-transform: uppercase; padding-bottom: 0.4rem; border-bottom: 1px solid #e5e7eb;
}
.pm-summary-table td { padding: 0.55rem 0; vertical-align: top; color: #374151; }
.pm-summary-table td:last-child { text-align: right; white-space: nowrap; padding-left: 0.5rem; }
.pm-summary-table small { font-size: 0.67rem; color: #9ca3af; line-height: 1.4; display: block; margin-top: 0.2rem; }
.pm-pos { color: #16a34a; font-weight: 700; }
.pm-neg { color: #dc2626; font-weight: 700; }
.pm-asterisk { color: #dc2626; font-size: 0.85em; }
.pm-fee-notice {
  font-size: 0.7rem; color: #dc2626; background: #fef2f2; border: 1px solid #fecaca;
  border-radius: 7px; padding: 0.65rem 0.8rem; line-height: 1.5; margin-bottom: 0.5rem;
}
.pm-refund-notice {
  font-size: 0.7rem; color: #dc2626; background: #fef2f2; border: 1px solid #fecaca;
  border-radius: 7px; padding: 0.85rem; line-height: 1.5;
}
.pm-refund-list {
  margin-top: 0.5rem; margin-left: 1.25rem; list-style-type: disc;
}
.pm-refund-list li { margin-bottom: 0.35rem; }
.pm-divider { border: none; border-top: 1px solid #e5e7eb; }
.pm-waiting-banner {
  background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 8px;
  padding: 0.65rem 0.85rem; font-size: 0.75rem; font-weight: 600; color: #1d4ed8;
  margin-bottom: 0.85rem; line-height: 1.4;
}
.pm-info-box {
  background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 8px;
  padding: 0.65rem 0.85rem; font-size: 0.75rem; color: #1d4ed8;
  margin-bottom: 0.85rem; line-height: 1.4;
}
.pm-detail-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.75rem; color: #374151; padding: 0.4rem 0;
  border-bottom: 1px solid #f3f4f6;
}
.pm-detail-row span:first-child { color: #6b7280; }
.pm-countdown { color: #111827; font-weight: 700; font-family: monospace; font-size: 0.9rem; }
.pm-qr-wrap {
  display: flex; justify-content: center; margin: 0.85rem 0 0.5rem;
}
.pm-network-warning {
  font-size: 0.7rem; color: #dc2626; background: #fef2f2; border: 1px solid #fecaca;
  border-radius: 7px; padding: 0.6rem 0.8rem; line-height: 1.5; margin-bottom: 0.25rem;
}
@media (max-width: 640px) {
  .pm-step3-grid { grid-template-columns: 1fr; }
  .pm-amount-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Î“Ã¶Ã‡Î“Ã¶Ã‡ Shared addr-row / copy-btn (light mode) Î“Ã¶Ã‡Î“Ã¶Ã‡ */
.addr-row {
  display: flex; align-items: center; gap: 0.5rem;
  background: #f3f4f6; border: 1px solid #e5e7eb; border-radius: 8px; padding: 0.55rem 0.75rem;
}
.addr-text {
  font-size: 0.7rem; color: #374151; font-family: 'Fira Code','Courier New',monospace;
  flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.copy-btn {
  flex-shrink: 0; padding: 0.3rem 0.7rem; background: #2563eb; color: #ffffff;
  border: none; border-radius: 6px; font-size: 0.7rem; font-weight: 700;
  cursor: pointer; font-family: 'Inter',sans-serif; transition: background 0.15s;
  display: flex; align-items: center; gap: 0.3rem;
}
.copy-btn:hover { background: #1d4ed8; }

/* Success Overlay */
.success-overlay {
  display: none; position: absolute; inset: 0; background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px); z-index: 10; border-radius: 14px;
  align-items: center; justify-content: center;
}
.success-overlay.show { display: flex; }
.success-card {
  background: #fff; border: 1px solid #bbf7d0; border-radius: 14px;
  padding: 2.5rem; text-align: center; max-width: 340px; width: 90%;
}
.success-icon { font-size: 3rem; margin-bottom: 1rem; }
.success-title { font-size: 1.3rem; font-weight: 800; color: #2563eb; margin-bottom: 0.5rem; }
.success-sub { font-size: 0.82rem; color: #6b7280; margin-bottom: 1.5rem; line-height: 1.5; }
.sent-btn {
  width: 100%; padding: 0.9rem; background: #2563eb; color: #ffffff;
  border: none; border-radius: 10px; font-size: 0.9rem; font-weight: 700;
  cursor: pointer; font-family: 'Inter',sans-serif; transition: all 0.15s;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.sent-btn:hover { background: #1d4ed8; transform: translateY(-1px); }


/* ==========================================================================
   SETTINGS PAGE STYLES
   ========================================================================== */

#view-settings {
  flex-direction: column;
  background: var(--bg-card);
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
  min-height: 80vh;
}

.settings-header {
  margin-bottom: 2rem;
}

.settings-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #001f3f; /* Deep blue from screenshot */
}

.settings-tabs {
  display: flex;
  gap: 1.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.st-btn {
  background: none;
  border: none;
  padding: 0.5rem 0.2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  font-weight: 500;
  transition: all 0.2s ease;
}

.st-btn:hover {
  color: var(--text);
}

.st-btn.active {
  color: #0056b3; /* Brand blue */
}

.st-btn.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #0056b3;
}

.settings-section {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.settings-section.no-border {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.settings-section h3 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.settings-section p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
  max-width: 100%;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.settings-input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
  font-size: 0.85rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.settings-input:focus {
  border-color: #0056b3;
}

.disabled-input {
  background-color: #f8f9fa;
  color: var(--text-muted);
  cursor: not-allowed;
}

.input-with-icon {
  position: relative;
}

.pw-eye {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  cursor: pointer;
}

.btn-primary {
  background-color: #0056b3;
  color: #fff;
  border: none;
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-danger {
  background-color: #dc3545;
  color: #fff;
  border: none;
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-danger:hover {
  opacity: 0.9;
}

.btn-disabled {
  background-color: #e9ecef;
  color: #6c757d;
  border: none;
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: not-allowed;
}

/* Toggles */
.toggle-list {
  display: flex;
  flex-direction: column;
}

.toggle-row {
  display: flex;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}

.toggle-switch {
  position: relative;
  width: 36px;
  height: 20px;
  margin-right: 1rem;
}

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

.toggle-switch span {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 20px;
}

.toggle-switch span:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

.toggle-switch input:checked + span {
  background-color: #0056b3;
}

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

.toggle-switch.disabled span {
  background-color: #e9ecef;
  cursor: not-allowed;
}

.toggle-label {
  font-size: 0.85rem;
  color: var(--text);
}

/* Flex Input Group */
.forward-input-group label {
  display: block;
  font-size: 0.75rem;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.flex-input {
  display: flex;
  gap: 0.5rem;
}

.flex-input .settings-input {
  width: 250px;
}

/* Payment Method Row */
.payment-method-row {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.pm-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  width: 130px;
}

/* Î“Ã¶Ã‡Î“Ã¶Ã‡ New SMS Verification Pill Button Î“Ã¶Ã‡Î“Ã¶Ã‡ */
.lsp-new-sms-btn {
  display: inline-flex; align-items: center;
  background: var(--primary, #2563eb); color: #fff;
  border: none; border-radius: 999px;
  padding: 0.3rem 0.85rem; font-size: 0.72rem; font-weight: 700;
  cursor: pointer; transition: background 0.15s, transform 0.1s;
  white-space: nowrap;
}
.lsp-new-sms-btn:hover { background: #1d4ed8; transform: translateY(-1px); }

/* Î“Ã¶Ã‡Î“Ã¶Ã‡ SMS Verifications Modal Î“Ã¶Ã‡Î“Ã¶Ã‡ */
.smsver-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,0.45); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center;
}
.smsver-overlay.show { display: flex; }
.smsver-box {
  background: #fff; border-radius: 16px; width: 520px; max-width: 96vw;
  max-height: 88vh; display: flex; flex-direction: column;
  box-shadow: 0 24px 60px rgba(0,0,0,0.18); position: relative; overflow: hidden;
}
.smsver-close {
  position: absolute; top: 0.85rem; right: 0.85rem;
  background: #f3f4f6; border: none; border-radius: 50%;
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: #374151; z-index: 1;
}
.smsver-close:hover { background: #e5e7eb; }
.smsver-hdr {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 1.1rem 1.25rem 0.75rem;
}
.smsver-title { font-size: 1.05rem; font-weight: 800; color: #111827; margin-bottom: 0.15rem; }
.smsver-sub { font-size: 0.7rem; color: #6b7280; }
.smsver-tabs { display: flex; gap: 0.35rem; }
.smsver-tab {
  padding: 0.3rem 0.85rem; border-radius: 7px; font-size: 0.75rem; font-weight: 700;
  border: none; cursor: pointer; background: #f3f4f6; color: #6b7280; transition: all 0.15s;
}
.smsver-tab.active { background: #2563eb; color: #fff; }
.smsver-search-row { padding: 0 1.1rem 0.6rem; }
.smsver-search-wrap {
  position: relative; display: flex; align-items: center;
}
.smsver-dur-tabs {
  display: flex; gap: 0.35rem; margin-top: 0.5rem;
}
.smsver-dur-tab {
  padding: 0.35rem 0.75rem; border-radius: 6px; font-size: 0.7rem; font-weight: 600;
  border: 1px solid #e5e7eb; cursor: pointer; background: #fff; color: #4b5563; transition: all 0.15s;
}
.smsver-dur-tab:hover { background: #f3f4f6; }
.smsver-dur-tab.active {
  border-color: #2563eb; color: #2563eb; background: #eff6ff;
}
.smsver-search-ico { position: absolute; left: 0.75rem; color: #9ca3af; }
.smsver-search-input {
  width: 100%; padding: 0.55rem 0.85rem 0.55rem 2.2rem;
  border: 1.5px solid #e5e7eb; border-radius: 9px;
  font-size: 0.8rem; background: #f9fafb; color: #111827; outline: none;
}
.smsver-search-input:focus { border-color: #2563eb; background: #fff; }
.smsver-table-head {
  display: grid; grid-template-columns: 1fr 70px 120px;
  padding: 0.4rem 1.25rem; font-size: 0.67rem; font-weight: 700;
  color: #9ca3af; text-transform: uppercase; letter-spacing: 0.04em;
  border-bottom: 2px solid #f3f4f6;
}
.smsver-table-head span:nth-child(2) { text-align: center; }
.smsver-table-head span:nth-child(3) { text-align: right; }
.smsver-list { overflow-y: auto; flex: 1; padding: 0.35rem 0; }
.smsver-item {
  display: grid; grid-template-columns: 1fr 70px 120px;
  align-items: center; padding: 0.6rem 1.25rem;
  cursor: pointer; transition: background 0.1s; border-bottom: 1px solid #f9fafb;
}
.smsver-item:hover { background: #f0f7ff; }
.smsver-item-name {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.8rem; font-weight: 600; color: #111827; overflow: hidden;
}
.smsver-item-logo {
  width: 28px; height: 28px; border-radius: 7px;
  overflow: hidden; background: #f3f4f6; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.smsver-item-logo img { width: 100%; height: 100%; object-fit: contain; }
.smsver-item-qty {
  font-size: 0.78rem; font-weight: 600; color: #374151;
  text-align: center; border-left: 1px solid #f3f4f6; padding-left: 0.5rem;
}
.smsver-item-cost {
  font-size: 0.78rem; font-weight: 700; color: #111827;
  text-align: right; border-left: 1px solid #f3f4f6; padding-left: 0.5rem;
  display: flex; align-items: center; justify-content: flex-end; gap: 2px; flex-wrap: nowrap;
}
.smsver-item-name-text { font-size: 0.8rem; font-weight: 600; color: #111827; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Î“Ã¶Ã‡Î“Ã¶Ã‡ Mobile Responsiveness (Dashboard) Î“Ã¶Ã‡Î“Ã¶Ã‡ */
@media (min-width: 769px) and (max-width: 900px) {
  body { overflow: auto; }

  /* Keep sidebar vertical on left, but narrow */
  .layout {
    flex-direction: row;
    position: static;
    overflow: visible;
    padding-top: var(--nav-h);
    align-items: stretch;
    min-height: calc(100vh - var(--nav-h));
  }
  .sidebar {
    width: 120px;
    min-width: 120px;
    max-width: 120px;
    flex-shrink: 0;
    border-right: 1px solid var(--border);
    border-bottom: none;
    padding: 0.6rem 0.35rem;
    position: sticky;
    top: var(--nav-h);
    height: calc(100vh - var(--nav-h));
    overflow-y: auto;
    background: #ffffff;
    z-index: 10;
  }
  .sidebar-nav { flex-direction: column; gap: 2px; }
  .nav-sep { display: block; height: 1px; background: var(--border); margin: 0.3rem 0.25rem; }
  .nav-item {
    width: 100%;
    padding: 0.45rem 0.5rem;
    font-size: 0.7rem;
    border-radius: 7px;
    gap: 0.35rem;
    white-space: nowrap;
    overflow: hidden;
  }
  .nav-item svg { width: 14px; height: 14px; flex-shrink: 0; }
  .plan-box { display: none; }

  /* Main content fills rest of width */
  .main-content { overflow: visible; flex: 1; min-width: 0; }
  .content-area { flex-direction: column; overflow: visible; height: auto; flex: 1; }

  /* Hide live SMS panel on mobile */
  .live-sms-panel { display: none; }

  /* Proxy Shop */
  .proxy-content { flex-direction: column; overflow: visible; height: auto; flex: none; }
  .proxy-main { max-height: 55vh; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 0.5rem; }
  .conf-panel {
    width: 100%; border-left: none; border-top: 2px solid var(--border);
    flex: none; position: sticky; bottom: 0; background: #ffffff;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.10); border-radius: 16px 16px 0 0;
    padding: 1rem; max-height: 45vh; overflow-y: auto; z-index: 50;
  }

  /* Compact proxy table */
  .proxy-table th { font-size: 0.58rem; padding: 0 0.4rem 0.4rem; }
  .proxy-table td { padding: 0.5rem 0.4rem; font-size: 0.72rem; }
  .pool-name { font-size: 0.72rem; }
  .pool-meta { font-size: 0.58rem; }
  .type-pill { font-size: 0.58rem; padding: 2px 5px; }
  .pool-icon { width: 22px; height: 22px; font-size: 0.6rem; }
  .sel-ring { width: 18px; height: 18px; }
  .cp-title { font-size: 0.8rem; }
  .cp-pool-card { padding: 0.5rem; }
  .cp-pool-name { font-size: 0.72rem; }
  .cp-pool-sub { font-size: 0.58rem; }
  .cp-lbl { font-size: 0.55rem; }
  .cp-qinput { font-size: 0.8rem; }
  .cp-qbtn { width: 28px; height: 28px; font-size: 0.9rem; }
  .cp-buy { padding: 0.65rem; font-size: 0.82rem; }
  .cp-cost-row { font-size: 0.72rem; }
  .cp-cost-row.tot { font-size: 0.82rem; }

  .table-wrap, .proxy-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

@media (min-width: 769px) and (max-width: 480px) {
  /* Even more compact sidebar on small phones */
  .sidebar { width: 100px; min-width: 100px; max-width: 100px; }
  .nav-item { font-size: 0.62rem; padding: 0.4rem 0.35rem; }
  .nav-item svg { width: 13px; height: 13px; }

  .numbers-grid { grid-template-columns: 1fr 1fr; gap: 0.35rem; }
  .stat-cards { grid-template-columns: 1fr 1fr; }
  .nav-right .balance-chip .bl-amount { font-size: 0.75rem; }
  .user-chip .u-name, .user-chip .u-id { display: none; }
  .nc-ctry { font-size: 0.58rem !important; }

  .proxy-main { max-height: 48vh; }
  .conf-panel { max-height: 52vh; }
}

@media (min-width: 769px) and (max-width: 900px) {
  /* 2-column number card grid with better sizing */
  .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .stat-cards { grid-template-columns: 1fr 1fr; }

  /* Professional number cards matching Image 2 */
  .num-card { padding: 0.75rem 0.65rem; border-radius: 10px; }
  .nc-phone { font-size: 0.82rem; }
  .nc-price { font-size: 0.9rem; }
  .nc-ptype { font-size: 0.55rem; }
  .nc-meta { font-size: 0.63rem; }
  .nc-svc-name { font-size: 0.75rem; }
  .nc-ok { font-size: 0.65rem; }
  .nc-rent-btn { font-size: 0.73rem; padding: 0.45rem 0.4rem; }
  .nc-copy { width: 30px; height: 30px; }

  /* Page header */
  .page-header { padding: 0.75rem 0.875rem 0.6rem; }
  .ph-title { font-size: 1.05rem; }
  .ph-sub { font-size: 0.7rem; }

  /* Filters */
  .filters-wrap { padding: 0.5rem 0.875rem; gap: 0.4rem; }
  .filters-wrap .filter-row { flex-wrap: wrap; gap: 0.3rem; }
  .fp { font-size: 0.7rem; padding: 0.25rem 0.55rem; }
  .search-box { max-width: 100%; width: 100%; }

  /* Content padding */
  .content-main { padding: 0.75rem 0.625rem; }

  /* Top nav */
  .topnav { padding: 0 0.875rem; }
  .logo-text { font-size: 0.8rem; }
  .balance-chip { padding: 0.2rem 0.35rem 0.2rem 0.65rem; }
  .balance-chip .bl-label { font-size: 7px; }
  .balance-chip .bl-amount { font-size: 0.82rem; }
  .add-btn { padding: 0.35rem 0.65rem; font-size: 0.72rem; }
  .user-chip { padding: 0.2rem 0.5rem; }
  .u-name { font-size: 0.7rem; }
  .u-id { font-size: 0.58rem; }
  .u-avatar { width: 22px; height: 22px; font-size: 9px; }

  .live-sms-panel { width: 100%; border-left: none; border-top: 1px solid var(--border); flex: none; max-height: 350px; }

  .table-wrap, .proxy-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
/* Card Payment Modal Styles */
.pm-card-btn {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
  background: #0f3460;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 0.5rem;
}
.pm-card-btn:hover {
  background: #164a85;
}
.pm-card-logo {
  height: 24px;
}
.pm-amount-grid-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.pm-amt-btn-card {
  background: #0284c7;
  color: #fff;
  border: none;
  padding: 0.75rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.15s;
}
.pm-amt-btn-card:hover {
  background: #0369a1;
}
.pm-amt-btn-card.active {
  background: #0369a1;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
}
.pm-custom-card-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
.pm-custom-card-val {
  font-size: 2rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.pm-slider-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.pm-slider-min, .pm-slider-max {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.pm-range-slider {
  flex: 1;
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  outline: none;
}
.pm-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #0284c7;
  cursor: pointer;
}
.pm-form-group input::placeholder {
  color: #94a3b8;
}

/* ============================================================
   MOBILE REDESIGN â€” Fixed viewport, internal scroll (like images 3 & 4)
   ============================================================ */

/* â”€â”€ Nav label switching (desktop shows full, mobile shows short) â”€â”€ */
.nav-short-label { display: none; }
.nav-full-label  { display: inline; }

@media (max-width: 768px) {

  /* â”€â”€ Lock page to full viewport â€” NO page-level scroll â”€â”€ */
  html, body { height: 100%; overflow: hidden; }

  /* â”€â”€ Top Nav: compact but unchanged structure â”€â”€ */
  .topnav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 52px;
    padding: 0 0.75rem;
    z-index: 500;
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
  }
  .logo-text { font-size: 0.8rem; }
  .nav-right { gap: 0.35rem; }
  .balance-chip { padding: 0.2rem 0.3rem 0.2rem 0.55rem; gap: 0.35rem; border-radius: 8px; }
  .balance-chip .bl-label { font-size: 6.5px; }
  .balance-chip .bl-amount { font-size: 0.78rem; }
  .add-btn { padding: 0.3rem 0.55rem; font-size: 0.68rem; border-radius: 14px; }
  .user-chip { padding: 0.2rem 0.4rem; border-radius: 8px; gap: 0.3rem; }
  .u-name { font-size: 0.68rem; }
  .u-id { font-size: 0.58rem; }
  .u-avatar { width: 24px; height: 24px; font-size: 8px; border-radius: 6px; }

  /* â”€â”€ Full-viewport layout: fixed, row, top = 52px â”€â”€ */
  .layout {
    position: fixed;
    top: 52px; left: 0; right: 0; bottom: 0;
    display: flex;
    flex-direction: row;
    overflow: hidden;
  }

  /* â”€â”€ Narrow sidebar on left (like images 3 & 4) â”€â”€ */
  .sidebar {
    width: 108px;
    min-width: 108px;
    flex-shrink: 0;
    border-right: 1px solid #e5e7eb;
    border-top: none;
    border-bottom: none;
    background: #ffffff;
    box-shadow: 1px 0 4px rgba(0,0,0,0.04);
    padding: 0.5rem 0.3rem;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    z-index: 10;
    position: static;
    top: auto; left: auto; right: auto; bottom: auto;
  }
  .sidebar::-webkit-scrollbar { width: 0; }
  .sidebar-nav { flex-direction: column; gap: 1px; flex: 1; }
  .nav-sep { display: block; height: 1px; background: #f0f0f0; margin: 0.25rem 0.2rem; }
  .nav-item {
    flex-direction: row;
    align-items: center;
    width: 100%;
    padding: 0.45rem 0.5rem;
    font-size: 0.68rem;
    font-weight: 500;
    gap: 0.35rem;
    border-radius: 7px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    justify-content: flex-start;
  }
  .nav-item svg { width: 15px; height: 15px; flex-shrink: 0; }
  .nav-item.active {
    background: rgba(37,99,235,0.09);
    color: #2563eb;
    font-weight: 700;
    border-top: none;
  }
  .nav-item.active svg { color: #2563eb !important; }
  .plan-box { display: none; }

  /* Show short labels on mobile sidebar */
  .nav-full-label  { display: none; }
  .nav-short-label { display: inline; }

  /* ── Main content: fills remaining width, clips overflow ── */
  .main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
  }

  /* ── View panes: fill main content, clip ── */
  .view-pane {
    display: none;
    flex-direction: column;
    flex: 1;
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }
  .view-pane.active { display: flex; }

  /* ── Page header: compact, fixed inside view ── */
  .page-header { padding: 0.65rem 0.875rem 0.5rem; flex-shrink: 0; }
  .ph-title { font-size: 1rem; font-weight: 800; }
  .ph-sub { font-size: 0.65rem; margin-top: 0.15rem; }

  /* â”€â”€ Filters: compact, no wrap, fixed inside view â”€â”€ */
  .filters-wrap { padding: 0.45rem 0.875rem; gap: 0.35rem; flex-shrink: 0; overflow: visible; }
  .filter-row { flex-wrap: nowrap; overflow: visible; gap: 0.3rem; padding-bottom: 1px; }
  #service-quick-filters, #type-filters, #proxy-protocol-filters, #proxy-rotation-filters { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  #service-quick-filters::-webkit-scrollbar, #type-filters::-webkit-scrollbar, #proxy-protocol-filters::-webkit-scrollbar, #proxy-rotation-filters::-webkit-scrollbar { height: 0; }
  .fp { font-size: 0.65rem; padding: 0.22rem 0.5rem; white-space: nowrap; flex-shrink: 0; border-radius: 14px; }
  .search-wrap { flex: 1; min-width: 0; }
  .search-box { min-width: 0; width: 100%; max-width: 100%; }
  .search-box input { font-size: 0.78rem; padding: 0.42rem 0; width: 100%; }

  /* â”€â”€ Content area: fill and scroll internally â”€â”€ */
  .content-area { display: flex; flex: 1; min-height: 0; overflow: hidden; }
  .content-main {
    flex: 1;
    padding: 0.625rem 0.75rem;
    overflow-y: auto;               /* â†  internal scroll only */
    -webkit-overflow-scrolling: touch;
    height: 100%;
  }

  /* â”€â”€ Number cards: 2-column compact grid, scrolls inside content-main â”€â”€ */
  .numbers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
  }
  .num-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.5rem 0.5rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    transition: box-shadow 0.15s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .num-card:hover { box-shadow: 0 2px 8px rgba(37,99,235,0.08); border-color: #bfdbfe; }
  .nc-top { margin-bottom: 2px; }
  .nc-ctry { font-size: 0.55rem; font-weight: 700; color: #6b7280; background: #f3f4f6; border-radius: 3px; padding: 1px 4px; }
  .nc-phone { font-size: 0.7rem; font-weight: 700; color: #111827; font-family: 'Inter', monospace; letter-spacing: -0.02em; }
  .nc-price { font-size: 0.75rem; font-weight: 800; color: #2563eb; }
  .nc-ptype { font-size: 0.5rem; font-weight: 700; color: #6b7280; text-transform: uppercase; letter-spacing: 0.02em; display: block; }
  .nc-meta { font-size: 0.55rem; color: #6b7280; margin: 0.2rem 0 0.3rem; }
  .nc-svc-row { margin-bottom: 0.4rem; }
  .nc-svc-name { font-size: 0.65rem; font-weight: 600; }
  .nc-svc-icon { width: 14px; height: 14px; border-radius: 3px; }
  .nc-ok { font-size: 0.55rem; font-weight: 700; color: #2563eb; }
  .nc-actions { gap: 0.3rem; margin-top: auto; }
  .nc-rent-btn {
    flex: 1; padding: 0.35rem 0.3rem;
    border-radius: 6px; font-size: 0.6rem; font-weight: 600;
    border: 1px solid #e5e7eb;
    display: flex; align-items: center; justify-content: center; gap: 2px;
  }
  .nc-copy { width: 24px; height: 24px; border-radius: 5px; background: #f3f4f6; border: 1px solid #e5e7eb; color: #6b7280; }

  /* â”€â”€ Hide live SMS panel â”€â”€ */
  .live-sms-panel { display: none; }

  /* â”€â”€ Proxy shop: internal scroll, conf panel below â”€â”€ */
  .proxy-content { flex-direction: column; flex: 1; min-height: 0; overflow: hidden; }
  .proxy-main {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.625rem 0.75rem;
    min-height: 0;
  }
  .proxy-table { min-width: 440px; }
  .proxy-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .conf-panel {
    width: 100%;
    flex-shrink: 0;
    border-left: none;
    border-top: 1px solid #e5e7eb;
    background: #ffffff;
    box-shadow: 0 -3px 12px rgba(0,0,0,0.06);
    border-radius: 14px 14px 0 0;
    padding: 0.875rem 1rem;
    max-height: 42vh;
    overflow-y: auto;
  }

  /* â”€â”€ Dashboard content â”€â”€ */
  .content-pad { padding: 0.75rem; overflow-y: auto; flex: 1; }
  .stat-cards { grid-template-columns: repeat(3, 1fr); gap: 0.4rem; margin-bottom: 1rem; }
  .stat-card { padding: 0.75rem 0.6rem; border-radius: 9px; }
  .sc-val { font-size: 1.2rem; }
  .sc-lbl { font-size: 0.6rem; }
  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 9px; }
  .gen-table th { font-size: 0.62rem; padding: 0.6rem 0.65rem; }
  .gen-table td { font-size: 0.73rem; padding: 0.65rem 0.65rem; }

  /* â”€â”€ Modals: slide up from bottom â”€â”€ */
  .pm-overlay { align-items: flex-end; padding: 0; }
  .pm-box { border-radius: 20px 20px 0 0; width: 100%; max-width: 100%; max-height: 88vh; animation: slideUp 0.28s cubic-bezier(0.32,0.72,0,1); }
  .pm-step { padding: 1.25rem 1rem; }
  .pm-step3-grid { grid-template-columns: 1fr; }
  .pm-amount-grid { grid-template-columns: repeat(3, 1fr); }
  .smsver-overlay { align-items: flex-end; }
  .smsver-box { border-radius: 16px 16px 0 0; width: 100%; max-width: 100%; }

  /* â”€â”€ Settings â”€â”€ */
  .settings-tabs { gap: 0.6rem; overflow-x: auto; flex-wrap: nowrap; }
  .settings-tabs::-webkit-scrollbar { height: 0; }
  .st-btn { white-space: nowrap; font-size: 0.75rem; flex-shrink: 0; }
  #view-settings { overflow-y: auto; }

  /* â”€â”€ Misc â”€â”€ */
  .user-dropdown { right: 0; min-width: 155px; }
  .code-blk { flex-direction: column; gap: 0.6rem; font-size: 0.7rem; word-break: break-all; }
  .search-dropdown { width: calc(100vw - 108px - 1.5rem); }
}

/* â”€â”€ Extra small phones (< 380px) â”€â”€ */
@media (max-width: 380px) {
  .sidebar { width: 90px; min-width: 90px; }
  .nav-item { font-size: 0.62rem; padding: 0.4rem 0.35rem; }
  .nav-item svg { width: 13px; height: 13px; }
  .nc-phone { font-size: 0.72rem; }
  .nc-price { font-size: 0.8rem; }
  .topnav { padding: 0 0.6rem; }
  .u-name, .u-id { display: none; }
  .balance-chip .bl-amount { font-size: 0.72rem; }
  .add-btn { font-size: 0.63rem; padding: 0.28rem 0.45rem; }
  .stat-cards { grid-template-columns: 1fr 1fr; }
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

