/* Slider input fields styling */
.slider-input-fields {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
}

.slider-input {
  width: 80px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 5px;
  font-size: 14px;
}

/* Make sure the inputs are properly spaced */
.slider-input-fields input:first-child {
  margin-right: 10px;
}

.slider-input-fields input:last-child {
  margin-left: 10px;
}

/* Price input styling */
.price-input-wrapper {
  position: relative;
  width: 150px;
}

.price-input {
  width: 100%;
  padding: 4px 8px;
  padding-left: 30px;
  /* Make space for the euro sign */
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: left;
  font-weight: 500;
  color: #333;
  transition: border-color 0.2s ease-in-out;
  line-height: normal;
  height: 40px;
  display: flex;
  align-items: center;
}

/* Position the euro sign inside the input */
.price-input-wrapper::before {
  content: '€';
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  font-weight: 500;
  color: #333;
  pointer-events: none;
  /* Make sure clicks go through to the input */
  z-index: 1;
  /* Ensure it appears above the input */
}

.price-input:focus {
  outline: none;
  border-color: #4a90e2;
  box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.price-input::placeholder {
  color: #999;
  font-weight: normal;
}

/* Style for mobile devices to show numeric keyboard */
.price-input[inputmode="numeric"] {
  -webkit-appearance: none;
  -moz-appearance: textfield;
  appearance: none;
}

/* Remove spinner buttons from number inputs */
.price-input::-webkit-outer-spin-button,
.price-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Add styling for the currency symbol in the price input box */
.currency-symbol {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  font-size: 14px;
  pointer-events: none;
  color: #333;
}

/* Styling for the reset filter button */
#rug-filter-reset-button {
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: #6c757d;
  color: white;
  border: none;
}

#rug-filter-reset-button:hover {
  background-color: #5a6268;
  color: white;
}

/* Make sure the buttons container displays properly */
.d-flex {
  display: flex;
}

.justify-content-end {
  justify-content: flex-end;
}

.justify-content-between {
  justify-content: space-between;
}

.mt-4 {
  margin-top: 1.5rem;
}

.me-2 {
  margin-right: 0.5rem;
}

/* Ensure buttons are the same height and properly aligned */
#rug-filter-reset-button,
#rug-filter-submit-button {
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 40px;
}