.filter-main-wrapper {
  position: relative;
}
.filter-main-wrapper .filter-container {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  width: 100%;
  background-color: var(--colorWhite);
  border-radius: var(--borderRadiusSmall);
  box-shadow: 0 0.3rem 4rem rgba(0, 0, 0, 0.15);
  top: 5rem;
  overflow-x: clip;
  overflow-y: auto;
  z-index: 15;
}
.filter-main-wrapper .filter-container.number-of-groups-01 {
  max-width: 40rem;
}
.filter-main-wrapper .filter-container.number-of-groups-02 {
  max-width: 60rem;
}
.filter-main-wrapper .filter-container.number-of-groups-03 {
  max-width: 110rem;
}
.filter-main-wrapper .filter-container .filter-group-outer {
  width: 100%;
}
.filter-main-wrapper .filter-container .filter-form {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.filter-main-wrapper .filter-container .filter-group-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
  padding: 0 2.5rem 2.5rem 2.5rem;
  margin-top: 2.5rem;
  overflow: auto;
  gap: 1.8rem;
}
.filter-main-wrapper .filter-container .filter-group-wrapper strong {
  display: block;
  font-size: var(--fontSize-Root);
  color: var(--colorBlack);
  font-weight: 800;
  margin: 0 0 1rem 0;
}
.filter-main-wrapper .filter-container .filter-group-wrapper .filter-group {
  display: grid;
  gap: 1rem;
  max-height: 50rem;
  overflow-x: clip;
  overflow-y: auto;
}
.filter-main-wrapper .filter-container .filter-group-wrapper .filter-group .filter-items {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  flex-shrink: 0;
  background-color: var(--checkboxUnactive);
  border-radius: var(--borderRadiusSmall);
  color: var(--vigiloDarkBlue);
  padding: 0 1.4rem;
  height: 4rem;
  box-sizing: border-box;
}
.filter-main-wrapper .filter-container .filter-group-wrapper .filter-group .filter-items:has(input[type=checkbox]:checked), .filter-main-wrapper .filter-container .filter-group-wrapper .filter-group .filter-items:has(input[type=radio]:checked) {
  background-color: var(--checkboxActive);
}
.filter-main-wrapper .filter-container .filter-group-wrapper .filter-group .filter-items input {
  width: 100%;
  height: 100%;
  position: absolute;
  cursor: pointer;
  inset: 0;
}
.filter-main-wrapper .filter-container .filter-group-wrapper .filter-group .filter-items input[type=checkbox]:after, .filter-main-wrapper .filter-container .filter-group-wrapper .filter-group .filter-items input[type=radio]:after {
  position: absolute;
  right: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--vigiloIcons);
  font-size: var(--fontSize-Root);
  color: var(--vigiloDarkBlue);
}
.filter-main-wrapper .filter-container .filter-group-wrapper .filter-group .filter-items input[type=checkbox]:checked:after {
  content: "X";
}
.filter-main-wrapper .filter-container .filter-group-wrapper .filter-group .filter-items input[type=checkbox]:not(:checked):after {
  content: "Y";
}
.filter-main-wrapper .filter-container .filter-group-wrapper .filter-group .filter-items input[type=radio]:checked:after {
  content: "7";
}
.filter-main-wrapper .filter-container .filter-group-wrapper .filter-group .filter-items input[type=radio]:not(:checked):after {
  content: "8";
}
.filter-main-wrapper .filter-container .filter-group-wrapper .filter-group .filter-items label {
  display: flex;
  width: 100%;
  font-size: var(--fontSize-Small);
}
@media screen and (max-width: 700px) {
  .filter-main-wrapper .filter-container .filter-group-wrapper .filter-group {
    max-height: none;
  }
}
@media screen and (max-width: 550px) {
  .filter-main-wrapper .filter-container .filter-group-wrapper {
    max-height: unset !important;
  }
}
.filter-main-wrapper .filter-container.active {
  opacity: 1;
  visibility: visible;
}
@media screen and (max-width: 550px) {
  .filter-main-wrapper .filter-container {
    position: fixed;
    top: calc(50% + var(--headerHeight) / 2);
    height: calc(100% - var(--headerHeight) - var(--pagePaddingSingle) * 2);
    width: calc(100% - var(--pagePaddingSingle) * 2);
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999999999;
  }
}
@media screen and (max-width: 450px) {
  .filter-main-wrapper .filter-container.filter-group {
    width: 100%;
  }
}
.filter-main-wrapper .toolbar .toolbar-btn {
  display: inline-flex;
  align-items: center;
  border: 0.1rem solid transparent;
  font-size: var(--fontSize-Small);
  border-radius: var(--borderRadiusSmall);
  background-color: var(--colorWhite);
  color: var(--vigiloDarkBlue);
  height: 4rem;
  gap: 0.8rem;
  transition: var(--transitionStandard);
  padding: 1.4rem;
  overflow: hidden;
  cursor: pointer;
}
.filter-main-wrapper .toolbar .toolbar-btn.search.hidden {
  display: none;
}
.filter-main-wrapper .toolbar .toolbar-btn:before {
  font-family: var(--vigiloIcons);
  font-size: 1.8rem;
}
.filter-main-wrapper .toolbar .toolbar-btn:has(.dropdown) {
  padding: 1.4rem 0 1.4rem 1.4rem;
}
.filter-main-wrapper .toolbar .toolbar-btn.filter:before {
  content: "L";
}
.filter-main-wrapper .toolbar .toolbar-btn.status {
  display: none;
}
.filter-main-wrapper .toolbar .toolbar-btn.status:before {
  font-size: 2rem;
  content: "'";
}
@media screen and (max-width: 1080px) {
  .filter-main-wrapper .toolbar .toolbar-btn.status {
    display: inline-flex;
  }
}
.filter-main-wrapper .toolbar .toolbar-btn.search:before {
  content: "@";
}
.filter-main-wrapper .toolbar .toolbar-btn:hover {
  background-color: var(--checkboxUnactive);
}
.filter-main-wrapper .toolbar .toolbar-btn.active {
  background-color: var(--checkboxActive);
}
.filter-main-wrapper .toolbar .toolbar-btn.active.filter:after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-left: 0.7rem solid transparent;
  border-right: 0.7rem solid transparent;
  border-bottom: 1.05rem solid var(--colorWhite);
  top: 4rem;
  left: 1.8rem;
  z-index: 30;
}
@media screen and (max-width: 550px) {
  .filter-main-wrapper .toolbar .toolbar-btn.active.filter:after {
    display: none;
  }
}
.filter-main-wrapper .toolbar .toolbar-btn .filter-applied {
  font-weight: bold;
}
.filter-main-wrapper .toolbar .toolbar-btn .filter-pipe-separator {
  display: none;
}
.filter-main-wrapper .toolbar .toolbar-btn .filter-pipe-separator.active {
  display: block;
}
.filter-main-wrapper .toolbar .toolbar-btn .dropdown {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.1rem;
  height: 4rem;
  border-left: 0.2rem solid var(--colorWhite);
  transition: var(--transitionStandard);
}
.filter-main-wrapper .toolbar .toolbar-btn .dropdown:before {
  content: "s";
  font-family: var(--vigiloIcons);
  font-size: 90%;
}
.filter-main-wrapper .toolbar .toolbar-btn:not(.active) .dropdown:hover {
  background-color: var(--checkboxHover);
}
@media screen and (max-width: 550px) {
  .filter-main-wrapper .toolbar.search-is-active .toolbar-btn.filter, .filter-main-wrapper .toolbar.search-is-active .toolbar-btn.status {
    display: none;
  }
  .filter-main-wrapper .toolbar.search-is-active .toolbar-search-field {
    max-width: unset;
  }
}
@media screen and (max-width: 410px) {
  .filter-main-wrapper .toolbar.three-btns {
    gap: 0.8rem 0;
  }
  .filter-main-wrapper .toolbar.three-btns .toolbar-btn {
    padding: 1.4rem;
  }
  .filter-main-wrapper .toolbar.three-btns .toolbar-btn span.filter-title,
  .filter-main-wrapper .toolbar.three-btns .toolbar-btn .dropdown {
    display: none;
  }
}
.filter-main-wrapper .filter-footer-btns {
  position: relative;
  display: flex;
  width: 100%;
  box-sizing: border-box;
  background-color: var(--colorWhite);
  gap: 0.8rem;
  margin-top: -0.9rem;
  border-top: 0.1rem solid var(--colorGrey03);
  padding: 1.4rem;
  z-index: 10;
  bottom: 0;
}
.filter-main-wrapper .filter-footer-btns .filter-btn-group {
  display: flex;
  gap: 0.8rem;
}
.filter-main-wrapper .filter-footer-btns .filter-btn {
  height: 4rem;
  padding: 0 1.4rem;
  border-radius: var(--borderRadiusSmall);
  transition: var(--transitionStandard);
  font-size: var(--fontSize-Small);
  font-weight: 600;
  border: 0;
  outline: 0;
  cursor: pointer;
}
.filter-main-wrapper .filter-footer-btns .filter-btn.primary {
  background-color: var(--vigiloDarkBlue);
  color: var(--colorWhite);
}
.filter-main-wrapper .filter-footer-btns .filter-btn.primary:hover {
  background-color: var(--vigiloDarkBlueHover);
}
.filter-main-wrapper .filter-footer-btns .filter-btn.primary:focus-visible {
  background-color: #000e93;
  box-shadow: rgba(0, 9, 96, 0.5) 0 0 0 0.25rem;
  border-color: transparent;
}
.filter-main-wrapper .filter-footer-btns .filter-btn.close, .filter-main-wrapper .filter-footer-btns .filter-btn.reset {
  background-color: var(--colorWhite);
  color: var(--vigiloDarkBlue);
}
.filter-main-wrapper .filter-footer-btns .filter-btn.close:hover, .filter-main-wrapper .filter-footer-btns .filter-btn.reset:hover {
  background-color: var(--checkboxUnactive);
}
.filter-main-wrapper .filter-footer-btns .filter-btn.close:focus-visible, .filter-main-wrapper .filter-footer-btns .filter-btn.reset:focus-visible {
  box-shadow: rgba(0, 9, 96, 0.5) 0 0 0 0.25rem;
}
@media screen and (max-width: 550px) {
  .filter-main-wrapper .filter-footer-btns {
    position: sticky;
  }
}
.filter-main-wrapper .toolbar-search-field {
  position: relative;
  width: 100%;
  max-width: 25rem;
  display: none;
}
.filter-main-wrapper .toolbar-search-field.active {
  display: block;
}
.filter-main-wrapper .toolbar-search-field input[type=search] {
  display: inline-flex;
  align-items: center;
  font-size: var(--fontSize-Root);
  border-radius: var(--borderRadiusSmall);
  background-color: var(--colorWhite);
  color: var(--vigiloDarkBlue);
  height: 4rem;
  padding: 0 2rem 0 4rem;
  border: 0.1rem solid var(--colorGrey03);
  width: 100%;
}
.filter-main-wrapper .toolbar-search-field:before {
  content: "@";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--vigiloIcons);
  color: var(--vigiloDarkBlue);
  font-size: 1.8rem;
  left: 1.4rem;
}
.filter-main-wrapper .toolbar-search-field .close-search-btn {
  position: absolute;
  right: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--colorWhite);
  appearance: none;
  outline: none;
  border: none;
  cursor: pointer;
  color: var(--darkGrey);
}
.filter-main-wrapper .toolbar-search-field .close-search-btn:focus-visible {
  outline: 0.2rem solid var(--vigiloSecondaryBlue);
  outline-offset: 0.5rem;
  border-radius: 0.1rem;
}

.alert-box {
  position: relative;
  padding: 1rem;
  border-radius: var(--borderRadiusSmall);
  background-color: var(--muted-light-bg);
}
.alert-box p {
  display: flex;
  align-items: center;
  position: relative;
  font-size: var(--fontSize-Small);
  color: #252525;
  font-weight: 500;
  gap: 0.8rem;
}
.alert-box p:before {
  content: "6";
  position: relative;
  font-family: var(--vigiloIcons);
  font-style: normal;
  line-height: 0;
  font-size: 2.2rem;
  flex-shrink: 0;
  color: #7f8c8d;
}
.alert-box.danger {
  background-color: #fdecea;
}
.alert-box.danger p {
  color: #480e07;
}
.alert-box.danger p:before {
  color: #e74c3c;
}
.alert-box.warning {
  background-color: #fff4e5;
}
.alert-box.warning p {
  color: #4c2c00;
}
.alert-box.warning p:before {
  color: #f1c40f;
}
.alert-box.info {
  background-color: #e8f4fd;
}
.alert-box.info p {
  color: #062b47;
}
.alert-box.info p:before {
  color: #2880b9;
}
.alert-box.success {
  background-color: #edf7ed;
}
.alert-box.success p {
  color: #173517;
}
.alert-box.success p:before {
  color: #27ae60;
}
.alert-box.mt-1 {
  margin-top: 1rem;
}
.alert-box.mt-2 {
  margin-top: 2rem;
}
.alert-box.mt-3 {
  margin-top: 3rem;
}

.data-counter {
  display: inline-block;
  position: relative;
  color: var(--vigiloDarkBlue);
  margin: 0 0 1.5rem 0;
}
.data-counter .number {
  font-weight: bold;
}

.backdrop {
  display: none;
}
@media screen and (max-width: 550px) {
  .backdrop {
    display: block;
  }
}
