:root{
  /* Safe areas iPhone */
  --sat: env(safe-area-inset-top);
  --sab: env(safe-area-inset-bottom);

  /* Paleta do seu Compose */
  --blue: #2B6FD6;
  --ink: #0B1B4B;
  --muted: #4C5A7A;
  --danger: #B00020;
  --ok: #1B5E20;

  --field-bg: #F6F8FF;
  --field-stroke: #E3E8F3;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, Helvetica, sans-serif;
  color:#fff;
  background:#000;
}

#app{
  min-height:100vh;
  padding: calc(24px + var(--sat)) 22px calc(24px + var(--sab));
  max-width: 560px;
  margin: 0 auto;
}

/* Background igual ao Image(splash_bg) */
.bg{
  position: fixed;
  inset: 0;
  z-index: -2;
  background: url("/assets/splash_bg.png") center/cover no-repeat;
}
.bg::after{
  content:"";
  position:absolute;
  inset:0;
  /* levinho só pra leitura (pode remover se quiser 100% igual) */
  background: linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.18));
  z-index:-1;
}

/* Container da tela */
.auth-wrap{
  min-height: calc(100vh - (24px + var(--sat)) - (24px + var(--sab)));
  display:flex;
  flex-direction:column;
  align-items:center;
}

.spacer-top{ height:110px; }
.spacer-28{ height:28px; }
.spacer-16{ height:16px; }
.spacer-14{ height:14px; }
.spacer-12{ height:12px; }
.spacer-10{ height:10px; }

/* Títulos (Planeja / DELOS / 2026)
   Como não temos as fontes Pacifico/Poppins aqui, fica muito próximo com fallback.
   Se você quiser, depois eu te passo como subir as fontes e aplicar 100% igual.
*/
.brand-planeja{
  font-family: "Pacifico", cursive;
  font-size:56px;
  line-height:1;
  margin:0;
  color:#fff;
}
.brand-delos{
  font-family: "Poppins", system-ui, sans-serif;
  font-weight:800;
  font-size:74px;
  letter-spacing:1.5px;
  line-height:1;
  margin:0;
  transform: translateY(-6px);
  color:#fff;
}
.brand-year{
  font-family: "Poppins", system-ui, sans-serif;
  font-weight:800;
  font-size:42px;
  line-height:1;
  margin:0;
  transform: translateY(-10px);
  color:#fff;
}

/* Card branco */
.card{
  width:100%;
  border-radius:24px;
  background: rgba(255,255,255,.95);
  padding:20px;
  color: var(--ink);
}

/* Textos */
.h1{
  font-family:"Poppins", system-ui, sans-serif;
  font-weight:800;
  font-size:18px;
  margin:0;
  color: var(--ink);
}
.p{
  font-family:"Poppins", system-ui, sans-serif;
  font-size:13px;
  margin:4px 0 0;
  color: var(--muted);
}
.small-link{
  font-family:"Poppins", system-ui, sans-serif;
  font-size:12px;
  color: var(--blue);
  cursor:pointer;
  user-select:none;
}
.row-center{
  display:flex;
  justify-content:center;
  gap:0;
  flex-wrap:wrap;
  margin-top: 14px;
}
.row-center span{
  font-family:"Poppins", system-ui, sans-serif;
  font-size:12px;
  color: var(--muted);
}
.row-center a{
  font-family:"Poppins", system-ui, sans-serif;
  font-size:12px;
  font-weight:800;
  color: var(--blue);
  text-decoration:none;
  margin-left:4px;
}

/* Mensagens */
.msg{
  font-family:"Poppins", system-ui, sans-serif;
  font-size:12px;
  margin: 0 0 10px;
}
.msg.err{ color: var(--danger); }
.msg.ok{ color: var(--ok); }

/* Inputs igual OutlinedTextField */
.input{
  width:100%;
  height:52px;
  padding: 14px 14px;
  border-radius:14px;
  border: 1px solid var(--field-stroke);
  background: var(--field-bg);
  outline:none;
  font-size:16px;
  color: #0b1220;
}
.input::placeholder{
  color: rgba(76,90,122,.65);
}

/* campo senha com ícone */
.field{
  position:relative;
}
.eye-btn{
  position:absolute;
  right:10px;
  top:50%;
  transform: translateY(-50%);
  width:42px;
  height:42px;
  border:0;
  background:transparent;
  cursor:pointer;
  display:grid;
  place-items:center;
  padding:0;
}
.eye-btn svg{ width:22px; height:22px; fill: #1b2b55; opacity:.9; }

.btn{
  width:100%;
  height:48px;
  border-radius:16px;
  border:0;
  background: var(--blue);
  color:#fff;
  font-family:"Poppins", system-ui, sans-serif;
  font-weight:800;
  font-size:15px;
  cursor:pointer;
}
.btn:disabled{ opacity:.7; cursor:not-allowed; }

.btn-inline{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}
.spinner{
  width:18px;
  height:18px;
  border-radius:999px;
  border:2px solid rgba(255,255,255,.35);
  border-top-color:#fff;
  animation: spin .9s linear infinite;
}
@keyframes spin{ to { transform: rotate(360deg); } }

/* util */
.hidden{ display:none !important; }

/* Variante do topo (Register no Android usa preto) */
.auth-top-black .brand-planeja,
.auth-top-black .brand-delos,
.auth-top-black .brand-year{
  color: #000 !important;
}

