/* Search Input Field Styling */
.search-input-field {
  background: #fff;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 0.45rem 3.5rem 0.45rem 2.5rem !important;
  font-size: 0.95rem;
  font-weight: 500;
  color: #495057;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  width: 100%;
}

.search-input-field:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  outline: 0;
}

.search-input-field:hover {
  border-color: #007bff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.search-input-field::placeholder {
  color: #6c757d;
}

/* Mic Button Styling - More Visible */
.mic-button {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: #f8f9fa;
  border: 2px solid #dee2e6;
  color: #000;
  padding: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 3;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mic-button:hover {
  color: #007bff;
  background: #e7f3ff;
  border-color: #007bff;
  transform: translateY(-50%) scale(1.1);
}

.mic-button:active {
  background: #cce5ff;
  transform: translateY(-50%) scale(0.95);
}

.mic-button.listening {
  color: #fff;
  background: #dc3545;
  border-color: #dc3545;
  animation: pulse 1.5s infinite;
}

.mic-button i {
  font-size: 18px;
  font-weight: 900;
}

@keyframes pulse {
  0%, 100% { 
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
  50% { 
    opacity: 0.7;
    transform: translateY(-50%) scale(1.15);
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .search-input-field {
    padding: 0.65rem 3.5rem 0.65rem 2.3rem !important;
    font-size: 1rem;
  }
  
  .mic-button {
    width: 36px;
    height: 36px;
  }
  
  .mic-button i {
    font-size: 17px;
  }
}

@media (max-width: 576px) {
  .search-input-field {
    padding: 0.55rem 3.2rem 0.55rem 2.2rem !important;
    font-size: 0.95rem;
  }
  
  .mic-button {
    right: 10px;
    width: 34px;
    height: 34px;
  }
  
  .mic-button i {
    font-size: 16px;
  }
  
  .select-icon {
    left: 10px;
    font-size: 0.8rem;
  }
}