/* ================================
   GOLFCART SEARCH MODULE STYLES
   ================================ */
.golfcart-search {
  background-color: #00579c;
  padding: 2rem;
  border-radius: 8px;
  color: #fff;
  font-family: "Open Sans", sans-serif;
}

.golfcart-search__header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.golfcart-search__title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.golfcart-search__description {
  color: #d9e9f6;
  font-size: 1.1rem;
  margin: 0;
}

/* Tabs */
.golfcart-search__tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.golfcart-search__tab {
  background: #0071ce;
  color: #fff;
  border: none;
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 4px 4px 0 0;
  transition: all 0.2s ease;
}

.golfcart-search__tab:hover {
  background: #338dd7;
}

.golfcart-search__tab.active {
  background: #fff;
  color: #0071ce;
  font-weight: 600;
}

/* Panels */
.golfcart-search__panel {
  display: block;
  background: #0071ce;
  padding: 1.5rem;
  border-radius: 0 0 6px 6px;
}

.golfcart-search__panel[hidden] {
  display: none !important;
}

/* Form */
.golfcart-search__form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.golfcart-search__form label {
  display: none;
}

.golfcart-search__select,
.golfcart-search__input {
  padding: 0.8rem 1rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  width: 200px;
  color: #333;
}

.golfcart-search__button {
  background: #fff;
  color: #0071ce;
  font-weight: 700;
  padding: 0.8rem 1.5rem;
  border: 2px solid #fff;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.golfcart-search__button:hover:not(:disabled) {
  background: #0071ce;
  color: #fff;
  border-color: #fff;
}

.golfcart-search__button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Results */
.golfcart-search__results {
  margin-top: 2rem;
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 6px;
  color: #333;
}

.golfcart-search__result-item {
  border-bottom: 1px solid #ddd;
  padding: 0.75rem 0;
}

.golfcart-search__result-header {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}

.golfcart-search__price {
  color: #0071ce;
}
