/* Pricing */
.rental-pricing {
  display: flex;
  justify-content: space-between;
  align-items: top;
  padding: 0.75rem 0;
  font-size: 1.1rem;
}

.rental-rate {
  opacity: 0.5;
  margin-top: 0.25rem;
}

/* Datepicker */
.ui-datepicker {
  display: none;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 10px;
  width: 18em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  font-family: system-ui, sans-serif;
  font-size: 14px;
  z-index: 9999 !important;
}

.ui-datepicker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.ui-datepicker-prev,
.ui-datepicker-next {
  cursor: pointer;
  color: #333;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  user-select: none;
}

.ui-datepicker-prev:hover,
.ui-datepicker-next:hover {
  background: #f0f0f0;
}

.ui-datepicker-prev::before {
  content: "‹";
  font-size: 18px;
  line-height: 1;
}
.ui-datepicker-next::before {
  content: "›";
  font-size: 18px;
  line-height: 1;
}

.ui-datepicker-prev,
.ui-datepicker-next {
  font-size: 0;
}

.ui-datepicker-title {
  flex-grow: 1;
  text-align: center;
  font-weight: 600;
  display: flex;
  gap: 6px;
  justify-content: right;
  align-items: center;
}

.ui-datepicker select {
  padding: 4px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff;
  font-size: 13px;
  font-family: inherit;
  height: auto !important;
  widht: auto !important;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23666' height='20' width='20' xmlns='http://www.w3.org/2000/svg'><polygon points='5,7 10,12 15,7'/></svg>");
  background-repeat: no-repeat;
  background-position: right 6px center;
  background-size: 12px;
  padding-right: 20px;
  cursor: pointer;
}

.ui-datepicker select:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2);
}

.ui-datepicker table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: center;
}

.ui-datepicker th {
  padding: 4px 0;
  font-weight: 500;
  color: #555;
}

.ui-datepicker td {
  padding: 0;
}

.ui-datepicker td span,
.ui-datepicker td a {
  display: block;
  padding: 6px 0;
  text-decoration: none;
  color: #222;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.ui-datepicker td a:hover {
  background: #e9f2ff;
  color: #007bff;
}

.ui-datepicker-today a {
  background: #d6e9ff;
  color: #0056b3 !important;
  font-weight: 600;
}

.ui-datepicker-current-day a {
  background: #0056b3;
  color: #fff !important;
}

.ui-datepicker-unselectable span,
.ui-datepicker-unselectable a {
  color: #bbb !important;
  cursor: not-allowed !important;
}
