/* public/assets/auth_float.css - 2026-12-05 (owner): floating-card look for the sign-in pages (login, register,
   set-password, forgot/reset password, MFA). Loaded AFTER auth.css and ry_motion.css by auth_doc_open() in
   includes/auth_ui.php. Approved from the preview. Earlier look: _snapshots/login_float_20261205/.
   Colours are the portal's own: blue #0B6699/#075586/#064669, button teal #1FC7B7 -> #00A79D -> #00968B. */
/* ===== LOGIN: floating card (preview, 2026-12-05) =====
   The white form is its own rounded card that floats on the blue panel, instead of the right half of a split box.
   Appended to auth.css it would also apply to register / set-password (they share .shell + .formcard). */
.shell{
  padding:16px;gap:0;border-radius:32px;border:0;overflow:visible;
  background:linear-gradient(150deg,#0B6699 0%,#075586 55%,#064669 100%);
  box-shadow:0 30px 70px -20px rgba(7,85,134,.55),0 10px 24px -12px rgba(16,26,46,.25);
  position:relative;
}
.shell::before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:radial-gradient(520px 320px at 8% 0%,rgba(25,195,156,.22),transparent 65%),radial-gradient(420px 300px at 0% 100%,rgba(63,162,214,.20),transparent 65%)}
.brand{background:transparent;padding:44px 36px 44px 34px;position:relative}
.formcard{
  position:relative;border-radius:24px;padding:48px 42px;
  box-shadow:0 26px 50px -18px rgba(2,28,48,.6),0 6px 14px -6px rgba(2,28,48,.25),inset 0 0 0 1px rgba(255,255,255,.7);
  animation:cardFloat 5s ease-in-out infinite;
}
@keyframes cardFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@media (max-width:820px){
  .shell{padding:12px;border-radius:26px}
  .brand{padding:30px 22px 26px}
  .formcard{border-radius:20px;padding:32px 24px 36px}
}
@media (prefers-reduced-motion:reduce){.formcard{animation:none}}

/* "same standard." uses exactly the Sign in button gradient (top to bottom: #1FC7B7 -> #00A79D -> #00968B) */
.brand h1 span{color:#00A79D;background:linear-gradient(180deg,#1FC7B7 0%,#00A79D 55%,#00968B 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}

/* Consistent / Referenced / Reviewable: no fill colour - a clear pill with a light outline and the raised 3D edge
   (top highlight, darker bottom edge, soft shadow) so they still look like the portal's buttons */
.chip{
  color:#fff;font-weight:600;letter-spacing:.02em;padding:8px 18px;border-radius:999px;
  background:transparent;border:1px solid rgba(255,255,255,.45);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.35),inset 0 -2px 0 rgba(0,0,0,.18),0 6px 14px -6px rgba(2,28,48,.55);
  transition:transform .25s cubic-bezier(.34,1.56,.64,1),box-shadow .25s,border-color .2s;cursor:default;
}
.chip:hover{transform:translateY(-2px);border-color:rgba(255,255,255,.7);box-shadow:inset 0 1px 0 rgba(255,255,255,.45),inset 0 -2px 0 rgba(0,0,0,.18),0 10px 18px -8px rgba(2,28,48,.6)}

/* bottom-left foot: Secure - Australian-hosted, then Terms of use / Privacy / Support links */
.brand{display:flex;flex-direction:column;justify-content:space-between;gap:28px}
.bfoot{display:flex;align-items:center;flex-wrap:wrap;gap:10px 22px;font-size:.8rem;color:rgba(255,255,255,.72)}
.bsec{display:inline-flex;align-items:center;gap:7px}
.bsec svg{width:15px;height:15px;fill:none;stroke:#1FC7B7;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.blinks{display:flex;gap:18px}
.blinks a{color:rgba(255,255,255,.82);text-decoration:none;border-bottom:1px solid transparent;transition:color .2s,border-color .2s}
.blinks a:hover,.blinks a:focus-visible{color:#fff;border-bottom-color:#1FC7B7;outline:none}

/* Terms of Use / Privacy Notice agreement - must be ticked before Create Account works.
   2026-12-05: scoped to .agree-su (the signup checkbox). Unscoped, it hid the native checkbox in the payment page's
   Terms of Use popup (also class "agree"), so users could not tick it and Confirm stayed disabled. */
.agree-su{display:flex;align-items:flex-start;gap:10px;margin:6px 0 16px;cursor:pointer;font-size:.88rem;line-height:1.45;color:#3b4a63;position:relative}
.agree-su input{position:absolute;opacity:0;width:20px;height:20px;margin:0;cursor:pointer}
.agree-box{flex:none;width:20px;height:20px;border-radius:6px;border:1.5px solid #9fb3c8;background:#fff;display:grid;place-items:center;margin-top:1px;
  transition:background-color .2s,border-color .2s,box-shadow .2s;box-shadow:inset 0 -1px 0 rgba(0,0,0,.06)}
.agree-box svg{width:14px;height:14px;fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;opacity:0;transform:scale(.6);transition:opacity .15s,transform .2s cubic-bezier(.34,1.56,.64,1)}
.agree-su:hover .agree-box{border-color:#00A79D}
.agree-su input:checked + .agree-box{background:linear-gradient(180deg,#1FC7B7 0%,#00A79D 60%,#00968B 100%);border-color:#00968B;box-shadow:0 3px 8px -3px rgba(0,150,139,.55)}
.agree-su input:checked + .agree-box svg{opacity:1;transform:scale(1)}
.agree-su input:focus-visible + .agree-box{outline:2px solid #0E76AD;outline-offset:2px}
.agree-txt a{color:#00968B;font-weight:600;text-decoration:underline;text-underline-offset:2px}
.agree-txt a:hover{color:#00857A}
.agree-err{margin:-8px 0 12px;font-size:.8rem;color:#b91c1c}
.btn:disabled{opacity:.55;cursor:not-allowed;filter:saturate(.7)}
.btn.is-off{opacity:.55;filter:saturate(.7)}
.agree-su.shake .agree-box{animation:agShake .4s;border-color:#b91c1c}
@keyframes agShake{0%,100%{transform:translateX(0)}25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}

/* 2026-12-05 (owner): "Request a new link" (expired reset link) reads as written - "a" and the words after it stay small.
   Portal pages get the same rule from /assets/ry_dialog.js; the sign-in pages do not load that script. */
html body a.btn[href="/forgot-password"]{text-transform:none!important}
