/* ============================================================
   OceanVix — Autenticação (login, cadastro, recuperação de senha)
   Carregado depois de app.css; sobrepõe o bloco .auth-* legado.
   ============================================================ */

.auth-page{
  position:relative;
  padding:40px 0 64px;
  background:
    radial-gradient(1100px 480px at 8% -12%, rgba(30,200,230,.10), transparent 60%),
    radial-gradient(900px 420px at 102% -4%, rgba(20,104,232,.10), transparent 55%),
    var(--bg);
}
.auth-wrap{
  display:grid;
  grid-template-columns:minmax(0,1.04fr) minmax(0,1fr);
  min-height:620px;
  margin:0 auto;
  border-radius:24px;
  overflow:hidden;
  border:1px solid var(--line);
  background:#fff;
  box-shadow:0 24px 64px rgba(6,26,48,.14), 0 2px 6px rgba(6,26,48,.05);
}

/* ---------- painel de marca ---------- */
.auth-art{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:38px 40px 30px;
  color:#fff;
  background:var(--navy-900);
  isolation:isolate;
}
.auth-art img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:1;
  filter:saturate(1.05);
  z-index:-2;
}
.auth-art::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(200deg, rgba(4,18,31,.93) 0%, rgba(6,26,48,.62) 42%, rgba(6,26,48,.52) 62%, rgba(4,18,31,.90) 100%);
}

.auth-brand{display:flex;align-items:center;gap:12px}
.auth-brand-logo{
  width:44px;height:44px;border-radius:14px;flex:none;
  display:grid;place-items:center;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.22);
  backdrop-filter:blur(8px);
}
.auth-brand-logo svg{width:22px;height:22px;color:#7fd8ff}
.auth-brand strong{font-family:var(--font-head);font-size:17px;line-height:1.1;display:block}
.auth-brand small{
  display:block;font-size:10.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;
  color:#9fbedd;margin-top:3px;
}

.auth-art-body{margin:36px 0 30px;max-width:420px}
.auth-art h2{
  color:#fff;
  font-size:clamp(26px,2.4vw,34px);
  line-height:1.12;
  letter-spacing:-.02em;
}
.auth-art p{color:#d3e3f4;font-size:14.5px;margin-top:12px;max-width:390px}

.auth-perks{list-style:none;margin:26px 0 0;padding:0;display:flex;flex-direction:column;gap:10px}
.auth-perks li{display:flex;align-items:center;gap:10px;font-size:13.5px;font-weight:600;color:#eaf3fc}
.auth-perks .pk-ic{
  width:30px;height:30px;border-radius:10px;flex:none;
  display:grid;place-items:center;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.16);
}
.auth-perks .pk-ic svg{width:15px;height:15px;color:#4ade80}

.auth-art-foot{
  display:flex;justify-content:space-between;align-items:center;gap:12px;
  border-top:1px solid rgba(255,255,255,.16);
  padding-top:16px;
  font-size:12px;color:#b9d2ea;
}
.auth-art-foot span{display:inline-flex;align-items:center;gap:6px}
.auth-art-foot svg{width:13px;height:13px;color:#7fd8ff}

/* ---------- formulário ---------- */
.auth-form{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:44px 48px;
}
.auth-kicker{
  display:inline-flex;align-items:center;gap:7px;align-self:flex-start;
  background:var(--blue-soft);color:var(--blue-700);
  font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;
  border-radius:999px;padding:6px 12px;margin-bottom:14px;
}
.auth-kicker svg{width:13px;height:13px}
.auth-form h1{font-size:clamp(24px,2.2vw,29px);letter-spacing:-.02em}
.auth-form p.sub{font-size:14px;color:var(--muted);margin:8px 0 22px}

.auth-form .alert{display:flex;gap:10px;align-items:flex-start;border-radius:12px;margin:0 0 16px}
.auth-form .alert svg{width:17px;height:17px;flex:none;margin-top:1px}

.auth-field{margin-bottom:14px}
.auth-field label{font-size:12.5px;font-weight:700;color:var(--navy-900)}
.auth-label-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.auth-label-row label{margin:0}
.auth-link{font-size:12.5px;font-weight:700;color:var(--blue)}
.auth-link:hover{color:var(--blue-700);text-decoration:underline}

.auth-input{position:relative;display:flex;align-items:center}
.auth-input>svg{
  position:absolute;left:14px;width:17px;height:17px;
  color:#8aa0b8;pointer-events:none;
}
.auth-input input{
  width:100%;height:48px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fbfdff;
  padding:0 46px 0 42px;
  font-size:14px;color:var(--ink);
  transition:border-color .15s, box-shadow .15s, background .15s;
}
.auth-input input::placeholder{color:#9aabbd}
.auth-input input:hover{border-color:#cfddeb}
.auth-input input:focus{
  outline:none;border-color:var(--blue);background:#fff;
  box-shadow:0 0 0 4px rgba(20,104,232,.13);
}
.auth-input input:disabled{opacity:.6}

.pw-toggle{
  position:absolute;right:8px;
  width:34px;height:34px;border:0;border-radius:9px;
  background:transparent;color:#7b8fa6;
  display:grid;place-items:center;
  transition:background .15s, color .15s;
}
.pw-toggle:hover{background:var(--blue-soft);color:var(--blue)}
.pw-toggle svg{width:17px;height:17px}
.pw-toggle .pw-show{display:grid;place-items:center}
.pw-toggle .pw-hide{display:none;place-items:center}
.pw-toggle.on .pw-show{display:none}
.pw-toggle.on .pw-hide{display:grid}

.auth-check{
  display:flex;align-items:center;gap:8px;
  font-size:13px;color:var(--body);cursor:pointer;
  margin:2px 0 18px;
}
.auth-check input{width:16px;height:16px;accent-color:var(--blue);margin:0}

.auth-form .btn{height:48px;font-size:14.5px;font-weight:700;border-radius:12px}
.auth-form .btn-primary{
  background:linear-gradient(135deg,var(--blue),var(--blue-600));
  box-shadow:0 12px 24px rgba(20,104,232,.28);
}
.auth-form .btn-outline{background:#fff;border-color:#cfe1fb;color:var(--blue)}

.auth-divider{
  display:flex;align-items:center;gap:12px;
  margin:20px 0;color:var(--muted);
  font-size:12px;font-weight:600;text-transform:lowercase;
}
.auth-divider::before,.auth-divider::after{content:"";flex:1;height:1px;background:var(--line)}

.auth-secure{
  display:flex;align-items:center;justify-content:center;gap:6px;
  font-size:12px;color:var(--muted);margin-top:18px;
}
.auth-secure svg{width:14px;height:14px;color:var(--green)}

/* ---------- responsivo ---------- */
@media (max-width:1080px){
  .auth-form{padding:36px}
  .auth-art{padding:32px}
}
@media (max-width:980px){
  .auth-page{padding:20px 0 40px}
  .auth-wrap{grid-template-columns:1fr;min-height:0}
  .auth-art{display:flex;padding:24px}
  .auth-art-body{margin:16px 0 0}
  .auth-art h2{font-size:22px}
  .auth-art p{display:none}
  .auth-perks,.auth-art-foot{display:none}
  .auth-brand-logo{width:38px;height:38px;border-radius:12px}
  .auth-form{padding:28px 22px 34px}
}
@media (max-width:420px){
  .auth-form .btn{height:46px}
  .auth-form h1{font-size:23px}
}
