/* Global Custom Dropdown Styles */
.custom-dropdown {
  position: relative;
  width: 100%;
}

.custom-dropdown-selected {
  background-color: #fff !important;
  padding: 0px 12px;
  border-radius: 0px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  font-size: 14px;
  color: #4a5568;
  height: 60px;
  min-height: 60px;
  border: 1px solid #ddd;
  box-sizing: border-box;
}

.custom-dropdown-selected::after {
  content: '▼';
  font-size: 10px;
  color: #4a5568;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.custom-dropdown.active .custom-dropdown-selected::after {
  transform: rotate(180deg);
}

.custom-dropdown-selected:hover {
  border-color: #d3bf77;
}

.selected-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-dropdown-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #f4f4f4;
  border: 1px solid #ddd;
  border-top: none;
  max-height: 250px;
  overflow-y: auto;
  z-index: 1000;
  display: none !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.custom-dropdown.active .custom-dropdown-options {
  display: block !important;
}

.dropdown-option {
  padding: 12px 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 15px;
  color: #4a5568;
  border-bottom: 1px dashed rgba(168, 136, 29, 0.15);
}

.dropdown-option:last-child {
  border-bottom: none;
}

.dropdown-option:hover {
  background-color: rgba(171, 142, 84, 0.15);
}

.dropdown-option.selected {
  background-color: rgba(180, 152, 100, 0.2);
  color: #a9861e;
  font-weight: 500;
}

/* Scrollbar for dropdown */
.custom-dropdown-options::-webkit-scrollbar {
  width: 6px;
}

.custom-dropdown-options::-webkit-scrollbar-track {
  background: #e5e5e5;
}

.custom-dropdown-options::-webkit-scrollbar-thumb {
  background: #a87f25;
  border-radius: 3px;
}

.custom-dropdown-options::-webkit-scrollbar-thumb:hover {
  background: #b98828;
}

/* Form-specific styling */
.stay-booking-form .custom-dropdown-selected,
.venue-enquiry-form .custom-dropdown-selected {
  background-color: #fff;
  border: 1px solid #adadad;
  border-radius: 0px;
  padding: 10px 12px;
  height: 54px;
  min-height: 54px;
  font-size: 14px;
}

.stay-booking-form .custom-dropdown-selected:focus,
.venue-enquiry-form .custom-dropdown-selected:focus {
  border-color: #d3bf77;
  outline: none;
  box-shadow: 0 0 0 2px rgba(211, 191, 119, 0.1);
}

