/* ==========================================
   PROPERTY SEARCH SECTION
========================================== */

.property_search_section {
  width: 100%;
  padding: 30px 0;
  /* background: #ffffff; */
}

.property_search_container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
}

/* ==========================================
   SEARCH BOX
========================================== */

.property_search_box {
  width: 100%;
  min-height: 60px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #cfcfcf;
  position: relative;
  transition: border-color 0.35s ease;
}

.property_search_box::before {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: #111111;
  transition: width 0.6s ease;
}

.property_search_box:focus-within::before {
  width: 100%;
}

/* ==========================================
   SEARCH INPUT
========================================== */

.property_search_input_wrapper {
  flex: 1;
  min-width: 0;
  height: 55px;
  display: flex;
  align-items: center;
}

.property_search_icon {
  width: 16px;
  margin-right: 13px;
  color: #111111;
  font-size: 15px;
  transition: transform 0.3s ease;
}

.property_search_input_wrapper:focus-within .property_search_icon {
  transform: scale(1.15);
}

.property_search_input {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: #111111;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.property_search_input::placeholder {
  color: #222222;
  opacity: 1;
}

.property_search_input:focus::placeholder {
  opacity: 0.45;
}

/* ==========================================
   SELECT
========================================== */

.property_search_select_wrapper {
  width: 160px;
  margin-left: 25px;
}

.property_search_select {
  width: 100%;
}

/* React Select */

.property-select__control {
  min-height: 40px !important;
  height: 40px;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  cursor: pointer !important;
}

.property-select__control:hover {
  border: none !important;
}

.property-select__value-container {
  padding: 0 !important;
  justify-content: flex-end;
}

.property-select__single-value {
  color: #111111 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 !important;
}

.property-select__indicator-separator {
  display: none;
}

.property-select__indicators {
  padding-left: 5px;
}

.property-select__dropdown-indicator {
  padding: 5px !important;
  color: #111111 !important;
  transition: transform 0.3s ease;
}

.property-select__control--menu-is-open .property-select__dropdown-indicator {
  transform: rotate(180deg);
}

.property-select__menu {
  margin-top: 8px !important;
  border-radius: 0 !important;
  border: 1px solid #dddddd !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1) !important;
  overflow: hidden;
  z-index: 20;
}

.property-select__option {
  padding: 12px 15px !important;
  color: #111111 !important;
  background: #ffffff !important;
  font-size: 13px !important;
  letter-spacing: 0.5px;
  cursor: pointer !important;
  transition: all 0.25s ease;
}

.property-select__option:hover {
  padding-left: 20px !important;
  background: #f3f3f3 !important;
}

.property-select__option--is-selected {
  color: #ffffff !important;
  background: #202020 !important;
}

.property-select__option--is-focused {
  background: #202020 !important;
}

/* ==========================================
   VOICE BUTTON
========================================== */

.property_voice_btn {
  width: 42px;
  height: 42px;
  margin-left: 10px;
  padding: 0;
  border: none;
  background: transparent;
  color: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.property_voice_btn svg {
  font-size: 17px;
}

.property_voice_btn:hover {
  transform: translateY(-2px);
}

/* ==========================================
   SEARCH BUTTON
========================================== */

.property_search_btn {
  width: 45px;
  height: 45px;
  margin-left: 10px;
  border: 1px solid #111111;
  border-radius: 50%;
  background: #111111;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: all 0.35s ease;
}

.property_search_btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #ffffff;
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.35s ease;
}

.property_search_btn svg {
  position: relative;
  z-index: 1;
  font-size: 14px;
  transition: all 0.35s ease;
}

.property_search_btn:hover {
  color: #111111;
  transform: translateX(3px);
}

.property_search_btn:hover::before {
  transform: scale(1);
}

.property_search_btn:hover svg {
  transform: translateX(2px);
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 768px) {
  .property_search_section {
    padding: 25px 0;
  }

  .property_search_container {
    width: 92%;
  }

  .property_search_dot {
    width: 16px;
    height: 16px;
    margin-right: 20px;
  }

  .property_search_box {
    min-height: 55px;
  }

  .property_search_input {
    font-size: 14px;
  }

  .property_search_select_wrapper {
    width: 130px;
    margin-left: 15px;
  }

  .property_voice_btn {
    width: 35px;
  }

  .property_search_btn {
    width: 40px;
    height: 40px;
  }
}

/* ==========================================
   MOBILE
========================================== */

@media (min-width: 0px) and (max-width: 576px) {
  .property_search_section {
    padding: 20px 0;
  }

  .property_search_container {
    display: block;
  }

  .property_search_dot {
    display: none;
  }

  .property_search_box {
    min-height: auto;
    padding: 12px 0;
    flex-wrap: wrap;
    gap: 5px;
  }

  .property_search_input_wrapper {
    width: 100%;
    flex: none;
    height: 45px;
  }

  .property_search_input {
    font-size: 13px;
  }

  .property_search_select_wrapper {
    width: calc(100% - 100px);
    margin: 0;
  }

  .property_voice_btn {
    width: 35px;
    margin: 0;
  }

  .property_search_btn {
    width: 42px;
    height: 42px;
    margin: 0;
  }

  .property-select__value-container {
    justify-content: flex-start;
  }
}

/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 380px) {
  .property_search_input {
    font-size: 12px;
    letter-spacing: 0.7px;
  }

  .property_search_select_wrapper {
    width: calc(100% - 90px);
  }

  .property_search_btn {
    width: 38px;
    height: 38px;
  }
}
