.pref-loc-district-list-container {
    max-height: 400px;
    overflow-y: auto;
    border: 0.5px solid #ccc;
    border-radius: 5px;
    position: sticky;
    z-index: 1;
    flex: 1;
}

.pref-loc-accordion {
    color: #333;
    cursor: pointer;
    padding: 16px;
    transition: 0.4s;
    list-style: none;
    background-color: #F5F5F5;
    border: 0.5px solid #E5E5E5;
    font-family: Lato;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0em;
    text-align: left;
    padding-left: 30px;
  }

  .pref-loc-accordion:hover {
    background-color: #F5F5F5;
  }

  .pref-loc-district-panel {
    padding: 0;
    margin: 0;
    display: none;
    background-color: #ffffff;
    overflow: hidden;
    list-style: none; /* Remove list dot */
  }

  .pref-loc-list-district-item {
    transition: 0.4s;
    padding: 0 18px;
    list-style: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-bottom: 0px;
  }

  .pref-loc-children-list {
        padding-left: 0px;
   }

  .pref-loc-list-district-item:hover {
    background-color: #F5F5F5;
  }

  .pref-loc-district-checkbox {
    display: none;
  }

  .pref-loc-district-label {
    position: relative;
    cursor: pointer;
    font-family: Lato;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0em;
    text-align: left;
    width: calc(100% - 40px) !important;
    height: 56px;
    line-height: 56px; /* Ensure the line height is equal to the height for vertical centering */
    padding-left: 32px;
}

.pref-loc-district-label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 1px solid #ccc;
    background-color: #fff;
    box-sizing: border-box;
}

.pref-loc-district-checkbox:checked + .pref-loc-district-label:before {
    background-color: #FA4094;
    border: 1px solid #FA4094;
}

.pref-loc-district-checkbox:checked + .pref-loc-district-label:after {
    content: url("data:image/svg+xml,%3Csvg width='14' height='11' viewBox='0 0 14 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5.75L4.39645 9.14645C4.59171 9.34171 4.90829 9.34171 5.10355 9.14645L13 1.25' stroke='white' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    position: absolute;
    left: 3px;
    top: 50%;
    transform: translateY(-50%);
}

.pref-loc-current-location-pill {
    background-color: #ECFDF5;
    color: #047857;
    padding: 5px 10px;
    margin-left: 5px;
    border-radius: 20px;
    display: none;
    font-family: Lato;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: 0em;
    text-align: right;
}

.pref-loc-districts-accordion {
    padding-left: 30px;
}

.pref-loc-badge {
    position: relative;
    left: 0;
    margin-left: -20px;
    margin-right: 12px;
    margin-bottom: 2px;
    width: 8px;
    height: 8px;
    background-color: #FA4094;
    border-radius: 50%;
    display: none;
}

.pref-loc-count-countainer {
    text-align: right;
    width: 100%;
    height: 20px;
    margin-top: 20px;
}
  .pref-loc-count-text {
    font-family: Lato;
    font-size: 14px;
    font-style: italic;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0em;
    margin-left: 5px;
    color: #71717A;
  }

  .pref-loc-districts-max-error-text {
    color: #DC2626;
    font-family: Lato;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0em;
    text-align: left;
    margin: 5px;

}

.pref-loc-error-message {
    display: none;
}

.pref-loc-district-children {
    margin-top: 0px;
}

.pref-loc-district-item {
    padding-left: 20px;
}

.pref-loc-district-clear-selection {
    font-family: Lato;
    font-size: 16px;
    font-weight: 700;
    line-height: 19px;
    letter-spacing: 0em;
    text-align: center;
    color: #FA4094;
    cursor: pointer; 
    text-decoration: none;
}

li.pref-loc-list-district-item.checkbox {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

.pref-loc-search-result-container {
    list-style: none;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding-left: 0;
    display: none;
    height: 100vh;
}

.pref-loc-clear-selection-container {
    padding: 0; 
    margin-top: 30px;
}

.prev-loc-chevron {
    position: absolute;
    right: 0;
    margin-top: 8px;
    margin-right: 15px;
    height: 9px;
}