/* THRS Ultra Premium — Employee Portal Public Sign-in
 * Phase P4 public authentication surface. Layout Locked: only color, border,
 * focus, shadow and reduced-motion. Existing role checks/auth remain untouched.
 * Scoped specifically to employee self-service login.
 */
.employee-portal-login {
  --employee-qa-navy:#0b2443;
  --employee-qa-muted:#4c617c;
  --employee-qa-gold:#916a14;
  --employee-qa-focus:#9b7217;
  --employee-qa-line:#9aabc0;
}
.employee-portal-login .employee-portal-copy-panel {
  color:#f7fbff;
}
.employee-portal-login .employee-portal-copy-panel p {
  color:#e0ebf8!important;
}
.employee-portal-login .employee-portal-login-card {
  border-color:rgba(200,168,78,.57)!important;
  box-shadow:0 24px 70px rgba(1,14,32,.32),
             0 0 0 1px rgba(236,201,121,.09),
             inset 0 1px 0 rgba(255,255,255,.8)!important;
}
.employee-portal-login .employee-portal-login-card label {
  color:var(--employee-qa-navy);
}
.employee-portal-login .employee-portal-login-card input {
  border-color:var(--employee-qa-line)!important;
  color:var(--employee-qa-navy)!important;
  caret-color:var(--employee-qa-gold);
  transition:border-color .18s ease,box-shadow .18s ease!important;
}
.employee-portal-login .employee-portal-login-card input::placeholder {
  color:var(--employee-qa-muted)!important;
  opacity:1;
}
.employee-portal-login .employee-portal-login-card input:focus-visible {
  border-color:var(--employee-qa-focus)!important;
  outline:2px solid var(--employee-qa-focus)!important;
  outline-offset:2px;
  box-shadow:0 0 0 4px rgba(200,168,78,.17)!important;
}
.employee-portal-login .employee-portal-login-card button[type="submit"]:not(:disabled):hover {
  filter:brightness(1.06);
  box-shadow:0 11px 24px rgba(135,96,22,.22)!important;
}
.employee-portal-login .employee-portal-login-card button[type="submit"]:focus-visible,
.employee-portal-login .employee-portal-login-card a:focus-visible {
  outline:2px solid var(--employee-qa-focus)!important;
  outline-offset:3px;
  box-shadow:0 0 0 4px rgba(200,168,78,.17)!important;
}
.employee-portal-login .employee-portal-login-card button[type="submit"]:disabled {
  filter:saturate(.68);
  cursor:wait;
}
.employee-portal-login .employee-portal-login-card a:hover {
  color:#805c16!important;
  text-decoration:underline;
  text-underline-offset:3px;
}

/* Employee login card contrast repair: dark copy on the light card. */
.employee-portal-login .employee-portal-login-card > div:first-child > p:first-of-type {
  color:#725314!important;
}
.employee-portal-login .employee-portal-login-card > div:last-child > p:first-of-type {
  color:#52657b!important;
}
.employee-portal-login .employee-portal-login-card > div:last-child > p:last-of-type {
  color:#725314!important;
}

@media (prefers-reduced-motion:reduce) {
  .employee-portal-login .employee-portal-login-card :is(input,button,a) {
    transition:none!important;
    animation:none!important;
  }
}
@media (forced-colors:active) {
  .employee-portal-login .employee-portal-login-card :is(input,button,a):focus-visible {
    outline:2px solid Highlight!important;
  }
}
