/* ================================================
   Muni Access Sign-In Card
   Ported from the CGS redesign's .signin-*/.access-* rules.
   Depends on the --navy-*/--blue-*/--neutral-* tokens defined
   in /css/request_style_new.css, loaded before this file.
   ================================================ */

.access-form { display: flex; flex-direction: column; gap: 14px; max-width: 450px; }
.access-field { display: flex; flex-direction: column; gap: 6px; }
.access-label {
  font-size: 12px; font-weight: 600; color: var(--neutral-700);
  letter-spacing: 0.02em;
}
.access-required { color: inherit; margin-left: 2px; }
.access-input {
  width: 100%;
  display: block;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--neutral-200);
  border-radius: 8px;
  background: var(--neutral-0);
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  color: var(--neutral-950);
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}
.access-input::placeholder { color: var(--neutral-300); }
.access-input:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(26,92,255,0.12);
}

/* Password show/hide toggle */
.access-input-wrap { position: relative; display: block; }
.access-input--password { padding-right: 46px; }
.access-pw-toggle {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--neutral-400);
  cursor: pointer;
  padding: 0;
  transition: color 0.15s, background 0.15s;
}
.access-pw-toggle:hover { color: var(--neutral-700); background: var(--neutral-50); }
.access-pw-toggle:focus-visible {
  outline: 2px dashed #6b7280;
  outline-offset: 2px;
}
.access-pw-toggle__icon--hide { display: none; }
.access-pw-toggle[aria-pressed="true"] .access-pw-toggle__icon--show { display: none; }
.access-pw-toggle[aria-pressed="true"] .access-pw-toggle__icon--hide { display: block; }
.access-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 4px;
}
.access-remember {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--neutral-600); cursor: pointer;
  user-select: none;
}
.access-remember input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--blue-500);
  cursor: pointer;
}
.access-forgot {
  font-size: 13px; font-weight: 500; color: var(--blue-500);
  text-decoration: none;
}
.access-forgot:hover { text-decoration: underline; }
.access-submit {
  align-self: flex-start;
  margin-top: 22px;
  height: 44px;
  padding: 0 36px;
  background: #0070C9;
  color: #fff;
  border: 1px solid #0070C9;
  border-radius: 30px;
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(26,92,255,0.18);
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.access-submit:hover {
  background: #005CA8; border-color: #005CA8;
  box-shadow: 0 3px 12px rgba(26,92,255,0.28);
}
.access-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.signin-wrap { max-width: 1300px; margin: 0 auto; padding: 72px 32px 96px; display: flex; justify-content: center; }
.signin-card { width: 100%; max-width: 440px; }
.signin-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--neutral-950); margin-bottom: 10px; }
.signin-title { font-size: 28px; font-weight: 700; color: var(--neutral-950); letter-spacing: -0.015em; margin-bottom: 24px; }
.signin-card .access-form { max-width: none; }
.signin-foot { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--neutral-100); font-size: 12px; color: var(--neutral-400); line-height: 1.6; display: flex; flex-direction: column; gap: 8px; }
.signin-contact a { color: var(--neutral-700); font-weight: 600; text-decoration: none; }
.signin-contact a:hover { color: var(--blue-500); }

/* Login-failure banner (not present in the reference mock, added for the real ?error state) */
.access-error {
  display: none;
  font-size: 13px;
  color: #b3261e;
  background: #fdecea;
  border: 1px solid #f5c6c2;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 14px;
}
.access-error.is-visible { display: block; }
