/* ==========================================================================
   RIVERHEADS — Business Viability Intelligence · Login
   --------------------------------------------------------------------------
   Palette matches the Riverheads home page and the RBVI assessment page:
   deep navy canvas, Riverheads teal, muted blue-grey, soft white.

   Everything is scoped under `.rh-login`, so this block cannot collide with
   your WordPress theme, Elementor, or any plugin — in either direction.

   CONTENTS
     01. Design tokens        — edit colours, radii and shadows here
     02. Base & reset
     03. Split-screen shell
     04. Brand panel (left)   — logo slot, headings, decorative layers
     05. Login panel (right)  — card shell
     06. Form fields          — inputs, icons, password toggle
     07. Options row          — Remember Me / Forgot Password
     08. Submit button
     09. Sign-up prompt
     10. Responsive
     11. Reduced motion & print
   ========================================================================== */


/* ==========================================================================
   01. DESIGN TOKENS
   ========================================================================== */
.rh-login{
  /* --- Riverheads brand --------------------------------------------------- */
  --teal:        #2B8AA5;   /* primary brand teal                            */
  --teal-light:  #56B5C8;   /* secondary teal                                */
  --teal-glow:   #7BDCEF;   /* bright accent, on dark                        */
  --teal-deep:   #1B6B82;   /* pressed / deep                                */
  --teal-ink:    #14505F;   /* teal text on light                            */

  /* --- Deep navy / charcoal ---------------------------------------------- */
  --navy-0:      #060C17;
  --navy-1:      #0A1120;
  --navy-2:      #0F172A;
  --navy-3:      #16273F;
  --charcoal:    #1F2937;

  /* --- Muted blue-grey ---------------------------------------------------- */
  --slate:       #475569;
  --slate-mid:   #64748B;
  --slate-soft:  #94A3B8;

  /* --- Soft white / light greys ------------------------------------------- */
  --white:       #FFFFFF;
  --off-white:   #F8FAFC;
  --grey-50:     #F1F5F9;
  --line:        #E2E8F0;
  --line-soft:   #EEF2F6;

  /* --- Text on dark -------------------------------------------------------- */
  --d-title:     #FFFFFF;
  --d-body:      #B7C4D4;
  --d-soft:      #8A9BB0;

  /* --- Text on light ------------------------------------------------------- */
  --l-title:     #0C1626;
  --l-body:      #475569;
  --l-soft:      #7B8AA0;

  /* --- Gradients ----------------------------------------------------------- */
  --grad-brand:  linear-gradient(135deg,#2B8AA5 0%,#56B5C8 100%);
  --grad-btn:    linear-gradient(120deg,#0F172A 0%,#1B6B82 52%,#2B8AA5 100%);
  --grad-btn-h:  linear-gradient(120deg,#16273F 0%,#2B8AA5 52%,#56B5C8 100%);
  --grad-panel:  linear-gradient(155deg,#0A1120 0%,#0F172A 34%,#16465C 74%,#1B6B82 100%);

  /* --- Radii --------------------------------------------------------------- */
  --r-field:  14px;
  --r-card:   26px;
  --r-btn:    999px;
  --r-chip:   999px;

  /* --- Shadows ------------------------------------------------------------- */
  --sh-card:  0 40px 90px -40px rgba(12,22,38,.34), 0 12px 30px -18px rgba(12,22,38,.14);
  --sh-field: 0 1px 2px rgba(12,22,38,.04);
  --sh-btn:   0 18px 36px -14px rgba(27,107,130,.60);
  --sh-btn-h: 0 26px 50px -16px rgba(43,138,165,.68);

  /* --- Focus ring ---------------------------------------------------------- */
  --ring:     0 0 0 4px rgba(86,181,200,.22);

  /* --- Motion -------------------------------------------------------------- */
  --ease:     cubic-bezier(.22,.7,.24,1);
  --dur:      .35s;
}


/* ==========================================================================
   02. BASE & RESET
   ========================================================================== */
.rh-login,
.rh-login *,
.rh-login *::before,
.rh-login *::after{ box-sizing:border-box }

.rh-login{
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',sans-serif;
  font-size:16px;
  line-height:1.55;
  color:var(--l-body);
  background:var(--off-white);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
  position:relative;
  overflow-x:clip;
  isolation:isolate;
}

.rh-login h1,
.rh-login h2{
  font-family:'Poppins','Inter',sans-serif;
  margin:0;
  font-weight:600;
  letter-spacing:-.025em;
  line-height:1.18;
}
.rh-login p{ margin:0 }
.rh-login a{ text-decoration:none; color:inherit }
.rh-login svg{ display:block; flex:none }
.rh-login button{ font:inherit; color:inherit; border:0; background:none; cursor:pointer }

/* Visually hidden, but still announced by screen readers. */
.rh-login .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;
}

/* Clear, high-contrast keyboard focus ring. */
.rh-login :focus-visible{
  outline:3px solid var(--teal-light);
  outline-offset:3px;
  border-radius:10px;
}


/* ==========================================================================
   03. SPLIT-SCREEN SHELL
   ========================================================================== */
.rh-login .shell{
  display:grid;
  grid-template-columns:1.02fr .98fr;
  min-height:100vh;
  min-height:100svh;   /* avoids the mobile browser-chrome jump */
}


/* ==========================================================================
   04. BRAND PANEL (LEFT)
   ========================================================================== */
.rh-login .brand{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  overflow:hidden;
  padding:clamp(34px,4.4vw,64px);
  background:var(--grad-panel);
  color:var(--d-title);
}

/* --- Decorative layer 1: fine engineering grid -------------------------- */
.rh-login .brand::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);
  background-size:60px 60px;
  -webkit-mask-image:radial-gradient(circle at 34% 34%,#000,transparent 82%);
          mask-image:radial-gradient(circle at 34% 34%,#000,transparent 82%);
}

/* --- Decorative layer 2: slow teal aurora ------------------------------- */
.rh-login .brand::after{
  content:"";
  position:absolute;
  inset:-25% -15%;
  z-index:0;
  pointer-events:none;
  background:
    radial-gradient(34% 40% at 22% 24%,rgba(86,181,200,.34),transparent 64%),
    radial-gradient(32% 38% at 80% 70%,rgba(43,138,165,.30),transparent 64%);
  filter:blur(38px);
  animation:rhAurora 26s ease-in-out infinite alternate;
}
@keyframes rhAurora{
  0%  { transform:translate3d(0,0,0)     scale(1)    }
  100%{ transform:translate3d(3%,-2%,0)  scale(1.07) }
}

/* --- Decorative layer 3: animated chart artwork -------------------------- */
.rh-login .brand-art{
  position:absolute;
  inset:0;
  z-index:1;
  width:100%;
  height:100%;
  pointer-events:none;
  opacity:.92;
}

/* Two compositions, one shown at a time. The tall one suits the desktop
   split screen; the wide one keeps the chart readable inside the short
   mobile banner instead of being cropped away. */
.rh-login .brand-art--band{ display:none }

/* Waves draw themselves in once on load. */
.rh-login .brand-art .wave{
  stroke-dasharray:1400;
  stroke-dashoffset:1400;
  animation:rhDraw 2.6s var(--ease) forwards;
}
.rh-login .brand-art .w2{ animation-delay:.22s }
.rh-login .brand-art .w3{ animation-delay:.44s }
@keyframes rhDraw{ to{ stroke-dashoffset:0 } }

/* A short bright segment travels along the line, continuously — the "live
   data" read. A wide blurred copy sits underneath it as a soft glow. */
.rh-login .brand-art .flow{
  stroke-dasharray:70 2200;
  stroke-dashoffset:2270;
  animation:rhFlow 7.5s linear 1.6s infinite;
}
.rh-login .brand-art .flow-glow{ animation-duration:7.5s }
.rh-login .brand-art .flow-2{
  stroke-dasharray:52 2200;
  animation-duration:9.5s;
  animation-delay:3.2s;
}
@keyframes rhFlow{ to{ stroke-dashoffset:0 } }

/* Bars rise and fall on their own cycles, like a chart updating. */
.rh-login .brand-art .bar{
  transform-box:fill-box;
  transform-origin:50% 100%;
  animation:rhBar 4.4s ease-in-out infinite alternate;
}
.rh-login .brand-art .b1{ animation-duration:3.8s; animation-delay:-.2s }
.rh-login .brand-art .b2{ animation-duration:5.2s; animation-delay:-1.4s }
.rh-login .brand-art .b3{ animation-duration:4.2s; animation-delay:-2.6s }
.rh-login .brand-art .b4{ animation-duration:6.0s; animation-delay:-.8s  }
.rh-login .brand-art .b5{ animation-duration:4.8s; animation-delay:-3.4s }
@keyframes rhBar{
  from{ transform:scaleY(.48) }
  to  { transform:scaleY(1)   }
}

/* Nodes fade in after the waves, then breathe gently. */
.rh-login .brand-art .dot{
  transform-box:fill-box;
  transform-origin:50% 50%;
  opacity:0;
  animation:rhDot .6s var(--ease) forwards,
            rhDotPulse 3.4s ease-in-out 2.4s infinite;
}
.rh-login .brand-art .n1{ animation-delay:1.5s, 2.4s }
.rh-login .brand-art .n2{ animation-delay:1.7s, 3.0s }
.rh-login .brand-art .n3{ animation-delay:1.9s, 3.6s }
@keyframes rhDot{
  from{ opacity:0; transform:scale(.4) }
  to  { opacity:1; transform:scale(1)  }
}
@keyframes rhDotPulse{
  0%,100%{ opacity:.95; transform:scale(1)    }
  50%    { opacity:.55; transform:scale(1.35) }
}

/* Geometric shapes drift slowly. */
.rh-login .brand-art .ring{
  transform-box:fill-box;
  transform-origin:center;
  animation:rhFloat 16s ease-in-out infinite;
}
.rh-login .brand-art .ring-2{ animation-duration:21s; animation-direction:reverse }
@keyframes rhFloat{
  0%,100%{ transform:translateY(0)     }
  50%    { transform:translateY(-18px) }
}

/* --- Brand panel content ------------------------------------------------ */
.rh-login .brand-inner{
  position:relative;
  z-index:2;
  display:flex;
  flex-direction:column;
  gap:clamp(28px,5vw,64px);
  height:100%;
  justify-content:space-between;
}

/* Logo slot — deliberately large so the mark reads boldly. Sized so a wide
   or a square logo both sit correctly without distortion: the height cap
   governs tall logos, the width cap governs wide ones. */
.rh-login .brand-logo{
  display:flex;
  align-items:center;
  min-height:clamp(66px,7.4vw,118px);
}
.rh-login .brand-logo a img,
.rh-login .brand-logo a .logo-img{
  display:block;
  max-height:clamp(66px,7.4vw,118px);
  max-width:min(480px,100%);
  width:auto;
  height:auto;
  object-fit:contain;
  /* Lifts the mark off the navy so it reads crisp and solid, not flat. */
  filter:drop-shadow(0 10px 22px rgba(0,0,0,.42));
}

.rh-login .brand-copy h1{
  font-size:clamp(28px,3.5vw,50px);
  max-width:14ch;
  margin-bottom:clamp(10px,1.2vw,16px);
}
.rh-login .brand-copy p{
  font-size:clamp(15px,1.35vw,19px);
  color:var(--d-body);
  letter-spacing:.01em;
}

/* Thin gradient rule under the headline block. */
.rh-login .brand-rule{
  width:clamp(56px,6vw,88px);
  height:3px;
  border-radius:3px;
  margin-top:clamp(20px,2.4vw,32px);
  background:linear-gradient(90deg,var(--teal-glow),var(--teal));
}


/* ==========================================================================
   05. LOGIN PANEL (RIGHT)
   ========================================================================== */
.rh-login .panel{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:clamp(28px,4vw,64px) clamp(20px,4vw,64px);
  background:
    radial-gradient(70% 46% at 92% 4%,rgba(86,181,200,.10),transparent 62%),
    radial-gradient(56% 40% at 4% 98%,rgba(43,138,165,.07),transparent 64%),
    var(--off-white);
}

.rh-login .card{
  width:100%;
  max-width:472px;
  padding:clamp(28px,3.2vw,48px);
  border-radius:var(--r-card);
  background:rgba(255,255,255,.86);
  -webkit-backdrop-filter:saturate(180%) blur(20px);
          backdrop-filter:saturate(180%) blur(20px);
  border:1px solid var(--line);
  box-shadow:var(--sh-card);
  animation:rhCardIn .8s var(--ease) both;
}
@keyframes rhCardIn{
  from{ opacity:0; transform:translateY(20px) }
  to  { opacity:1; transform:none }
}

.rh-login .form{
  display:flex;
  flex-direction:column;
  gap:clamp(16px,1.7vw,22px);
}


/* ==========================================================================
   06. FORM FIELDS
   ========================================================================== */
.rh-login .field{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-bottom:10px;
}

.rh-login .field label{
  font-size:13px;
  font-weight:600;
  letter-spacing:.01em;
  color:var(--l-title);
}

/* The shell holds the leading icon, the input, and the trailing toggle. */
.rh-login .control{
  position:relative;
  display:flex;
  align-items:center;
  border-radius:var(--r-field);
  background:var(--white);
  border:1.5px solid var(--line);
  box-shadow:var(--sh-field);
  transition:border-color var(--dur) var(--ease),
             box-shadow var(--dur) var(--ease),
             background var(--dur) var(--ease);
}

/* Leading icon (user / lock) */
.rh-login .control .icon{
  position:absolute;
  left:16px;
  width:19px;
  height:19px;
  color:var(--slate-soft);
  pointer-events:none;
  transition:color var(--dur) var(--ease);
}
.rh-login .control .icon svg{ width:100%; height:100% }

.rh-login .control input{
  width:100%;
  min-width:0;
  font:inherit;
  font-size:15.5px;
  color:var(--l-title);
  background:transparent;
  border:0;
  outline:0;
  padding:15px 16px 15px 47px;
  border-radius:var(--r-field);
}
/* The password input leaves room for the visibility toggle. */
.rh-login .control input[type="password"],
.rh-login .control.has-toggle input{ padding-right:52px }

.rh-login .control input::placeholder{ color:transparent }

/* Premium teal focus state */
.rh-login .control:focus-within{
  border-color:var(--teal);
  box-shadow:var(--ring);
  background:var(--white);
}
.rh-login .control:focus-within .icon{ color:var(--teal) }
.rh-login .control:hover{ border-color:#CBD8E4 }

/* Browser autofill should not repaint the field yellow. */
.rh-login .control input:-webkit-autofill,
.rh-login .control input:-webkit-autofill:hover,
.rh-login .control input:-webkit-autofill:focus{
  -webkit-text-fill-color:var(--l-title);
  -webkit-box-shadow:0 0 0 40px #fff inset;
  caret-color:var(--l-title);
}

/* --- Password visibility toggle ---------------------------------------- */
.rh-login .toggle{
  position:absolute;
  right:7px;
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border-radius:11px;
  color:var(--slate-soft);
  transition:color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.rh-login .toggle svg{ width:19px; height:19px }
.rh-login .toggle:hover{ color:var(--teal); background:var(--grey-50) }

/* Only one of the two icons shows at a time. */
.rh-login .toggle .eye-off{ display:none }
.rh-login .toggle[aria-pressed="true"] .eye{ display:none }
.rh-login .toggle[aria-pressed="true"] .eye-off{ display:block }
.rh-login .toggle[aria-pressed="true"]{ color:var(--teal) }


/* ==========================================================================
   07. OPTIONS ROW
   ========================================================================== */
.rh-login .options{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  margin-top:2px;
}

/* --- Remember Me — custom checkbox -------------------------------------- */
.rh-login .remember{
  position:relative;
  display:inline-flex;
  align-items:center;
  gap:10px;
  cursor:pointer;
  font-size:14px;
  color:var(--l-body);
  user-select:none;
}
/* The real checkbox stays in the DOM for accessibility and form submission.
   It keeps its full size and sits directly over the custom box, so it is a
   genuine click and focus target — it is only made invisible, not collapsed. */
.rh-login .remember input{
  position:absolute;
  left:0;
  top:50%;
  transform:translateY(-50%);
  width:20px;
  height:20px;
  margin:0;
  opacity:0;
  cursor:pointer;
}
.rh-login .box{
  width:20px;
  height:20px;
  flex:none;
  pointer-events:none;   /* let clicks reach the real checkbox underneath */
  display:grid;
  place-items:center;
  border-radius:6px;
  background:var(--white);
  border:1.5px solid #CBD8E4;
  transition:background var(--dur) var(--ease),
             border-color var(--dur) var(--ease),
             box-shadow var(--dur) var(--ease);
}
.rh-login .box svg{
  width:12px;
  height:12px;
  color:#fff;
  opacity:0;
  transform:scale(.5);
  transition:opacity .2s var(--ease), transform .2s var(--ease);
}
.rh-login .remember:hover .box{ border-color:var(--teal-light) }
.rh-login .remember input:checked + .box{
  background:var(--grad-brand);
  border-color:transparent;
}
.rh-login .remember input:checked + .box svg{ opacity:1; transform:scale(1) }
.rh-login .remember input:focus-visible + .box{ box-shadow:var(--ring); border-color:var(--teal) }

/* --- Forgot Password? Reset --------------------------------------------- */
.rh-login .forgot{
  font-size:14px;
  color:var(--l-soft);
  white-space:nowrap;
}
.rh-login .forgot a{
  position:relative;
  font-weight:600;
  color:var(--teal-ink);
  transition:color var(--dur) var(--ease);
}
.rh-login .forgot a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-2px;
  width:0;
  height:1.5px;
  border-radius:2px;
  background:var(--grad-brand);
  transition:width var(--dur) var(--ease);
}
.rh-login .forgot a:hover{ color:var(--teal) }
.rh-login .forgot a:hover::after{ width:100% }


/* ==========================================================================
   08. SUBMIT BUTTON
   ========================================================================== */
.rh-login .submit{
  position:relative;
  width:100%;
  min-height:56px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-top:6px;
  padding:18px 26px;
  border-radius:var(--r-btn);
  overflow:hidden;
  isolation:isolate;
  color:#fff;
  font-family:'Poppins','Inter',sans-serif;
  font-size:14.5px;
  font-weight:600;
  letter-spacing:.14em;
  line-height:1;
  background:var(--grad-btn);
  box-shadow:var(--sh-btn);
  transition:transform var(--dur) var(--ease),
             box-shadow var(--dur) var(--ease);
}

/* Brighter gradient cross-fades in on hover. */
.rh-login .submit::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  opacity:0;
  background:var(--grad-btn-h);
  transition:opacity .4s var(--ease);
}

/* Light sweep travels across the button on hover. */
.rh-login .submit::after{
  content:"";
  position:absolute;
  top:0;
  left:-60%;
  width:42%;
  height:100%;
  z-index:-1;
  transform:skewX(-22deg);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.26),transparent);
  transition:left .8s var(--ease);
}

.rh-login .submit:hover{
  transform:translateY(-3px);
  box-shadow:var(--sh-btn-h);
}
.rh-login .submit:hover::before{ opacity:1 }
.rh-login .submit:hover::after{ left:120% }
.rh-login .submit:active{ transform:translateY(-1px) }

.rh-login .submit svg{
  width:17px;
  height:17px;
  stroke-width:2.4;
  transition:transform var(--dur) var(--ease);
}
.rh-login .submit:hover svg{ transform:translateX(5px) }


/* ==========================================================================
   09. SIGN-UP PROMPT
   ========================================================================== */
.rh-login .signup{
  margin-top:clamp(20px,2.2vw,28px);
  padding-top:clamp(18px,2vw,24px);
  border-top:1px solid var(--line-soft);
  text-align:center;
  font-size:14.5px;
  color:var(--l-soft);
}
.rh-login .signup a{
  position:relative;
  font-weight:600;
  color:var(--teal-ink);
  transition:color var(--dur) var(--ease);
}
.rh-login .signup a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-2px;
  width:0;
  height:1.5px;
  border-radius:2px;
  background:var(--grad-brand);
  transition:width var(--dur) var(--ease);
}
.rh-login .signup a:hover{ color:var(--teal) }
.rh-login .signup a:hover::after{ width:100% }


/* ==========================================================================
   10. RESPONSIVE
   ========================================================================== */

/* Narrower brand panel on smaller laptops. */
@media (max-width:1180px){
  .rh-login .shell{ grid-template-columns:.94fr 1.06fr }
}

/* Tablet and below — stack, with the brand panel as a compact banner so the
   login form stays the focus and sits as high as possible. */
@media (max-width:900px){
  .rh-login .shell{
    grid-template-columns:1fr;
    /* Banner sizes to its content; the login panel takes the rest of the
       screen, so its background always reaches the bottom of the viewport. */
    grid-template-rows:auto 1fr;
  }

  .rh-login .brand{
    padding:clamp(26px,5vw,40px);
    min-height:clamp(210px,34vw,280px);
  }
  .rh-login .brand-art--tall{ display:none }
  .rh-login .brand-art--band{ display:block }
  .rh-login .brand-inner{ gap:clamp(20px,4vw,32px) }
  .rh-login .brand-logo{ min-height:clamp(54px,8vw,76px) }
  .rh-login .brand-logo img{ max-height:clamp(54px,8vw,76px); max-width:min(300px,72%) }
  .rh-login .brand-copy h1{ font-size:clamp(24px,4.6vw,34px); max-width:18ch }
  .rh-login .brand-copy p{ font-size:15px }
  .rh-login .brand-rule{ margin-top:16px }

  .rh-login .panel{ padding:clamp(22px,5vw,40px) clamp(18px,5vw,40px) clamp(34px,6vw,56px) }

  /* The panel row takes the remaining height and centres the card in it, so
     the form sits as the clear focus of the screen. */
  .rh-login .card{ max-width:520px }
}

/* Mobile */
@media (max-width:560px){
  .rh-login .brand{ min-height:0; padding:24px 20px 46px }
  .rh-login .brand-inner{ gap:20px }
  .rh-login .brand-logo{ min-height:58px }
  .rh-login .brand-logo img{ max-height:58px; max-width:70% }
  .rh-login .brand-copy h1{ font-size:23px; max-width:none }
  .rh-login .brand-copy p{ font-size:14px }
  .rh-login .brand-rule{ width:48px; margin-top:14px }

  .rh-login .panel{ padding:0 16px 32px }
  .rh-login .card{
    padding:24px 20px 26px;
    border-radius:20px;
  }
  .rh-login .form{ gap:15px }
  .rh-login .control input{ font-size:16px; padding:14px 14px 14px 44px }  /* 16px stops iOS zoom-on-focus */
  .rh-login .options{ gap:10px }
  .rh-login .remember,
  .rh-login .forgot{ font-size:13.5px }
  .rh-login .submit{ min-height:54px; font-size:13.5px; padding:17px 20px }
  .rh-login .signup{ font-size:13.5px }
}

/* Small phones */
@media (max-width:360px){
  .rh-login .card{ padding:22px 16px 24px }
  .rh-login .brand-copy h1{ font-size:21px }
  .rh-login .options{ flex-direction:column; align-items:flex-start }
}

/* Short landscape screens — let the page scroll rather than crush the layout. */
@media (max-height:560px){
  .rh-login .shell{ min-height:0 }
  .rh-login .brand{ padding-block:28px }
  .rh-login .panel{ padding-block:28px }
}


/* ==========================================================================
   11. REDUCED MOTION & PRINT
   ========================================================================== */
@media (prefers-reduced-motion:reduce){
  .rh-login *,
  .rh-login *::before,
  .rh-login *::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
  }
  .rh-login .card{ opacity:1 !important; transform:none !important }
  .rh-login .brand-art .wave{ stroke-dashoffset:0 !important }
  .rh-login .brand-art .dot{ opacity:1 !important; transform:none !important }
  .rh-login .brand-art .bar{ transform:none !important }
  /* Hide the travelling pulse entirely rather than freezing it mid-line. */
  .rh-login .brand-art .flow{ display:none }
}

@media print{
  .rh-login .brand{ display:none }
  .rh-login .shell{ grid-template-columns:1fr; min-height:0 }
  .rh-login .card{ box-shadow:none; border:1px solid var(--line); opacity:1 !important; transform:none !important }
}
[id$="err"] {
    color:#ff0000;
    font-style: italic;
    font-weight: 0 !important;
}
.text-default{
  color: #1F7A8C !important;
}