/* ============================================================================
   oceano-login.css — telas fora do shell: login (pages/login.php) e
   criação de senha nova (pages/reset-password.php). Só tokens de
   oceano-tokens.css; escopo .od-auth (essas páginas não carregam o shell).
   ============================================================================ */

*,*::before,*::after{ box-sizing:border-box; }
[hidden]{ display:none !important; }

body.od-auth{
  margin:0; min-height:100vh; display:flex;
  font-family:var(--font); color:var(--ink); background:var(--canvas);
  -webkit-font-smoothing:antialiased;
}

/* Painel da marca (esquerda) */
.od-auth__brand{
  flex:0 0 42%; max-width:560px; display:flex; flex-direction:column; justify-content:space-between;
  padding:40px 48px; color:#fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(63,184,175,.28), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(63,184,175,.16), transparent 40%),
    var(--navy);
}
.od-auth__brand-top{ display:flex; align-items:center; gap:12px; font-size:20px; font-weight:var(--fw-semibold); }
.od-auth__brand-top img{ height:34px; width:auto; }
.od-auth__brand-mid h2{ font-size:30px; line-height:1.25; font-weight:var(--fw-semibold); margin:0 0 12px; max-width:380px; color:#fff; }
.od-auth__brand-mid p{ margin:0; color:rgba(255,255,255,.7); font-size:15px; }
.od-auth__brand-foot{ font-size:12px; color:rgba(255,255,255,.5); }

/* Formulário (direita) */
.od-auth__main{ flex:1; display:flex; align-items:center; justify-content:center; padding:32px 16px; }
.od-auth__card{
  width:100%; max-width:400px; background:#fff; border:1px solid var(--line);
  border-radius:16px; box-shadow:var(--shadow-md); padding:36px 32px;
}
.od-auth__mobile-logo{ display:none; text-align:center; margin-bottom:20px; }
.od-auth__mobile-logo img{ height:44px; width:auto; }

.od-auth__title{ font-size:22px; font-weight:var(--fw-semibold); margin:0 0 6px; color:var(--ink); }
.od-auth__sub{ font-size:14px; color:var(--muted); margin:0 0 22px; line-height:1.5; }
.od-auth__sub b{ color:var(--ink); font-weight:var(--fw-semibold); word-break:break-all; }
.od-auth__note{ font-size:13px; color:var(--muted); background:var(--cream); border:1px solid var(--line-soft); border-radius:var(--r-sm); padding:10px 12px; margin:0 0 20px; line-height:1.5; }

.od-auth__field{ margin-bottom:16px; }
.od-auth__field label{ display:block; font-size:13px; font-weight:var(--fw-semibold); color:var(--ink); margin-bottom:6px; }
.od-auth__label-row{ display:flex; justify-content:space-between; align-items:baseline; gap:8px; }
.od-auth__field input{
  width:100%; height:44px; padding:0 14px; font:inherit; font-size:15px; color:var(--ink);
  background:#fff; border:1px solid var(--line); border-radius:var(--r-sm);
  transition:border-color .15s, box-shadow .15s;
}
.od-auth__field input:focus{ outline:0; border-color:var(--turq); box-shadow:0 0 0 3px var(--turq-light); }
.od-auth__rule{ font-size:12px; color:var(--muted); margin:6px 0 0; }

.od-auth__pw{ position:relative; }
.od-auth__pw input{ padding-right:46px; }
.od-auth__eye{
  position:absolute; top:0; right:0; width:44px; height:44px; border:0; background:none;
  color:var(--muted-2); cursor:pointer; font-size:16px;
}
.od-auth__eye:hover{ color:var(--ink); }
.od-auth__eye:focus-visible{ outline:2px solid var(--turq); outline-offset:-4px; border-radius:var(--r-sm); }
.od-auth__caps{ display:none; font-size:12px; color:var(--warn-tx); margin-top:6px; }

.od-auth__link{ font-size:13px; color:var(--turq-dark); text-decoration:none; font-weight:var(--fw-medium); }
.od-auth__link:hover,.od-auth__link:focus{ text-decoration:underline; color:var(--turq-dark); }
.od-auth__back{ display:inline-flex; align-items:center; gap:6px; font-size:13px; color:var(--muted); text-decoration:none; margin-bottom:18px; }
.od-auth__back:hover{ color:var(--ink); }

.od-auth__btn{
  width:100%; height:46px; margin-top:6px; border:0; border-radius:var(--r-sm); cursor:pointer;
  font:inherit; font-size:15px; font-weight:var(--fw-semibold); color:#fff; background:var(--navy);
  display:inline-flex; align-items:center; justify-content:center; gap:8px; text-decoration:none;
  transition:background .15s;
}
.od-auth__btn:hover{ background:var(--navy-700); color:#fff; }
.od-auth__btn:focus-visible{ outline:2px solid var(--turq); outline-offset:2px; }
.od-auth__btn:disabled{ opacity:.7; cursor:wait; }
.od-auth__btn--ghost{ background:#fff; color:var(--ink); border:1px solid var(--line); }
.od-auth__btn--ghost:hover{ background:var(--cream); color:var(--ink); }

.od-auth__msg{ display:none; font-size:13px; line-height:1.45; border-radius:var(--r-sm); padding:10px 12px; margin-bottom:16px; border:1px solid; }
.od-auth__msg.is-error{ display:block; background:var(--danger-bg); color:var(--danger-tx); border-color:var(--danger-bd); }
.od-auth__msg.is-warn{ display:block; background:var(--warn-bg); color:var(--warn-tx); border-color:var(--warn-bd); }
.od-auth__msg.is-ok{ display:block; background:var(--ok-bg); color:var(--ok-tx); border-color:var(--ok-bd); }

.od-auth__icon-ok{
  width:52px; height:52px; border-radius:50%; background:var(--turq-light); color:var(--turq-dark);
  display:flex; align-items:center; justify-content:center; font-size:22px; margin-bottom:16px;
}

@media (max-width: 860px){
  .od-auth__brand{ display:none; }
  .od-auth__mobile-logo{ display:block; }
}
@media (max-width: 420px){
  .od-auth__card{ padding:28px 20px; border-radius:14px; }
}
