/* Wrapper */
.easyel-advanced-search-wrapper {
  font-family: Arial, Helvetica, sans-serif;
  width: 100%;
  margin: 0 auto;
}

/* Form */
.easyel-ee-asw-form {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.easyel-advanced-search-wrapper .easyel-ee-asw-form .easyel-ee-asw-input {
  flex: 1;
  padding: 14px 20px 14px 45px;
  border-radius: 6px;
  border: 1px solid #dcd7f3;
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.03);
  font-size: 14px;
  transition: all 0.2s;
  height: 50px;
  width: 345px;
}

.easyel-advanced-search-wrapper .easyel-ee-asw-form .easyel-ee-asw-input:focus {
  border-color: #6b57f3;
  box-shadow: 0 0 6px rgba(107, 87, 243, 0.3);
  outline: none;
}

.easyel-ee-asw-form .ee-asw-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
  font-size: 16px;
  pointer-events: none;
  transition: color 0.2s;
}

.easyel-ee-asw-input:focus + .ee-asw-icon {
  color: #6b57f3;
}

.easyel-advanced-search-wrapper .easyel-ee-asw-form .easyel-asw-select {
  border-radius: 6px;
  border: none;
  border-right-width: medium;
  border-right-style: none;
  border-right-color: currentcolor;
  font-size: 14px;
  min-width: 150px;
  transition: border 0.2s, box-shadow 0.2s;
  height: 50px;
  line-height: 50px;
  width: 345px;
  border-radius: 6px;
  border-right: 10px solid #fff;
  border: 1px solid #dcd7f3;
}

.easyel-asw-select:focus {
  border-color: #6b57f3;
  box-shadow: 0 0 6px rgba(107, 87, 243, 0.3);
  outline: none;
}

.easyel-asw-select.nice-select:after {
    right: 18px !important;
    height: 8px !important;
    width: 8px!important;
}

.easyel-asw-results {
  margin-top: 18px;
}

.easyel-asw-results-list {
  width: 100%;
  max-width: 967px;
  background: white;
  border-top: 1px solid #f1f0f3;
  box-shadow: 0px 10px 30px 5px rgba(19, 65, 98, 0.1);
  z-index: 104;
  transition: opacity 0.3s linear, clip 0.6s linear, visibility 0s 0.2s;
  border-radius: 12px;
}

.easyel-asw-results-list::-webkit-scrollbar {
    width: 6px;
}

.easyel-asw-results-list::-webkit-scrollbar-thumb {
  background-color: rgba(107, 87, 243, 0.5);
  border-radius: 3px;
}

.easyel-asw-results-list::-webkit-scrollbar-track {
  background-color: rgba(0,0,0,0.05);
  border-radius: 3px;
}

.ee-asw-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 10px 15px;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-top: 10px;
}

.ee-asw-item:first-child {
  margin-top: 0;
}

.ee-asw-item:hover {
  transform: translateY(-2px);
  background-color: #F7F8FB;
}

.ee-asw-item .ee-asw-thumb {
    width: 120px;
    height: 75px;
    margin-right: 5px;
}

.ee-asw-item .ee-asw-thumb img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.easyel-asw-results-count {
  color: #666;
  margin-bottom: 8px;
  padding: 14px 40px 14px 20px;
  border-bottom: 1px solid #E3E0F5;
  transition: 0.3s;
  font-size: 18px;
}

.easyel-asw-results {
  display: none;
  animation: result .2s linear 0s 1 alternate-reverse none;
}

.easyel-asw-results.active {
  display: block;
}

.easyel-asw-results-list.loading,
.easyel-search-result-list.loading
 {
    position: relative;
    min-height: 80px; 
    pointer-events: none;
    opacity: 0.6; 
}


.easyel-asw-results-list.loading::after,
.easyel-search-result-list.loading::after {
    content: "";
    width: 36px;
    height: 36px;
    border: 4px solid #d1d1d1;
    border-top-color: #6b57f3;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    animation: ee-spin 0.8s linear infinite;
    z-index: 10;
}


.easyel-asw-results-list.loading::before ,
.easyel-search-result-list.loading::before 
{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 5;
}

.easyel-search-input {
  position: relative;
}

.easyel-search-input .easyel-normal-search {
    position: absolute;
    top: 50%;
    left: 20px;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 4;
    pointer-events: none;
    font-size: 18px;
    line-height: 1;
}

.easyel-asw-search-submit {
  background-color:  #6b57f3;
  color: #fff;
  border: none;
  padding: 12px 26px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  height: 50px;
  max-width: max-content;
}

.easyel-asw-search-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(75, 123, 255, 0.2);
}

.easyel-search-result-list {
    padding: 20px;
    overflow-y: auto !important;
    height: 430px;
    max-height: calc(100vh - 250px);
}

.easyel-search-input .easyel-search-close {
  display: none;
}

.ee-asw-no-results {
  padding: 15px 15px 25px;
}

.easyel-asw-load-more-wrap {
  text-align: center;
}

.easyel-asw-load-more {
  padding: 6px 14px;
  border-radius: 5px;
  margin-bottom: 20px;
  background-color:  #6b57f3, ;
  color: #fff;
  border: none;
}

.easyel-advanced-search-wrapper .easyel-ee-asw-form .easyel-no-search-icon .easyel-ee-asw-input {
  padding-left: 20px;
}



@keyframes ee-spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.easyel-search-input {
    position: relative;
    display: flex;
    align-items: center;
}

.easyel-search-input input.easyel-ee-asw-input {
    width: 100%;
    padding-right: 35px; 
    box-sizing: border-box;
}

.easy-advanced-search-loadmore {
  position: absolute;
  right: 16px;
  width: 16px;
  height: 16px;
  border: 2px solid #ccc;
  border-top: 2px solid #333;
  border-radius: 50%;
  display: block;
  top: 18px;
}

.easy-advanced-search-loadmore.active {
    display: inline-block;
    animation: easyel-spin 0.8s linear infinite;
}

@keyframes easyel-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.easyel-search-close {
    position: absolute;
    right: 10px;
    cursor: pointer;
    display: none;
    color: #666;
    transition: color 0.2s;
    height: 25px;
    top: 50%;
    transform: translateY(-50%);
}
.easyel-search-close svg {
    width: 25px;
    height: 25px;
}

.easyel-search-close:hover {
    color: #000;
}


.easyel-asw-results {
    margin-top: 10px;
    display: none;
}

.ee-asw-no-results {
    text-align: center;
    padding: 10px;
    color: #999;
}



.easy-custom-select {
  position: relative;
  
}

.easy-custom-select .easy-select-selected {
    transition: border 0.2s, box-shadow 0.2s;
    height: 50px;
    line-height: 35px;
    width: 345px;
    border-radius: 6px;
    border-right: 10px solid #fff;
    border: 1px solid #dcd7f3;
    display: flex;
    align-items: center;
}


.easy-custom-select select {
  display: none; 
}

.easy-custom-select .easy-select-selected {
  background-color: #fff;
  color: #817979;

}

.easy-custom-select .easy-select-selected:after {
  position: absolute;
  content: "";
  top: 58%;
  right: 20px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-color: #817979 transparent transparent transparent;
  transform: translateY(-42%);
}

.easy-select-selected.easy-select-arrow-active:after {
  border-color: transparent transparent #817979 transparent;
  top: 15px;
}

.easy-select-items div,
.easy-select-selected {
  color: #817979;
  padding: 8px 16px;
  border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
  cursor: pointer;
  user-select: none;
}

.easy-select-items {
  position: absolute;
  background-color: #fff;
  color: #817979;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-top: 10px;
}

.easy-search-select-hide {
  display: none;
}

.easy-select-items div:hover, 
.easy-search-as-selected {
  background-color: #f6f6f6;
  color: #817979;
}