.site-date {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}
.site-date__display,
.form-grid .site-date__display,
.filters .site-date__display,
.account-form .site-date__display,
.gt-table input.site-date__display {
  box-sizing: border-box;
  width: 100%;
  cursor: pointer;
  background: #fff;
  padding-right: 2.6rem;
}
.site-date__open {
  position: absolute;
  top: 50%;
  right: .35rem;
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #275F99;
  cursor: pointer;
  transform: translateY(-50%);
}
.site-date__open:hover { background: #eaf1f8; }
.site-datetime {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 7.2rem;
  gap: .45rem;
  align-items: center;
  width: 100%;
  min-width: 0;
}
.site-date__time,
.form-grid .site-date__time {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: .65rem .45rem;
  border: 1px solid #d7e2ec;
  border-radius: 8px;
  background: #fff;
  color: #1d3344;
  font: inherit;
  text-align: center;
}
.site-date__time:focus {
  outline: none;
  border-color: #275F99;
  box-shadow: 0 0 0 3px rgba(39, 95, 153, .2);
}
.site-date__time::placeholder { color: #8aa0b3; }
.site-calendar {
  position: fixed;
  z-index: 5000;
  width: 320px;
  padding: .85rem .85rem .55rem;
  border: 1px solid #d7e2ec;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(29, 74, 120, .18);
  color: #275F99;
  font-family: "Lato", "Open Sans", sans-serif;
}
.site-calendar[hidden] { display: none !important; }
.site-calendar__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .35rem;
  margin-bottom: .65rem;
}
.site-calendar__title {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .2rem;
  min-width: 0;
  margin: 0;
  color: #275F99;
  font-size: .98rem;
  font-weight: 700;
  text-align: center;
}
.site-calendar__of { line-height: 1; }
.site-calendar__title select {
  max-width: 7.4rem;
  margin: 0;
  padding: .1rem .05rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #275F99;
  font: inherit;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}
.site-calendar__title select[data-cal="month"] {
  max-width: 6.6rem;
  text-transform: lowercase;
}
.site-calendar__title select[data-cal="year"] { max-width: 4.6rem; }
.site-calendar__title select:hover,
.site-calendar__title select:focus {
  background: #eaf1f8;
  outline: none;
}
.site-calendar__nav {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #275F99;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}
.site-calendar__nav:hover { background: #eaf1f8; }
.site-calendar__week,
.site-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: .15rem;
}
.site-calendar__week {
  margin-bottom: .25rem;
  color: #6b7c89;
  font-size: .75rem;
  font-weight: 700;
  text-align: center;
}
.site-calendar__day {
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #2a3b4d;
  font: inherit;
  font-size: .9rem;
  cursor: pointer;
}
.site-calendar__day:hover { background: #eaf1f8; }
.site-calendar__day.is-out { color: #a8b7c5; }
.site-calendar__day.is-today { color: #275F99; font-weight: 700; }
.site-calendar__day.is-selected,
.site-calendar__day.is-selected:hover {
  background: #275F99;
  color: #fff;
  font-weight: 700;
}
.site-calendar__day:disabled {
  color: #c5d0da;
  cursor: default;
  background: transparent;
}
.site-calendar__foot {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  margin-top: .45rem;
  padding-top: .35rem;
}
.site-calendar__link {
  border: 0;
  background: transparent;
  color: #275F99;
  font: inherit;
  font-size: .92rem;
  font-weight: 700;
  cursor: pointer;
  padding: .35rem .2rem;
}
.site-calendar__link:hover { text-decoration: underline; }
