/* Ulmo login: "Constellation" form (mockup 3) over the "Ripple" water surface (mockup 6), 2026-10-15 */
:root { --blue:#3dabe1; --ink:#eaf4ff; --muted:#8aa3bd; }
* { box-sizing:border-box; margin:0; }
html, body { height:100%; }
body {
  font-family:'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif; color:var(--ink); overflow:hidden;
  background:radial-gradient(120% 90% at 50% 110%, #0b2c55 0%, #061428 45%, #02060d 100%) fixed #02060d;
}
#ulmo-sky { position:fixed; inset:0; width:100%; height:100%; display:block; }
main { position:relative; z-index:1; min-height:100%; display:grid; place-items:center; padding:24px 16px; overflow-y:auto; }
.ulmo-box { width:min(360px, 100%); text-align:center; }
.ulmo-logo { width:240px; max-width:80%; margin-bottom:56px; opacity:0; animation:ulmo-in 1.2s .2s ease forwards; filter:drop-shadow(0 4px 24px rgba(0,0,0,.6)); }
.ulmo-stack { opacity:0; animation:ulmo-in 1s .6s ease forwards; }
@keyframes ulmo-in { from { opacity:0; transform:translateY(16px); filter:blur(6px); } to { opacity:1; transform:none; filter:none; } }

.ulmo-field { position:relative; margin-bottom:14px; }
.ulmo-field input {
  width:100%; height:56px; padding:0 52px 0 22px; border-radius:999px; font:inherit; font-size:16px; color:var(--ink);
  background:rgba(4,14,30,.45); border:1px solid rgba(160,200,235,.25); outline:none;
  -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); transition:border-color .25s, box-shadow .25s;
}
.ulmo-field input::placeholder { color:var(--muted); }
.ulmo-field input:focus { border-color:var(--blue); box-shadow:0 0 0 1px var(--blue), 0 0 30px rgba(61,171,225,.35); }
/* keep Chrome's autofill from painting the field white */
.ulmo-field input:-webkit-autofill { -webkit-text-fill-color:var(--ink); -webkit-box-shadow:0 0 0 40px #071a33 inset; caret-color:var(--ink); }
.ulmo-eye { position:absolute; right:10px; top:10px; width:36px; height:36px; border-radius:50%; border:0; background:none; color:var(--muted); cursor:pointer; display:grid; place-items:center; }
.ulmo-eye:hover, .ulmo-eye.on { color:var(--ink); }

.ulmo-go {
  width:100%; height:56px; margin-top:10px; border-radius:999px; border:0; cursor:pointer; font:inherit; font-weight:600; font-size:15px;
  letter-spacing:.06em; text-transform:uppercase; color:#02101f; background:var(--blue);
  animation:ulmo-pulse 3s infinite; transition:transform .15s, filter .2s;
}
.ulmo-go:hover { filter:brightness(1.12); }
.ulmo-go:active { transform:scale(.98); }
@keyframes ulmo-pulse { 0% { box-shadow:0 0 0 0 rgba(61,171,225,.5); } 70% { box-shadow:0 0 0 18px rgba(61,171,225,0); } 100% { box-shadow:0 0 0 0 rgba(61,171,225,0); } }

.ulmo-link { display:inline-block; margin-top:22px; font-size:13px; color:var(--muted); text-decoration:none; text-shadow:0 1px 8px #000; }
.ulmo-link:hover { color:var(--ink); }

.ulmo-alert { margin:4px 0 12px; padding:12px 18px; border-radius:18px; font-size:13.5px; line-height:1.45; text-align:left; }
.ulmo-error { background:rgba(255,77,109,.12); border:1px solid rgba(255,77,109,.45); color:#ffc2cd; }
.ulmo-ok { background:rgba(61,171,225,.12); border:1px solid rgba(61,171,225,.45); color:#cdeeff; }

@media (prefers-reduced-motion: reduce) {
  .ulmo-logo, .ulmo-stack { animation:none; opacity:1; }
  .ulmo-go { animation:none; }
}

/* 19.0.1.3.0: 2FA code, sign-up, logged-in and (ulmo_totp_required) app set-up pages */
.ulmo-text { margin:0 0 18px; font-size:14px; line-height:1.55; color:#c9dbee; text-shadow:0 1px 8px #000; }
.ulmo-text b { color:var(--ink); font-weight:600; }
.ulmo-email { display:block; margin-top:2px; color:var(--ink); overflow-wrap:anywhere; }
.ulmo-title { margin:0 0 10px; font-size:20px; font-weight:600; color:var(--ink); }
.ulmo-field input.ulmo-code { padding:0 22px; text-align:center; font-size:22px; letter-spacing:.35em; }
.ulmo-field input.ulmo-code::placeholder { font-size:15px; letter-spacing:normal; font-weight:400; }
.ulmo-field input[readonly] { color:var(--muted); }
.ulmo-check { display:flex; align-items:center; justify-content:center; gap:10px; margin:6px 0 4px; font-size:13px; color:var(--muted); cursor:pointer; }
.ulmo-check input { width:18px; height:18px; accent-color:var(--blue); cursor:pointer; }
.ulmo-inline { display:block; }
.ulmo-linkbtn { background:none; border:0; padding:0; font:inherit; font-size:13px; cursor:pointer; }
.ulmo-inline + .ulmo-inline .ulmo-linkbtn { margin-top:12px; }

/* long pages (app set-up): the page scrolls, the water stays behind it */
body.ulmo-long { overflow:auto; }
body.ulmo-long main { min-height:100vh; align-content:start; padding-top:32px; padding-bottom:40px; }
body.ulmo-long .ulmo-box { width:min(400px, 100%); }
body.ulmo-long .ulmo-logo { width:180px; margin-bottom:28px; }
.ulmo-steps { text-align:left; margin:0 0 14px; padding-left:22px; font-size:14px; line-height:1.55; color:#c9dbee; text-shadow:0 1px 8px #000; }
.ulmo-steps li { margin:6px 0; }
.ulmo-steps b { color:var(--ink); font-weight:600; }
.ulmo-qr { display:inline-block; background:#fff; padding:12px; border-radius:18px; margin:4px 0 14px; box-shadow:0 8px 40px rgba(0,0,0,.5); }
.ulmo-qr img { display:block; width:184px; height:184px; image-rendering:pixelated; }
.ulmo-key { font-family:ui-monospace, Consolas, monospace; font-size:15px; word-spacing:.3em; line-height:1.6; color:var(--ink);
  background:rgba(4,14,30,.45); border:1px solid rgba(160,200,235,.25); border-radius:18px; padding:10px 16px; margin:0 0 18px;
  -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); }
.ulmo-small { font-size:12.5px; color:var(--muted); line-height:1.5; margin:16px 0 0; text-shadow:0 1px 8px #000; }
.ulmo-phone { display:none; }
@media (max-width: 700px), (pointer: coarse) { .ulmo-phone { display:block; } }
.ulmo-ghost { display:block; width:100%; height:48px; line-height:46px; border-radius:999px; border:1px solid var(--blue); color:var(--ink);
  text-decoration:none; font-size:14px; margin:0 0 16px; background:rgba(61,171,225,.12); }
/* Biometrics (19.0.1.4.0) */
.ulmo-or { display:flex; align-items:center; gap:12px; margin:18px 0 14px; color:var(--muted); font-size:12px; text-transform:uppercase; letter-spacing:.12em; }
.ulmo-or::before, .ulmo-or::after { content:""; flex:1; height:1px; background:rgba(255,255,255,.14); }
.ulmo-bio { display:flex; align-items:center; justify-content:center; gap:10px; width:100%; min-height:48px; border:1px solid rgba(61,171,225,.55); border-radius:999px; background:rgba(7,26,51,.55); color:var(--ink); font:inherit; font-size:15px; cursor:pointer; -webkit-tap-highlight-color:transparent; }
.ulmo-bio:hover { border-color:var(--blue); box-shadow:0 0 24px rgba(61,171,225,.25); }
.ulmo-bio:active { transform:scale(.98); }
.ulmo-bio:disabled { opacity:.6; cursor:progress; }
.ulmo-bio svg { color:var(--blue); }

/* Phones (2026-11-15 mobile QA): "Forgot password?" and other text links get a thumb-sized target. */
@media (pointer: coarse) {
  .ulmo-link { padding:12px 10px; margin-top:10px; }
}
