/* Modern Search Bar Styles */
.modern-search-bar {
  background-color: #fff;
  border-radius: 2rem;
  padding: 0;
  box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.modern-search-group {
  margin-bottom: 0;
}

.modern-search-wrapper {
  display: flex;
  align-items: center;
  position: relative;
}

.modern-search-input {
  flex: 1;
  border: none !important;
  padding: 1.5rem 2rem !important;
  font-size: 1.6rem;
  background-color: transparent;
  color: #333;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none;
}

.modern-search-input::placeholder {
  color: #999;
}

.modern-search-input:focus {
  outline: none;
  box-shadow: none !important;
}

.modern-search-button {
  background-color: #ff0000 !important;
  border: none !important;
  color: #fff !important;
  padding: 1.5rem 3rem !important;
  font-size: 1.6rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-radius: 0 !important;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 !important;
  min-width: auto !important;
}

.modern-search-button:hover,
.modern-search-button:focus,
.modern-search-button:active {
  background-color: #ff0000 !important;
  color: #fff !important;
  border: none !important;
  box-shadow: none !important;
}

.modern-search-bar .modern-search-button {
  background-color: #ff0000 !important;
  color: #fff !important;
}

.modern-search-button i {
  color: #fff !important;
}

.modern-search-button i {
  font-size: 1.6rem;
}

/* Hide default labels for modern search form */
.modern-search-bar .form-group label {
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .modern-search-wrapper {
    flex-direction: column;
  }
  
  .modern-search-input {
    border-radius: 1rem 1rem 0 0 !important;
    padding: 1.2rem 1.5rem !important;
  }
  
  .modern-search-button {
    width: 100%;
    border-radius: 0 0 1rem 1rem !important;
    justify-content: center;
    padding: 1.2rem 2rem !important;
  }
}
