/* Senior Assist directory. Static styles only. No motion loops.
   The legal note uses the same yellow box as the rest of the site, at body size,
   dark on yellow, so it is not small grey print. */

/* .field { display: block } in the site stylesheet beats the hidden attribute.
   These sections use hidden to show the fields for the chosen role. */
#assist-directory [hidden] {
  display: none !important;
}

#assist-directory .disclaimer {
  margin-top: 0.75rem;
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  background: #fff3cd;
  color: #1a1a1a;
  border: 2px solid #8a6d00;
  border-radius: var(--radius);
  font-size: 1.05rem;
  line-height: 1.45;
}
#assist-directory .disclaimer strong { color: #1a1a1a; }
body.high-contrast #assist-directory .disclaimer,
body.high-contrast #assist-directory .disclaimer strong {
  background: #fff;
  color: #000;
  border: 3px solid #000;
}

.assist-kinds {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0.75rem 0 1.25rem;
}
.assist-kinds .btn {
  text-align: left;
  white-space: normal;
  line-height: 1.3;
}
.assist-kinds .btn[aria-pressed="true"] {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.assist-times {
  border: 0;
  margin: 0 0 1rem;
  padding: 0;
}
.assist-times legend {
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.assist-times label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 48px;
  margin: 0.25rem 0;
  font-weight: 700;
}
.assist-times input {
  width: 44px;
  height: 44px;
  min-width: 44px;
  accent-color: var(--primary);
}

.assist-agree {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.assist-agree input {
  flex: 0 0 auto;
}
.assist-agree label {
  font-weight: 700;
  line-height: 1.4;
}

.assist-card.assist-clinical {
  border: 3px solid #1b4f72;
}
.assist-badge {
  display: inline-block;
  margin: 0 0 0.45rem;
  padding: 0.35rem 0.8rem;
  border-radius: 8px;
  background: #5c5346;
  color: #fff;
  font-size: 1.15rem;
  line-height: 1.3;
}
.assist-clinical .assist-badge {
  background: #1b4f72;
}
.assist-wrote {
  font-weight: 700;
  margin-top: 0;
}
.assist-unverified {
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.45;
  margin: 0.6rem 0;
  padding: 0.7rem 0.85rem;
  background: #fff3cd;
  color: #1a1a1a;
  border: 3px solid #8a6d00;
  border-radius: var(--radius);
}
#assist-directory .disclaimer .assist-unverified {
  margin: 0.75rem 0 0;
}
.assist-registry {
  font-weight: 700;
  line-height: 1.45;
}
.assist-registry a,
#assist-credential-fields a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-weight: 700;
  text-decoration: underline;
}
#assist-credential-fields input[type="text"],
#assist-credential-fields select,
#assist-credential-fields textarea {
  width: 100%;
  min-height: 48px;
  font-size: 1rem;
}
#assist-area-towns {
  margin-top: 0.35rem;
}

body.high-contrast .assist-kinds .btn[aria-pressed="true"],
body.high-contrast .assist-badge,
body.high-contrast .assist-clinical .assist-badge {
  background: #000;
  color: #fff;
  border: 2px solid #000;
}
body.high-contrast .assist-card.assist-clinical {
  border: 3px solid #000;
}
body.high-contrast .assist-unverified,
body.high-contrast #assist-directory .disclaimer .assist-unverified {
  background: #fff;
  color: #000;
  border: 3px solid #000;
}

.assist-empty {
  margin: 1rem 0 1.5rem;
}
.assist-empty a {
  display: inline-block;
  min-height: 48px;
  padding: 0.6rem 0;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: underline;
}
.assist-transport-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  margin: 0 0 1.25rem;
}
.assist-transport-links a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-weight: 700;
  text-decoration: underline;
}
.assist-meds {
  font-weight: 700;
  margin: 0.2rem 0 0.6rem;
}
.assist-meds-field label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 48px;
  font-weight: 700;
}
.assist-meds-field input {
  width: 44px;
  height: 44px;
  min-width: 44px;
  accent-color: var(--primary);
}
body.high-contrast .assist-empty a,
body.high-contrast .assist-transport-links a,
body.high-contrast .assist-registry a,
body.high-contrast #assist-credential-fields a,
body.high-contrast .assist-meds {
  color: #000;
}
