/* Easy Smile — referência de login. Estilos isolados; não importar globalmente no app. */
:root { color-scheme:dark; font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; background:#081310; color:#eef0eb; }
* { box-sizing:border-box; }
body { margin:0; }
button,input { font:inherit; }
.login {
  min-height:100vh; min-height:100svh; position:relative; isolation:isolate;
  display:grid; place-items:center; overflow:hidden;
  padding: max(36px,env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) max(36px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left));
  background:
    radial-gradient(ellipse at 54% -12%,rgba(95,136,117,.38),transparent 55%),
    radial-gradient(ellipse at 5% 102%,rgba(47,83,67,.35),transparent 48%),
    radial-gradient(ellipse at 98% 55%,rgba(25,54,46,.24),transparent 45%),
    linear-gradient(130deg,#0b1915 0%,#07100e 49%,#020605 100%);
}
.login-content { width:min(100%,460px); padding-bottom:18px; }
.brand { margin:0 0 39px; line-height:0; }
.brand img { display:block; width:108%; max-width:none; height:auto; margin-left:-4%; }
#loginForm { display:flex; flex-direction:column; gap:18px; }
.field {
  height:68px; display:flex; align-items:center; gap:23px; padding:0 23px;
  border:1px solid #d6c9a5; border-radius:12px;
  background:rgba(2,10,8,.32); box-shadow:inset 0 1px 0 rgba(255,255,255,.02);
  transition:border-color .18s,box-shadow .18s;
}
.field svg { flex:none; width:25px; height:25px; fill:none; stroke:#edd780; stroke-width:1.3; stroke-linecap:round; stroke-linejoin:round; }
.field input { width:100%; min-width:0; height:100%; border:0; outline:0; color:#f1f0eb; background:transparent; font-size:19px; font-weight:400; border-radius:inherit; }
.field input::placeholder { color:#eceee8; opacity:1; }
.field:focus-within { border-color:#ffe5a1; box-shadow:0 0 0 3px rgba(209,183,127,.16); }
.field input:-webkit-autofill { -webkit-text-fill-color:#eef0eb; box-shadow:0 0 0 100px #0e1b16 inset; caret-color:#eef0eb; }
.enter {
  margin-top:20px; height:72px; border-radius:13px; border:1px solid #ffe6a2;
  color:#15160f; background:linear-gradient(167deg,#ffe5a1 0%,#f0cc82 39%,#d1a65c 78%,#bb8c47 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 6px 24px rgba(0,0,0,.15);
  font-size:26px; font-weight:450; cursor:pointer; transition:filter .18s,transform .18s;
}
.enter:hover { filter:brightness(1.07); }
.enter:active { transform:translateY(1px); }
.forgot { align-self:center; min-height:44px; margin-top:18px; padding:8px 0; background:none; border:0; color:#f3db83; font-size:17px; text-decoration:underline; text-underline-offset:5px; text-decoration-thickness:1px; cursor:pointer; }
button:focus-visible { outline:2px solid #ffe5a1; outline-offset:5px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
dialog { max-width:420px; width:calc(100% - 40px); background:#1b201e; border:1px solid #d1b77f; border-radius:16px; padding:28px; color:#eef0eb; box-shadow:0 20px 80px #0008; }
dialog::backdrop { background:#0007; }
dialog h2 { margin:0 0 12px; font-size:20px; }
dialog p { line-height:1.6; color:#bfc8c1; }
.dialog-close { width:100%; min-height:44px; border:1px solid #d1b77f; border-radius:10px; color:#d1b77f; background:#383426; cursor:pointer; }
@media (min-width:1100px) and (min-height:750px) { .login-content { width:480px; } }
@media (max-width:480px) { .login-content { width:100%; } .brand { margin-bottom:28px; } .field { height:60px; gap:18px; padding:0 20px; } .field input { font-size:17px; } .enter { height:62px; font-size:23px; margin-top:14px; } .forgot { font-size:16px; margin-top:12px; } #loginForm { gap:15px; } }
@media (max-height:600px) { .login { padding-top:24px; padding-bottom:24px; } .login-content { width:min(100%,390px); padding-bottom:0; } .brand { margin-bottom:16px; } .brand img { width:76%; margin-inline:auto; } .field { height:52px; } #loginForm { gap:12px; } .enter { height:54px; margin-top:8px; font-size:23px; } .forgot { margin-top:4px; } }
@media (prefers-reduced-motion:reduce) { * { transition:none !important; } }
.studio-label{text-align:center;letter-spacing:.18em;color:#d1b77f;margin:-20px 0 32px;font-size:16px}.intro{text-align:center;line-height:1.6;margin:0 0 22px}.muted{color:#adbcb2}.request{text-align:center;color:#82958a;font-size:12px;margin-top:28px}.request code{font-size:11px;overflow-wrap:anywhere}.wide{width:100%}.show{border:0;background:none;color:#f3db83;font-size:13px;padding:10px 0;cursor:pointer}.error{color:#ffc7b5;margin:0;text-align:center;font-size:14px}.error:empty{display:none}[hidden]{display:none!important}.enter:disabled{opacity:.6;cursor:wait}
