/* Banco Formosa - Loading */
:root{
  --bg1:#071b28;
  --bg2:#0b3d5c;
  --card:#0b2232cc;
  --text:#eaf4ff;
  --muted:#b9d2e6;
  --accent:#1fb6d9;
  --accent2:#6fd36b;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 600px at 20% 10%, rgba(31,182,217,.25), transparent 60%),
    radial-gradient(900px 600px at 80% 90%, rgba(111,211,107,.18), transparent 60%),
    linear-gradient(135deg, var(--bg1), var(--bg2));
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
}

.wrap{width:100%;max-width:520px}

.card{
  position:relative;
  background:var(--card);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 24px 70px rgba(0,0,0,.45);
  border-radius:20px;
  padding:22px 18px 16px;
  overflow:hidden;
  backdrop-filter: blur(10px);
}

.card:before{
  content:"";
  position:absolute;
  inset:-2px;
  background:linear-gradient(120deg, rgba(31,182,217,.35), rgba(111,211,107,.18), rgba(31,182,217,.15));
  filter: blur(18px);
  opacity:.35;
  z-index:0;
}

.brand,.status,.progress,.foot{position:relative;z-index:1}

.brand{display:flex;justify-content:center;padding:6px 0 14px}

.logo{
  width:min(360px, 78vw);
  height:auto;
  border-radius:12px;
  background:#fff;
  padding:10px 12px;
}

.status{display:flex;gap:14px;align-items:center;padding:8px 4px 12px}

.spinner{
  width:42px;height:42px;border-radius:50%;
  border:3px solid rgba(255,255,255,.14);
  border-top-color:var(--accent);
  border-right-color:rgba(111,211,107,.55);
  animation:spin 900ms linear infinite;
  flex:0 0 auto;
}
@keyframes spin{to{transform:rotate(360deg)}}

.title{font-weight:700;letter-spacing:.2px;font-size:1.05rem;line-height:1.25}
.subtitle{margin-top:4px;color:var(--muted);font-size:.92rem;line-height:1.35}

.progress{
  height:10px;border-radius:999px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.10);
  overflow:hidden;
  margin:6px 2px 14px;
}
.bar{
  height:100%;
  width:40%;
  border-radius:999px;
  background:linear-gradient(90deg, var(--accent), var(--accent2));
  animation:load 5s ease-in-out forwards;
}
@keyframes load{
  0%{width:10%}
  30%{width:55%}
  70%{width:82%}
  100%{width:100%}
}

.foot{display:flex;justify-content:center;color:rgba(234,244,255,.75);font-size:.82rem;padding-top:6px}

@media (max-width:380px){
  .card{padding:18px 14px 14px}
  .spinner{width:38px;height:38px}
  .title{font-size:1rem}
  .subtitle{font-size:.88rem}
}
