/* Modified by WOComm for ResEZ 26.0.0 (10 Nov 2026; commit 20). See CHANGES-RESEZ.md. GPL v2 section 2a notice; the original notices are unchanged. */

.ui-datepicker {
  background-color: #fff;
  box-shadow: 0 0 0.25em rgba(0, 0, 0, 0.3);
  display: none;
  padding: 1em;
  width: 25em;
  max-width: calc(100vw - 3em);
}

.ui-datepicker-calendar a {
  color: inherit;
  text-decoration: none;
}

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

.ui-datepicker-prev,
.ui-datepicker-next {
  cursor: pointer;
}

.ui-datepicker-next {
  order: 1;
}

.ui-datepicker-prev .ui-icon,
.ui-datepicker-next .ui-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 20' fill='none' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 2 L3.5 5 L6.5 8' stroke='%23484a4e'/%3E%3Cpath d='M3.5 12 L6.5 15 L3.5 18' stroke='%23484a4e'/%3E%3Cpath d='M16.5 2 L13.5 5 L16.5 8' stroke='%238fa31f'/%3E%3Cpath d='M13.5 12 L16.5 15 L13.5 18' stroke='%238fa31f'/%3E%3Cpath d='M26.5 2 L23.5 5 L26.5 8' stroke='%23c8c8ca'/%3E%3Cpath d='M23.5 12 L26.5 15 L23.5 18' stroke='%23c8c8ca'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 300%;
  display: inline-block;
  height: 1em;
  overflow: hidden;
  text-indent: -999px;
  width: 1em;
}

.ui-datepicker-prev:hover .ui-icon-circle-triangle-w {
  background-position: -1em 0;
}

.ui-datepicker-prev.ui-state-disabled .ui-icon-circle-triangle-w {
  background-position: -2em 0;
}

.ui-datepicker-next .ui-icon-circle-triangle-e {
  background-position: 0 -1em;
}

.ui-datepicker-next:hover .ui-icon-circle-triangle-e {
  background-position: -1em -1em;
}

.ui-datepicker-next.ui-state-disabled .ui-icon-circle-triangle-e {
  background-position: -2em -1em;
}

.ui-datepicker-title {
  font-size: 1.5rem;
  font-weight: 700;
}

.ui-datepicker-calendar td,
.ui-datepicker-calendar th {
  text-align: center;
}

.ui-datepicker-calendar td a,
.ui-datepicker-calendar td span {
  background-color: #f6f6f6;
  display: block;
  padding: 0.5em 1em;
}

.ui-datepicker-calendar .ui-datepicker-unselectable {
  color: #c8c8ca;
}

.ui-datepicker-calendar .ui-datepicker-today a,
.ui-datepicker-calendar .ui-datepicker-today span {
  color: #bed62f;
  font-weight: 700;
}

.ui-datepicker-calendar .ui-datepicker-current-day a {
  background-color: #bed62f;
  color: #fff;
  font-weight: 700;
}

.ui-datepicker-buttonpane {
  margin-top: 1em;
}

.ui-datepicker-buttonpane button {
  background-color: #484a4e;
  color: #fff;
  font-size: 0.75rem;
  padding: 0.25em 0.5em;
}

.ui-datepicker-buttonpane button + button {
  margin-left: 0.5em;
}

.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year{width:49%;}

@media (max-width: 30em) {
  .ui-datepicker {
    padding: 0.5em;
  }
  .ui-datepicker-calendar td a,
  .ui-datepicker-calendar td span {
    padding: 0.5em 0;
  }
}
