.search-container {
    position: relative;
    margin-bottom: 20px;
    text-align: center;
  }
  
  .search-container input {
    padding: 10px 40px 10px 10px; /* Adjust the padding to accommodate the search icon */
    width: 300px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    outline: none;
  }
  
  .search-container input:focus {
    border-color: #2196f3;
    box-shadow: 0 0 5px #2196f3;
  }
  
  .search-container .search-icon {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    color: #888;
    cursor: pointer;
    pointer-events: none; /* Prevents the icon from capturing mouse events */
  }
  
  .search-container .search-icon:before {
    content: "\f002";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
  }
  
  .search-container .loader {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    display: none;
  }
  
  /* Loader animation inspired by Windows 10 */
  .search-container .loader:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top-color: #2196f3;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  