@charset "UTF-8";

/* ===== Variables ===== */
:root{
  --ll-green: #20e36b;
  --ll-green-2: #0bbf5a;
  --ll-card: rgba(255,255,255,0.10);
  --ll-border: rgba(255,255,255,0.16);
  --ll-text: rgba(255,255,255,0.94);
}

/* ===== Base ===== */
html, body { height: 100%; }
body { background: #000; margin: 0; }

.ll-bg {
  background: radial-gradient(1200px 800px at 20% 10%, rgba(32,227,107,0.25), transparent 55%),
              radial-gradient(900px 600px at 80% 20%, rgba(11,191,90,0.18), transparent 50%),
              linear-gradient(160deg, #0a0f0c 0%, #060707 45%, #020202 100%);
  color: var(--ll-text);
}

/* ===== Navbar / Tabbar ===== */
.ll-navbar {
  background: rgba(5,6,7,0.55) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.ll-tabbar {
  background: rgba(5,6,7,0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.10);
}

/* ===== Glass ===== */
.ll-glass {
  background: var(--ll-card);
  border: 1px solid var(--ll-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
}

/* ===== Botón ===== */
.ll-btn-primary .button-fill {
  background: linear-gradient(90deg, var(--ll-green) 0%, var(--ll-green-2) 100%) !important;
  color: #06110a !important;
  font-weight: 900;
  border: none !important;
}

/* ===== Links ===== */
.ll-link {
  color: rgba(255,255,255,0.90);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =====================================================
   HOME – FULL BLEED + SHEET (ESTABLE EN iOS / ANDROID)
   ===================================================== */

.ll-home{
  position: relative;
  height: 100svh;
  height: 100dvh;
  overflow: hidden;
}

/* Fondo */
.ll-home__bg{
  position:absolute;
  inset:0;
  z-index:1;
  background-size:cover;
  background-position:center;
}

/* Overlay (NO bloquea clicks) */
.ll-home__overlay{
  position:absolute;
  inset:0;
  z-index:2;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.05) 0%,
    rgba(0,0,0,0.45) 55%,
    rgba(0,0,0,0.88) 100%
  );
  pointer-events: none;
}

/* Sheet inferior (nunca se amontona) */
.ll-home__sheet{
  position:absolute;
  left:16px;
  right:16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index:3;
  max-width:560px;
  margin:0 auto;
}

.ll-home__sheet-inner{
  padding:16px;
}

/* ===== Branding ===== */
.ll-brand{
  display:flex;
  gap:10px;
  align-items:center;
  margin-bottom:10px;
}

.ll-brand__badge{
  width:44px;
  height:44px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background: linear-gradient(
    135deg,
    rgba(32,227,107,0.95),
    rgba(0,0,0,0.25)
  );
  border: 1px solid rgba(255,255,255,0.15);
}

.ll-brand__title{
  font-weight:900;
  font-size:18px;
}

.ll-brand__subtitle{
  font-size:12px;
  color: rgba(255,255,255,0.70);
}

/* ===== Textos ===== */
.ll-legal{
  margin-top:12px;
  font-size:12px;
  color: rgba(255,255,255,0.80);
  line-height:1.35;
}

.ll-footnote{
  margin-top:10px;
  font-size:11px;
  color: rgba(255,255,255,0.55);
}

/* En HOME no se muestra tabbar */
body.ll-on-home #app-tabbar{
  display:none !important;
}

/* ===============================
   POPUPS: layout más premium
   =============================== */
.popup .page-content{
  padding-top: 8px;
}

/* Tarjeta “glass” en popups más cuidada */
.ll-card-popup{
  margin: 14px 16px;
  padding: 16px;
  border-radius: 22px;
}

/* Títulos en popups */
.ll-popup-title{
  margin: 14px 16px 6px;
  font-size: 18px;
  font-weight: 900;
  color: rgba(255,255,255,0.94);
  line-height: 1.2;
}
.ll-popup-subtitle{
  margin: 0 16px 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  line-height: 1.35;
}

/* Row: prefijo + número en una fila */
.ll-phone-row{
  display: grid;
  grid-template-columns: 1.05fr 1.95fr;
  gap: 10px;
}

/* Inputs algo más “iOS premium” */
.ll-input input, .ll-input select{
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.16) !important;
  border-radius: 16px !important;
  padding: 14px 12px !important;
  color: rgba(255,255,255,0.94) !important;
}

/* ===== OTP: 6 en una sola línea ===== */
.ll-otp{
  display: flex;
  gap: 10px;
  justify-content: center;
}

.ll-otp input{
  width: 46px;
  height: 54px;
  border-radius: 16px !important;
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.16) !important;
  text-align: center;
  font-size: 18px;
  font-weight: 900;
  color: rgba(255,255,255,0.94) !important;
}

/* En móviles muy estrechos ajusta un poco para que NO salte a otra fila */
@media (max-width: 360px){
  .ll-otp{ gap: 8px; }
  .ll-otp input{ width: 40px; height: 52px; }
}

/* ===============================
   TABBAR: que se vea dentro de la app
   =============================== */
#app-tabbar{
  padding-bottom: env(safe-area-inset-bottom);
}

#app-tabbar .tab-link{
  opacity: 0.9;
}

#app-tabbar .tab-link-active,
#app-tabbar .tab-link.tab-link-active{
  opacity: 1;
}

#app-tabbar .tab-link-active i,
#app-tabbar .tab-link-active .tabbar-label{
  color: var(--ll-green) !important;
}

/* Cabeceras más legibles */
.navbar .title{
  font-weight: 900;
  letter-spacing: 0.2px;
}

/* ========= TABBAR PRO (flotante, más arriba) ========= */

/* Evita que el contenido quede debajo del tabbar flotante */
.view-main .page-content{
  padding-bottom: calc(110px + env(safe-area-inset-bottom)) !important;
}

/* Tabbar flotante */
#app-tabbar{
  position: fixed !important;
  left: 12px !important;
  right: 12px !important;

  /* ✅ más arriba del borde inferior */
  bottom: calc(14px + env(safe-area-inset-bottom)) !important;

  z-index: 99999 !important;

  border-radius: 22px !important;
  overflow: hidden;

  background: rgba(8, 10, 10, 0.55) !important;
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  box-shadow: 0 14px 40px rgba(0,0,0,0.45);
}

/* Altura y alineación */
#app-tabbar .toolbar-inner{
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 6px;
}

/* Botón de tab */
#app-tabbar .tab-link{
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 4px;
  opacity: 0.75;
  transition: transform 120ms ease, opacity 120ms ease;
}

/* Icono */
#app-tabbar .tab-link i{
  font-size: 22px;
}

/* Texto */
#app-tabbar .tabbar-label{
  font-size: 11px;
  letter-spacing: 0.1px;
}

/* Activo */
#app-tabbar .tab-link-active{
  opacity: 1;
  transform: translateY(-1px);
}
#app-tabbar .tab-link-active i,
#app-tabbar .tab-link-active .tabbar-label{
  color: var(--ll-green) !important;
}

/* HOME: ocultar */
body.ll-on-home #app-tabbar{
  display: none !important;
}

.navbar.ll-navbar .title{
  color: rgba(255,255,255,0.92) !important;
}
.navbar.ll-navbar{
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

