
/*------------------------*/
.custom-select,
  .custom-multiselect {
    position: relative;
    width: 100%;
  }

  .custom-select-trigger,
  .custom-multiselect-trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 15px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .custom-select-trigger {
    height: 35px;
  }

  .custom-multiselect-trigger {
    padding: 5px 15px;
    min-height: 49px;
  }

  .custom-select-trigger:hover,
  .custom-multiselect-trigger:hover {
    border-color: #aaa;
  }

  .custom-select-trigger:after,
  .custom-multiselect-trigger:after {
    content: "\f107";
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
    transition: transform 0.3s ease;
  }

  .custom-select.open .custom-select-trigger:after,
  .custom-multiselect.open .custom-multiselect-trigger:after {
    transform: rotate(180deg);
  }

  .custom-select-options,
  .custom-multiselect-options {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    z-index: 100;
    opacity: 0;
    transform-origin: top;
    transition:
      max-height 0.25s ease-out,
      opacity 0.2s ease-out,
      transform 0.2s ease-out,
      visibility 0.2s;
    visibility: hidden;
    transform: scaleY(0.9);
  }

  .custom-select.open .custom-select-options,
  .custom-multiselect.open .custom-multiselect-options {
    max-height: 300px;
    opacity: 1;
    visibility: visible;
    transform: scaleY(1);
    transition:
      max-height 0.35s ease-in,
      opacity 0.25s ease-in,
      transform 0.25s ease-in;
  }

  .custom-select-option,
  .custom-multiselect-option {
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.2s ease;
    position: relative;
  }

  .custom-select-option:hover,
  .custom-multiselect-option:hover {
    background: #f5f5f5;
  }

  .custom-select-option.selected,
  .custom-multiselect-option.selected {
    background: #e9e9e9;
  }

  .custom-multiselect-selected-items {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    flex-grow: 1;
  }

  .custom-multiselect-selected-item {
    background: #004f64;
    padding: 8px 13px;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    transition: background 0.2s ease;
  }

  .custom-multiselect-selected-item:hover {
    background-color: #235025;
  }

  .custom-multiselect-selected-item-remove {
    height: 25px;
    border-radius: 50%;
    margin-left: 5px;
    cursor: pointer;
    background: #fff;
    width: 25px;
    display: inline-flex;
    transition: color 0.2s ease;
    align-items: center;
    justify-content: center;
  }

  .custom-multiselect-selected-item-remove i {
    color: #cf3620;
    font-size: 18px;
  }

  .custom-multiselect-option {
    display: flex;
    align-items: center;
  }

  .custom-multiselect-option-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
  }

  input.custom-multiselect-option-checkbox {
    width: 0;
  }

  .custom-multiselect-option-label {
    display: block;
    width: 100%;
    cursor: pointer;
  }

  .custom-select.fix {
    margin-bottom: 0;
    width: 100%;
  }

  .custom-select-trigger span {
    margin-left: 40px;
  }
  /*----------------------------------------------------------*/
  
  .geocoder-container {
    position: relative;
    width: 100%;
  }

  .geocoder-suggestions {
    position: absolute;
    top: 100%;
    width: 100%;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    opacity: 0;
    max-height: 0;
    transition: opacity 0.3s, max-height 0.3s;
    overflow-y: auto;
    z-index: 1000;
  }

  .geocoder-suggestions.visible {
    opacity: 1;
    max-height: 300px;
  }

  .geocoder-suggestion-item {
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.2s;
  }

  .geocoder-suggestion-item:hover,
  .geocoder-suggestion-item.selected {
    background-color: #f0f0f0;
  }

  .geocoder-reset-container {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
  }

  .geocoder-reset-btn {
    background-color: #004f64;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    transition: background-color 0.2s;
  }
  @media (max-width: 768px) {
    .geocoder-suggestion-item {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

   .geocoder-suggestions.visible {
      max-height: 220px;
       overflow-y: auto;
    }
  }