/* Estilos exclusivos da página index.php */

:root{
  --primary:#1769d2;
  --primary-2:#0ea5e9;
  --navy:#071d38;
  --navy-2:#0b315d;
  --bg:#070b12;
  --surface:#0d1520;
  --text:#f4f8ff;
  --muted:#a8bad0;
  --border:#248bff;
  --danger:#ff6473;
  --shadow:0 30px 90px rgba(0,0,0,.48);
}
*{box-sizing:border-box}
html,body{min-height:100%;margin:0}
body{
  padding:clamp(14px,3vw,34px);
  display:grid;
  place-items:center;
  background:
    radial-gradient(circle at 0 0,rgba(23,105,210,.14),transparent 30%),
    radial-gradient(circle at 100% 100%,rgba(14,165,233,.11),transparent 30%),
    var(--bg);
  color:var(--text);
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
}
.login-shell{
  width:min(1120px,100%);
  min-height:min(680px,calc(100vh - 68px));
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(390px,.92fr);
  background:var(--surface);
  border:1px solid rgba(36,139,255,.65);
  border-radius:30px;
  overflow:hidden;
  box-shadow:var(--shadow);
}
.login-visual{
  position:relative;
  min-height:100%;
  padding:clamp(30px,5vw,62px);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  overflow:hidden;
  color:#fff;
  background:
    linear-gradient(145deg,rgba(5,24,47,.92),rgba(9,54,100,.91)),
    url("../../../api/img/fundo_login.jpg") center/cover no-repeat;
}
.login-visual::before,.login-visual::after{content:"";position:absolute;border-radius:50%;pointer-events:none}
.login-visual::before{width:360px;height:360px;right:-140px;top:-120px;background:radial-gradient(circle,rgba(71,164,255,.36),transparent 68%)}
.login-visual::after{width:300px;height:300px;left:-130px;bottom:-130px;background:radial-gradient(circle,rgba(14,165,233,.25),transparent 68%)}
.visual-top,.visual-content,.visual-footer{position:relative;z-index:1}
.brand{display:flex;align-items:center;gap:14px}
.brand-logo{width:58px;height:58px;padding:7px;border-radius:18px;display:grid;place-items:center;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);box-shadow:0 12px 30px rgba(0,0,0,.18)}
.brand-logo img{width:100%;height:100%;object-fit:contain;border-radius:11px}
.brand-copy{display:flex;flex-direction:column}
.brand-copy strong{font-size:17px;font-weight:800;letter-spacing:-.02em}
.brand-copy small{margin-top:4px;color:#9fc5eb;font-size:10px;text-transform:uppercase;letter-spacing:.14em;font-weight:700}
.visual-content{max-width:520px;padding:45px 0}
.visual-kicker{display:inline-flex;align-items:center;gap:8px;padding:7px 11px;border-radius:999px;background:rgba(73,158,243,.15);border:1px solid rgba(116,184,250,.23);color:#bedeff;font-size:11px;font-weight:700}
.visual-kicker span{width:8px;height:8px;border-radius:50%;background:#52d69e;box-shadow:0 0 0 5px rgba(82,214,158,.12)}
.visual-content h1{margin:20px 0 14px;font-size:clamp(32px,4vw,52px);line-height:1.05;letter-spacing:-.045em;font-weight:800}
.visual-content p{margin:0;color:#bfd4e9;line-height:1.75;font-size:14px;max-width:460px}
.feature-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:30px}
.feature{display:flex;align-items:center;gap:10px;padding:12px 13px;border-radius:14px;background:rgba(255,255,255,.065);border:1px solid rgba(255,255,255,.09);color:#e7f3ff;font-size:11px;font-weight:600}
.feature i{font-size:18px;color:#65b5ff}
.visual-footer{display:flex;align-items:center;gap:8px;color:#86a9cc;font-size:10px;font-weight:600}
.visual-footer i{color:#55d99f;font-size:16px}
.login-panel{padding:clamp(28px,5vw,62px);display:flex;align-items:center;justify-content:center;background:var(--surface);border-left:1px solid rgba(36,139,255,.35)}
.login-content{width:100%;max-width:390px}
.mobile-brand{display:none;align-items:center;gap:11px;margin-bottom:28px}
.mobile-brand img{width:45px;height:45px;object-fit:contain;padding:5px;border-radius:14px;background:#101c2a;border:1px solid rgba(36,139,255,.6)}
.mobile-brand strong{display:block;font-size:14px}.mobile-brand small{display:block;margin-top:3px;color:var(--muted);font-size:10px}
.login-heading{margin-bottom:28px}
.login-heading .eyebrow{display:inline-flex;align-items:center;gap:7px;color:var(--primary);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.13em}
.login-heading h2{margin:9px 0 8px;font-size:29px;letter-spacing:-.035em;font-weight:800}
.login-heading p{margin:0;color:var(--muted);font-size:12px;line-height:1.6}
.login-error{display:flex;align-items:flex-start;gap:10px;margin-bottom:18px;padding:12px 13px;border-radius:14px;background:#321419;border:1px solid #dc3545;color:#ffb2ba;font-size:12px;font-weight:600;line-height:1.45}
.login-error i{font-size:19px;flex:none}
.field{margin-bottom:15px}
.field label{display:block;margin-bottom:7px;color:#eaf3ff;font-size:11px;font-weight:700}
.input-wrap{position:relative}
.input-wrap>i{position:absolute;left:14px;top:50%;transform:translateY(-50%);font-size:19px;color:#73b5ff;pointer-events:none}
.input-wrap input{width:100%;height:49px;padding:0 46px 0 43px;border:1px solid rgba(36,139,255,.65);border-radius:14px;background:#09111b;color:var(--text);outline:0;font-size:13px;font-weight:500;transition:.18s ease}
.input-wrap input::placeholder{color:#9caec0}
.input-wrap input:focus{border-color:#73afea;box-shadow:0 0 0 4px rgba(23,105,210,.11)}
.password-toggle{position:absolute;right:9px;top:50%;transform:translateY(-50%);width:34px;height:34px;border:0;border-radius:10px;background:transparent;color:#71869c;display:grid;place-items:center;font-size:18px;cursor:pointer}
.password-toggle:hover{background:#14253a;color:#75baff}
.login-button{width:100%;height:50px;margin-top:7px;border:0;border-radius:14px;display:flex;align-items:center;justify-content:center;gap:9px;background:linear-gradient(135deg,var(--primary),#2587ec);color:#fff;font-size:13px;font-weight:800;cursor:pointer;box-shadow:0 13px 28px rgba(23,105,210,.24);transition:.18s ease}
.login-button:hover{transform:translateY(-1px);box-shadow:0 17px 34px rgba(23,105,210,.3)}
.login-button:active{transform:none}
.login-note{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:20px;color:#8698aa;font-size:10px;font-weight:600}
.login-note i{font-size:15px;color:#198b5d}
.login-copyright{margin-top:34px;text-align:center;color:#9aabba;font-size:10px}
@media(max-width:900px){
  body{padding:15px}
  .login-shell{grid-template-columns:1fr;min-height:0;max-width:520px;border-radius:24px}
  .login-visual{display:none}
  .login-panel{padding:32px 24px;border-left:0;border-top:1px solid rgba(36,139,255,.35)}
  .mobile-brand{display:flex}
}
@media(max-width:420px){
  body{padding:0;background:var(--surface)}
  .login-shell{min-height:100vh;border:0;border-radius:0;box-shadow:none}
  .login-panel{padding:28px 20px}
  .login-heading h2{font-size:26px}
}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
