/* General Reset */
.elementor-search-form {
  display: block;
  position: relative;
  transition: 0.2s;
}

.elementor-search-form input[type="search"], 
.elementor-search-form button {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-size: 15px;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
  white-space: normal;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.elementor-search-form input[type="search"]:focus, 
.elementor-search-form button:focus {
  outline: 0;
  color: inherit;
}

/* Container with rounded corners */
.elementor-search-form__container {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 50px; /* Rounded edges */
  overflow: hidden;
  min-height: 50px;
}

/* Input styling */
.elementor-search-form input[type="search"] {
  border: none;
  height: 50px;
  padding: 10px 15px;
  font-size: 15px;
  flex-grow: 1;
  border-radius: 50px;
  background-color: #f4f4f4;
}

/* Button (submit) styling */
.elementor-search-form .elementor-search-form__submit {
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  background-color: #818a91;
  border-radius: 50%;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.rtl .elementor-search-form .elementor-search-form__submit {
  position: absolute;
  top: 0;
  right: auto;
  left: 0;
}
/* Change button color on hover */
.elementor-search-form .elementor-search-form__submit:hover {
  background-color: #555;
}

/* Font Awesome icon inside the button */
.elementor-search-form .elementor-search-form__submit::before {
  content: "\f002"; /* Font Awesome search icon */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 18px;
}
