/* ============================================================
   NP Cash — iOS Native Look (loaded after polish.css)
   Pure CSS overlay — no JS / no DOM rewrites required.
   ============================================================ */

:root{
  color-scheme: dark;
  --ios-bg:        #080D18;
  --ios-card:      #111827;
  --ios-inset:     #1C2333;
  --ios-border:    rgba(255,255,255,0.06);
  --ios-text:      #F9FAFB;
  --ios-text2:     #9CA3AF;
  --ios-text3:     #6B7280;
  --ios-blue:      #2563EB;
  --ios-blue-2:    #1A4FBF;
  --ios-green:     #10B981;
  --ios-green-2:   #059669;
  --ios-gold:      #F59E0B;
  --ios-radius-card:  16px;
  --ios-radius-input: 12px;
  --ios-radius-pill:  100px;
  --ios-shadow:    0 2px 12px rgba(0,0,0,0.30);
  --ios-shadow-lg: 0 8px 28px rgba(0,0,0,0.45);
}

/* ---------- Base ---------- */
html, body{
  background: var(--ios-bg) !important;
  color: var(--ios-text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  max-width: 100%;
}
body{ padding-left:0; padding-right:0; }

/* ---------- Mobile-frame container on desktop ---------- */
@media (min-width: 600px){
  html, body{ background: #05080F !important; }
  body{
    max-width: 430px;
    margin: 0 auto;
    min-height: 100vh;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 30px 80px rgba(0,0,0,0.6);
    background: var(--ios-bg) !important;
    position: relative;
  }
  /* Fixed bottom nav must follow the mobile frame width */
  .bottom-nav, #bottom-nav, nav.bottom-nav{
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
    width: 100% !important;
    max-width: 430px !important;
  }
  /* Overlays/toasts/modals stay within the frame */
  .modal, .modal-bg, .overlay, .toast-wrap, .nl-bg, #gold-overlay, #onb-overlay{
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%);
    width: 100% !important;
    max-width: 430px !important;
  }
}

h1,h2,h3,h4,h5{
  letter-spacing: -0.3px;
  color: var(--ios-text);
}
h1{ font-weight: 800; }
h2,h3{ font-weight: 700; }

.screen, .main, main{ padding-left: 16px; padding-right: 16px; }

/* ---------- Cards ---------- */
.card,
.auth-box,
.stats-card,
.lead-row,
.saque-row,
.corretor-card,
.np-card{
  background: var(--ios-card) !important;
  border: 1px solid var(--ios-border) !important;
  border-radius: var(--ios-radius-card) !important;
  box-shadow: var(--ios-shadow) !important;
  padding: 16px !important;
  margin-bottom: 16px !important;
}

/* ---------- Inputs ---------- */
input, textarea, select{
  background: var(--ios-inset) !important;
  color: var(--ios-text) !important;
  border: 1px solid transparent !important;
  border-radius: var(--ios-radius-input) !important;
  height: 48px;
  padding: 0 14px;
  font-size: 15px;
  width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease;
}
textarea{ height:auto; padding:12px 14px; }
input:focus, textarea:focus, select:focus{
  outline: none !important;
  border-color: var(--ios-blue) !important;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.18) !important;
}
input::placeholder, textarea::placeholder{ color: var(--ios-text3); }

label{
  font-size: 11px !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ios-text3) !important;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}
.form-group{ margin-bottom: 14px; }

/* ---------- Buttons ---------- */
.btn, button.btn-primary, .btn-primary{
  border-radius: var(--ios-radius-pill) !important;
  height: 52px;
  font-size: 16px;
  font-weight: 700;
  border: none !important;
  letter-spacing: -0.2px;
  transition: transform .15s ease, filter .15s ease, box-shadow .2s ease;
}
.btn-primary, button.btn-primary{
  background: linear-gradient(135deg, #2563EB, #1A4FBF) !important;
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(37,99,235,0.35);
}
.btn-primary:hover{ filter: brightness(1.06); }
.btn-primary:active{ transform: scale(0.98); filter: brightness(0.95); }

/* Mantém a camada iOS como a fonte final do visual, mesmo quando HTML antigo
   ainda contém blocos de CSS roxos de versões anteriores. */
html body .btn-primary,
html body .btn.btn-primary,
html body .btn-full.btn-primary,
html body button.btn-primary{
  background: linear-gradient(135deg, #2563EB, #1A4FBF) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--ios-radius-pill) !important;
  box-shadow: 0 6px 18px rgba(37,99,235,0.35) !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif !important;
  letter-spacing: 0 !important;
}

html body .auth-logo h1 span,
html body .logo-text span{
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  color: var(--ios-blue) !important;
}

html body .bn-item.active,
html body .nav-item.active{
  color: var(--ios-blue) !important;
  background: transparent !important;
  box-shadow: none !important;
}

.btn-outline, .btn-secondary{
  background: transparent !important;
  border: 1px solid #374151 !important;
  color: var(--ios-text) !important;
  border-radius: var(--ios-radius-pill) !important;
  height: 52px;
  font-weight: 600;
}

/* ============================================================
   LOGIN (cliente.html — s-login)
   ============================================================ */
#s-login .auth-wrap{
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 16px calc(48px + env(safe-area-inset-bottom));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
/* Caixa sem borda — conteúdo solto no fundo da tela */
#s-login .auth-box{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100%;
  max-width: 420px;
}

/* Logo */
#s-login .auth-logo{ text-align: center; margin-bottom: 20px; }
#s-login .auth-logo .logo-mark{
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563EB, #1A4FBF);
  display: flex; align-items: center; justify-content: center;
  color:#fff; font-weight: 800; font-size: 22px;
  margin: 0 auto 14px;
  box-shadow: 0 10px 30px rgba(37,99,235,0.4);
}
#s-login .auth-logo h1{
  font-size: 28px !important;
  font-weight: 800 !important;
  letter-spacing: -0.6px;
  margin: 0;
}
#s-login .auth-logo h1 span{ color: var(--ios-blue); }
#s-login .auth-logo .auth-hero-title{
  font-size: 18px;
  color: var(--ios-text);
  margin-top: 10px;
  font-weight: 600;
}
#s-login .auth-logo .auth-hero-title span{
  display: block;
  color: var(--ios-text2);
  font-weight: 500;
}
#s-login .auth-logo p{
  font-size: 14px;
  color: var(--ios-text2);
  margin-top: 8px;
  line-height: 1.5;
}

/* Badges empilhadas verticalmente para não cortar */
#s-login .auth-pills{
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 8px !important;
  margin: 14px 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}
#s-login .auth-pills::-webkit-scrollbar{ display: none; }
#s-login .auth-pill{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  font-size: 14px !important;
  font-weight: 700;
  background: var(--ios-inset) !important;
  border: 1px solid transparent !important;
  white-space: nowrap;
  text-align: center;
}
#s-login .auth-pill.green{ border-color: rgba(16,185,129,0.4) !important; color: #34D399 !important; }
#s-login .auth-pill.blue { border-color: rgba(37,99,235,0.4)  !important; color: #60A5FA !important; }
#s-login .auth-pill.gold { border-color: rgba(245,158,11,0.4) !important; color: #FBBF24 !important; }

/* Ticker de prova social */
#s-login .auth-proof{
  background: #0D1F17 !important;
  border-left: 3px solid var(--ios-green) !important;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--ios-text);
  position: relative;
  margin: 4px 0 16px;
}
#s-login .auth-proof::before{ content: none !important; }

/* Link "Criar conta" como botão outline */
#s-login .auth-toggle a{
  display: block;
  width: 100%;
  height: 52px;
  line-height: 52px;
  text-align: center;
  border: 1px solid #374151;
  border-radius: var(--ios-radius-pill);
  color: var(--ios-text) !important;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none !important;
  cursor: pointer;
  transition: background .15s ease;
}
#s-login .auth-toggle a:hover{ background: rgba(255,255,255,0.04); }

/* Separador "ou" com linhas */
#s-login .auth-divider{
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ios-text3);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 16px 0;
}
#s-login .auth-divider::before,
#s-login .auth-divider::after{
  content:'';
  flex: 1;
  height: 1px;
  background: var(--ios-border);
}

/* Corretor badge */
#corretor-badge{
  background: rgba(37,99,235,0.10) !important;
  border: 1px solid rgba(37,99,235,0.30) !important;
  border-radius: 12px !important;
  padding: 10px 14px !important;
  color: var(--ios-text) !important;
  font-size: 13px;
  margin: 8px 0 16px;
}

/* ============================================================
   INDICADOR — DASHBOARD
   ============================================================ */

/* Card de saldo com gradiente */
#s-dash .saldo-card,
.saldo-card,
#s-dash .card:first-of-type{
  background: linear-gradient(160deg, #0F2460 0%, #1A4FBF 100%) !important;
  border: none !important;
  border-radius: 20px !important;
  padding: 24px !important;
  color: #fff !important;
  box-shadow: 0 10px 30px rgba(15,36,96,0.45) !important;
}
#s-dash .saldo-card label,
.saldo-card label{
  color: rgba(255,255,255,0.6) !important;
  font-size: 11px !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}
#saldo-val{
  font-size: 42px !important;
  font-weight: 800 !important;
  color: #fff !important;
  letter-spacing: -1px;
  display: block;
  margin-top: 4px;
}

/* Mini stats (3 colunas com divisores verticais) */
.mini-stats, .stats-row, .saldo-stats{
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 0 !important;
  margin-top: 18px;
}
.mini-stats > *, .stats-row > *, .saldo-stats > *{
  text-align: center;
  padding: 0 8px;
  border-right: 1px solid rgba(255,255,255,0.15);
  color: #fff;
}
.mini-stats > *:last-child,
.stats-row > *:last-child,
.saldo-stats > *:last-child{ border-right: none; }
.mini-stats strong, .stats-row strong, .saldo-stats strong{
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}
.mini-stats small, .stats-row small, .saldo-stats small{
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* Barra de progresso */
progress, .progress, .progress-bar{
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.2);
  border: none;
  overflow: hidden;
}
progress::-webkit-progress-bar{ background: rgba(255,255,255,0.2); border-radius: 3px; }
progress::-webkit-progress-value{ background: #fff; border-radius: 3px; }
progress::-moz-progress-bar{ background: #fff; }
.progress > .bar, .progress-bar > .fill{
  height: 100%;
  background: #fff;
  border-radius: 3px;
  transition: width .4s ease;
}

/* Botão "Indicar nova pessoa" em verde */
button[onclick*="indicar"], .btn-indicar, .btn-green{
  background: linear-gradient(135deg, #059669, #10B981) !important;
  color: #fff !important;
  border-radius: var(--ios-radius-pill) !important;
  height: 56px !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  border: none !important;
  box-shadow: 0 6px 18px rgba(16,185,129,0.35);
}

/* Cards de indicação (leads) */
.lead-row{
  background: var(--ios-card) !important;
  border: 1px solid var(--ios-border) !important;
  border-radius: 16px !important;
  padding: 16px !important;
  margin-bottom: 12px !important;
}
.lead-row .nome, .lead-row strong{ font-size: 15px; font-weight: 700; }
.lead-row .badge,
.lead-row .tipo-badge{
  display: inline-block;
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(37,99,235,0.15);
  color: #60A5FA;
  margin-left: 6px;
}

/* Timeline de etapas */
.timeline, .steps{
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 10px;
}
.timeline .step, .steps .step{
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid #374151;
  background: transparent;
  flex: 0 0 auto;
}
.timeline .step.done, .steps .step.done{
  background: var(--ios-blue);
  border-color: var(--ios-blue);
}
.timeline .line, .steps .line{
  flex: 1;
  height: 2px;
  background: #374151;
}
.timeline .line.done, .steps .line.done{ background: var(--ios-blue); }

/* ============================================================
   INDICADOR — FORMULÁRIO DE INDICAÇÃO
   ============================================================ */
#s-indicar h1, #s-indicar h2,
#s-indicar .page-title{
  font-size: 24px;
  font-weight: 800;
  text-align: left;
  margin: 16px 0;
  letter-spacing: -0.5px;
}

/* Cards CLT / Autônomo */
.tipo-options, #s-indicar .tipo-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.tipo-option, #opt-clt, #opt-aut{
  background: var(--ios-card) !important;
  border: 2px solid transparent !important;
  border-radius: 16px !important;
  height: 100px;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ios-text) !important;
  cursor: pointer;
  transition: all .2s ease;
}
.tipo-option .ti, #opt-clt .ti, #opt-aut .ti{ display:none !important; }
#opt-clt::before, #opt-aut::before{ content:none !important; }
.tipo-option.selected, #opt-clt.selected, #opt-aut.selected{
  border-color: var(--ios-blue) !important;
  background: rgba(37,99,235,0.10) !important;
}

/* Card "Como funciona" */
.como-funciona, .info-card, .help-card{
  background: #0D1A2E !important;
  border: none !important;
  border-left: 3px solid var(--ios-blue) !important;
  border-radius: 12px !important;
  padding: 14px 16px !important;
}

/* ============================================================
   INDICADOR — RANKING
   ============================================================ */
.countdown-card, #ranking-countdown{
  background: #1A1000 !important;
  border: 1px solid rgba(245,158,11,0.4) !important;
  border-radius: 16px !important;
  padding: 18px !important;
  margin-bottom: 16px;
}
.countdown-grid{
  display: grid;
  grid-template-columns: 1fr 8px 1fr 8px 1fr;
  align-items: center;
  text-align: center;
  gap: 4px;
}
.countdown-num{
  font-size: 36px;
  font-weight: 800;
  color: var(--ios-gold);
  letter-spacing: -1px;
  line-height: 1;
}
.countdown-label{
  font-size: 12px;
  color: var(--ios-text3);
  text-transform: lowercase;
  margin-top: 6px;
}
.countdown-sep{
  font-size: 28px;
  color: var(--ios-gold);
  opacity: 0.5;
  font-weight: 700;
}

/* Ranking list sem card envolvente */
.ranking-list{ background: transparent !important; padding: 0 !important; border: none !important; box-shadow: none !important; }
.ranking-row, .rank-row{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--ios-border);
  background: transparent;
}
.ranking-row:last-child, .rank-row:last-child{ border-bottom: none; }
.ranking-row.me, .rank-row.me, .ranking-row[data-me], .rank-row[data-me]{
  background: rgba(37,99,235,0.10);
  border-left: 3px solid var(--ios-blue);
  padding-left: 12px;
  border-radius: 8px;
}
.ranking-avatar, .rank-avatar{
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 16px;
  background: linear-gradient(135deg, #2563EB, #1A4FBF);
  flex: 0 0 auto;
}
.ranking-pos, .rank-pos{
  width: 28px; text-align: center;
  font-weight: 800; font-size: 15px;
  color: var(--ios-text3);
}
.ranking-pos.p1, .rank-pos.p1{ color: #F59E0B; }
.ranking-pos.p2, .rank-pos.p2{ color: #9CA3AF; }
.ranking-pos.p3, .rank-pos.p3{ color: #B45309; }

/* ============================================================
   CORRETOR — DASHBOARD
   ============================================================ */
.corretor-slug, #corretor-slug{
  font-size: 28px !important;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--ios-text);
}
.corretor-url, #corretor-url{
  font-size: 12px;
  color: var(--ios-text3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  margin-top: 4px;
}
.btn-copy, button[onclick*="copy"]{
  background: transparent !important;
  border: 1px solid #374151 !important;
  color: var(--ios-text) !important;
  border-radius: var(--ios-radius-pill) !important;
  height: 40px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 600;
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Filtros leads (pills horizontais) */
.filtros, .lead-filters, .filter-pills{
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0 -16px 12px;
  padding: 4px 16px;
}
.filtros::-webkit-scrollbar, .lead-filters::-webkit-scrollbar, .filter-pills::-webkit-scrollbar{ display:none; }
.filtros .pill, .lead-filters .pill, .filter-pills .pill,
.filtros button, .lead-filters button, .filter-pills button{
  flex: 0 0 auto;
  border-radius: 100px !important;
  height: 34px;
  padding: 0 14px;
  background: var(--ios-inset) !important;
  color: var(--ios-text) !important;
  border: 1px solid transparent !important;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.filtros .pill.active, .lead-filters .pill.active, .filter-pills .pill.active,
.filtros button.active, .lead-filters button.active, .filter-pills button.active{
  background: var(--ios-blue) !important;
  color: #fff !important;
}

/* ============================================================
   ADMIN — DASHBOARD
   ============================================================ */
.sidebar{ background: var(--ios-card) !important; border-right: 1px solid var(--ios-border); }
.main-content{ background: var(--ios-bg); }

@media (max-width: 768px){
  body, .main-content{ max-width: 100%; overflow-x: hidden; }
  .sidebar{
    position: fixed;
    bottom: 0; left: 0; right: 0;
    top: auto !important;
    width: 100% !important;
    height: 64px !important;
    flex-direction: row !important;
    border-right: none !important;
    border-top: 1px solid var(--ios-border) !important;
    background: rgba(8,13,24,0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9000;
    transform: none !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: space-around;
    align-items: center;
  }
  .sidebar a, .sidebar .nav-item{
    flex: 1;
    height: 100%;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 11px !important;
    color: #4B5563 !important;
    padding: 0 !important;
    gap: 2px;
  }
  .sidebar a.active, .sidebar .nav-item.active{ color: var(--ios-blue) !important; background: transparent !important; }
  .main-content{ margin-left: 0 !important; padding: 16px !important; padding-bottom: 80px !important; }
  .kpi-grid, .stats-grid, .cards-kpi{
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px;
  }
  table{ min-width: 600px; }
  .table-wrap, .table-container{ overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ============================================================
   BOTTOM NAV (indicador)
   ============================================================ */
#bottom-nav, .bottom-nav{
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: calc(56px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(8,13,24,0.95) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.06) !important;
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 9000;
}
#bottom-nav a, .bottom-nav a, .bottom-nav .nav-item{
  flex: 1;
  height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #4B5563 !important;
  font-size: 11px !important;
  text-decoration: none;
  font-weight: 600;
}
#bottom-nav a .ti, .bottom-nav a .ti{ font-size: 22px; }
#bottom-nav a.active, .bottom-nav a.active, .bottom-nav .nav-item.active{
  color: var(--ios-blue) !important;
  font-weight: 700 !important;
}

/* Reserve space for bottom nav so content isn't hidden */
.screen{ padding-bottom: 96px; }

/* ============================================================
   SAFE-AREA + DYNAMIC VIEWPORT HEIGHT (notch / home indicator)
   Adicionado depois para sobrescrever .navbar / .bottom-nav.
   ============================================================ */
:root{
  --safe-top:    env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --nav-h: 52px;
  --bnav-h: 64px;
}

html, body{ min-height: 100vh; min-height: 100dvh; }

.screen{ min-height: 100vh; min-height: 100dvh; }

/* Header fixo respeitando o notch / barra de status */
.navbar{
  padding-top: var(--safe-top) !important;
  height: calc(var(--nav-h) + var(--safe-top)) !important;
  box-sizing: border-box !important;
}

/* Conteúdo principal não pode ficar atrás do header */
.main{
  padding-top: calc(var(--nav-h) + var(--safe-top) + 16px) !important;
}

/* Bottom-nav fixo respeitando o home indicator */
.bottom-nav, #bottom-nav, nav.bottom-nav{
  padding-bottom: var(--safe-bottom) !important;
  height: calc(var(--bnav-h) + var(--safe-bottom)) !important;
  box-sizing: border-box !important;
}

/* Espaço extra no fundo do conteúdo quando o bottom-nav está visível */
.main-with-nav{
  padding-bottom: calc(var(--bnav-h) + var(--safe-bottom) + 16px) !important;
}

/* Telas de login (sem bottom-nav) só precisam do safe-top */
#s-login{
  min-height: 100vh;
  min-height: 100dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-top: max(24px, var(--safe-top)) !important;
  padding-bottom: max(48px, calc(var(--safe-bottom) + 32px)) !important;
}
#s-login .auth-wrap{
  padding-top: max(24px, var(--safe-top)) !important;
  padding-bottom: max(48px, calc(var(--safe-bottom) + 32px)) !important;
}
