/* Login do site (ataai.app/entrar), v1.16.0: céu azul da Ata com nuvens e as
   "ondas de som" da reunião atrás de um cartão de vidro fosco. Carregado depois
   de app.css; os ids e as classes ap- continuam sendo os do js/entrar.js. */

.en-page {
  --sky-1: #bcd3ff; --sky-2: #dde8ff; --sky-3: #f3f7ff;
  --glass: rgba(255, 255, 255, .74); --glass-line: rgba(255, 255, 255, .95);
  --field: #eef2fa; --field-line: #dfe5f1; --field-ico: #7a8397;
  --ink: #12151f; --ink-soft: #3a3f4b; --muted: #5f6678; --blue: #2f6df0; --blue-weak: #e3ecff;
  min-height: 100vh; display: flex; flex-direction: column; color: var(--ink);
  background: linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 42%, var(--sky-3) 100%);
  position: relative; overflow-x: hidden;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- céu ---------- */
.en-sky { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.en-wave { position: absolute; left: 50%; top: 58%; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .7); transform: translate(-50%, -50%); }
.en-wave.w1 { width: 720px; height: 720px; }
.en-wave.w2 { width: 1100px; height: 1100px; border-color: rgba(255, 255, 255, .5); }
.en-wave.w3 { width: 1500px; height: 1500px; border-color: rgba(255, 255, 255, .32); }
.en-cloud { position: absolute; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0)); filter: blur(6px); }
.en-cloud.c1 { width: 70vw; height: 34vh; left: -18vw; bottom: -10vh; }
.en-cloud.c2 { width: 60vw; height: 30vh; right: -16vw; bottom: -6vh; }
.en-cloud.c3 { width: 42vw; height: 22vh; left: 22vw; bottom: -12vh; }
.en-cloud.c4 { width: 34vw; height: 18vh; right: 8vw; top: 8vh; opacity: .55; }

/* ---------- topo ---------- */
.en-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 32px; }
.en-brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 19px; letter-spacing: -.01em; text-decoration: none; color: var(--ink); }
.en-brand img { width: 30px; height: 30px; border-radius: 9px; box-shadow: 0 6px 14px -6px rgba(31, 84, 201, .55); }
.en-top-link { font-size: 13.5px; font-weight: 600; color: var(--ink-soft); text-decoration: none; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .8); }
.en-top-link:hover { background: rgba(255, 255, 255, .85); }

/* ---------- cartão ---------- */
.en-main { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px 20px 28px; }
.en-card {
  width: 100%; max-width: 404px; padding: 34px 32px 26px; border-radius: 26px; text-align: center;
  background: linear-gradient(180deg, rgba(227, 236, 255, .9) 0%, var(--glass) 34%);
  border: 1px solid var(--glass-line);
  box-shadow: 0 40px 80px -40px rgba(31, 84, 201, .45), 0 2px 6px rgba(18, 21, 31, .05), inset 0 1px 0 rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
}
.en-ico { width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 16px; display: grid; place-items: center; color: var(--ink);
  background: #fff; border: 1px solid #edf0f7; box-shadow: 0 10px 22px -12px rgba(31, 84, 201, .5), inset 0 -2px 0 rgba(18, 21, 31, .04); }
.en-ico svg { width: 24px; height: 24px; display: none; }
#ap-box:not([data-modo]) .i-entrar, #ap-box[data-modo="entrar"] .i-entrar, #ap-box[data-modo="criar"] .i-criar,
#ap-box[data-modo="esqueci"] .i-esqueci, #ap-box[data-modo="nova"] .i-nova { display: block; }
.en-card h1 { font-family: "Clash Display", "General Sans", sans-serif; font-size: 26px; font-weight: 600; letter-spacing: -.02em; margin: 0 0 6px; }
.en-sub { color: var(--muted); font-size: 14.5px; line-height: 1.5; margin: 0 auto 24px; max-width: 330px; text-wrap: balance; }

#ap-form { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.en-field { position: relative; display: flex; align-items: center; }
.en-field > svg { position: absolute; left: 14px; width: 18px; height: 18px; color: var(--field-ico); pointer-events: none; }
.en-field input { width: 100%; height: 48px; padding: 0 14px 0 42px; border-radius: 13px; border: 1px solid var(--field-line); background: var(--field);
  font-size: 15px; color: var(--ink); outline: none; transition: border-color .15s, background .15s, box-shadow .15s; }
.en-field input::placeholder { color: #7f879a; }
.en-field input:focus { background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-weak); }
.en-field input:focus + .en-eye, .en-field:focus-within > svg { color: var(--blue); }
#ap-f-senha .en-field input { padding-right: 48px; }
.en-eye { position: absolute; right: 6px; width: 36px; height: 36px; border: 0; border-radius: 10px; background: none; color: var(--field-ico); display: grid; place-items: center; cursor: pointer; }
.en-eye:hover { background: rgba(18, 21, 31, .05); color: var(--ink); }
.en-eye svg { width: 18px; height: 18px; }
.en-eye .i-ocultar, .en-eye.on .i-ver { display: none; }
.en-eye.on .i-ocultar { display: block; }
.en-row { display: flex; justify-content: flex-end; margin: 6px 2px 2px; }
.en-forgot { font-size: 13px; color: var(--ink-soft); font-weight: 600; }
.en-forgot:hover { color: var(--blue); }
.en-card .ap-hint { margin: 0 2px; font-size: 12.5px; color: var(--muted); }
.en-card .ap-msg { margin: 2px 0; text-align: left; }

.en-primary { width: 100%; min-height: 48px; margin-top: 6px; border-radius: 13px; font-size: 15px; font-weight: 600; color: #fff; border: 1px solid #0b0d14;
  background: linear-gradient(180deg, #2b2f3b 0%, #12151f 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 10px 20px -12px rgba(18, 21, 31, .7); }
.en-primary:hover { background: linear-gradient(180deg, #353a48 0%, #171b27 100%); border-color: #0b0d14; }
.en-primary.loading::after { border-color: #fff; border-right-color: transparent; }

.en-or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12.5px; margin: 20px 0 14px; }
.en-or::before, .en-or::after { content: ""; flex: 1; height: 0; border-top: 1.5px dashed #cdd6e8; background: none; }
.en-google { width: 100%; min-height: 46px; border-radius: 13px; background: #fff; border: 1px solid #e3e8f2; font-weight: 600; font-size: 14.5px; color: var(--ink);
  box-shadow: 0 1px 2px rgba(18, 21, 31, .05); }
.en-google:hover { border-color: #b9c6e2; box-shadow: 0 6px 14px -10px rgba(31, 84, 201, .5); }
.en-switch { margin: 20px 0 0; color: var(--muted); font-size: 14px; }
.en-switch .ap-link { color: var(--blue); }

.en-trust { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin: 22px 0 0; padding: 0; font-size: 13px; color: var(--ink-soft); }
.en-trust li { display: inline-flex; align-items: center; gap: 7px; }
.en-trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px rgba(47, 109, 240, .15); }

.en-foot { position: relative; z-index: 1; text-align: center; padding: 18px 20px 24px; font-size: 12.5px; color: var(--muted); }
.en-foot a { color: var(--ink-soft); }

/* ---------- celular ---------- */
@media (max-width: 520px) {
  .en-top { padding: 16px 16px; }
  .en-top-link { font-size: 12.5px; padding: 7px 12px; }
  .en-main { padding: 4px 16px 20px; justify-content: flex-start; }
  .en-card { padding: 28px 20px 22px; border-radius: 22px; }
  .en-card h1 { font-size: 23px; }
  .en-wave.w1 { width: 520px; height: 520px; }
}
@media (prefers-reduced-motion: no-preference) {
  .en-card { animation: en-sobe .45s cubic-bezier(.2, .8, .2, 1) both; }
  @keyframes en-sobe { from { opacity: 0; transform: translateY(10px) scale(.99); } to { opacity: 1; transform: none; } }
}
