@use "../../../../ui/styles/_variables" as *;
@use "uswds-core" as *;

.accordionInstance {
  margin-bottom: 2rem;
}

.accordionWrapper > h3 {
  font-size: 1.75rem;
  color: white !important;
  background-color: $background-darker;

  &:hover {
    background-color: $background-darker;
  }
}

.accordionWrapper > div {
  margin: 0.1rem 0rem;
  padding: 0;

  h4[id="demographics"] {
    margin: 1.25rem;
  }
}

.accordionWrapper {
  button,
  button:hover {
    background-image: url("../../../../ui/styles/assets/expandUp.svg");
  }

  button[aria-expanded="false"],
  button[aria-expanded="false"]:hover {
    background-image: url("../../../../ui/styles/assets/expandDown.svg");
  }
}

.accordionHeading {
  @include u-font-family("sans");
  font-size: 1.25rem !important;
  line-height: 1.1 !important;
}

.resultsBannerContent {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.resultsDrawerContainer {
  display: flex;
  padding: 1rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.625rem;
  align-self: stretch;
  border-radius: 0.25rem;
  background: white;
}

.resultsDrawerBody {
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.375rem;
  align-self: stretch;
  white-space: pre-wrap;
  word-break: break-word;
}
