.rp-searchbar {
  width: fit-content;
  margin: 0 auto;
}
.rp-searchbar__inner {
  display: flex;
  align-items: center;
  gap: 30px;
    padding: 18px 49px;
  border: 1px solid #e6e6e6;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
.rp-field {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid #BBBBBB;
  border-radius: 100px;
}
@media(max-width:960px){
  .rp-field {
  border: 2px solid #BBBBBB;
  }
}
.rp-field:last-of-type {
  /* border-right: 0; */
}
@media(max-width:960px){
  .rp-field {
  border: 1px solid #BBBBBB !important;
  }
}
.rp-field--dates {
  flex: 1 1 auto;
  min-width: 320px;
  justify-content: flex-end;
}
.rp-field--type {
  flex: 0 0 auto;
}
.rp-field--qty {
  flex: 0 0 auto;
  /* border-right: 0; */
  /* padding-right: 6px; */
}
.rp-ico {
  font-size: 18px;
  line-height: 1;
  opacity: 0.75;
}
.rp-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rp-label__text {
  font-size: 12px;
  color: #6b7280;
  line-height: 1;
}
.rp-input,
.rp-select {
  border: 0 !important;
  outline: 0;
  background: transparent;
  font-size: 14px;
  color: #111827;
  padding: 0;
  /* min-width: 140px; */
}

.rp-input.js-date-start,
.rp-input.js-date-end{
  width: 110px;
    text-align: center;
    font-size: 14px;
}

.rp-qty{
  border: 0px !important;
}
.rp-label--select .rp-select {
  min-width: 120px;
  cursor: pointer;
}
.rp-sep {
  font-size: 14px;
  padding: 0 2px;
  display: flex;
}
.rp-field--qty {
  gap: 8px;
  padding: 5px 5px;
}
.rp-qtybtn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #F5F5F5;
  cursor: pointer;
  font-size: 18px;
  border:0;
  line-height: 1;
}
.rp-qtybtn:hover {
  color: #59C0A7;
}
.rp-qty {
  width: 38px;
  text-align: center;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
  color: #111827;
  max-width: 15px;
}
.rp-btn {
  margin-left: auto;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-size: 14px;
  text-transform: uppercase;
  color: #fff;
  background: #59C0A7;
  white-space: nowrap;
}
.rp-btn:hover {
  filter: brightness(0.95);
}

.flatpickr-day {
  cursor: pointer;
}

.flatpickr-day.inRange {
  background: rgba(0, 123, 255, 0.15);
  border-color: rgba(0, 123, 255, 0.15);
  box-shadow: none;  
  transition: background 0.15s ease;
}

.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: #007bff;
  border-color: #007bff;
  color: #fff;
}

.flatpickr-day.startRange {
  border-top-left-radius: 999px;
  border-bottom-left-radius: 999px;
}

.flatpickr-day.endRange {
  border-top-right-radius: 999px;
  border-bottom-right-radius: 999px;
}

@media (max-width: 900px) {
  .rp-searchbar__inner {
    flex-wrap: wrap;
    border-radius: 18px;
  }
  .rp-field {
    border-right: 0;
    border-bottom: 1px solid #efefef;
    width: 100%;
  }
  .rp-field--dates{
    flex-direction: column;
  }
  .rp-field--qty {
    border-bottom: 0;
    width: auto;
  }
  .rp-btn {
    width: 100%;
    margin-left: 0;
  }
}
