.uplift-dt {
  position: relative;
  font-family: inherit;
}

.uplift-dt-input {
  padding-right: 2.5rem;
}

.uplift-dt-toggle {
  position: absolute;
  top: 50%;
  right: 0.5rem;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--uplift-text);
}

.uplift-dt-toggle svg {
  width: 22px;
  height: 22px;
}

.uplift-dt-toggle:hover,
.uplift-dt-toggle:focus-visible {
  background: var(--uplift-bg);
  color: var(--uplift-gold-dark);
  outline: none;
}

.uplift-dt-pop {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 1055;
  width: 200px;
  padding: 0.5rem;
  border: 1px solid var(--uplift-border);
  border-radius: 10px;
  background: var(--uplift-white);
  box-shadow: 0 10px 24px rgba(39, 39, 39, 0.12);
  color: var(--uplift-text);
  font-family: inherit;
  font-size: 0.75rem;
  zoom: 1.2;
}

.uplift-dt-pop[hidden] {
  display: none;
}

.uplift-dt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.uplift-dt-title {
  font-weight: 600;
  font-size: 0.8rem;
}

.uplift-dt-nav {
  width: 24px;
  height: 24px;
  border: 1px solid var(--uplift-border);
  border-radius: 8px;
  background: var(--uplift-white);
  color: var(--uplift-text);
  font-size: 1.1rem;
  line-height: 1;
}

.uplift-dt-nav:hover,
.uplift-dt-nav:focus-visible {
  border-color: var(--uplift-gold);
  outline: none;
}

.uplift-dt-grid {
  display: grid;
  grid-template-columns: repeat(7, 26px);
  justify-content: center;
  gap: 0;
  text-align: center;
}

.uplift-dt-weekdays span {
  padding: 0.25rem 0;
  color: #7a7a7a;
  font-size: 0.65rem;
}

.uplift-dt-day {
  height: 24px;
  width: 26px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--uplift-text);
}

.uplift-dt-day:hover,
.uplift-dt-day:focus-visible {
  background: var(--uplift-bg);
  outline: none;
}

.uplift-dt-day.is-outside {
  color: #a6a6a6;
}

.uplift-dt-day.is-today {
  box-shadow: inset 0 0 0 1px var(--uplift-gold);
}

.uplift-dt-day.is-selected,
.uplift-dt-day.is-selected:hover {
  background: var(--uplift-gold);
  color: #fff;
}

.uplift-dt-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.uplift-dt-link {
  border: 0;
  background: transparent;
  color: var(--uplift-gold-dark);
  padding: 0.25rem 0.4rem;
  font-family: inherit;
}

.uplift-dt-link:hover,
.uplift-dt-link:focus-visible {
  text-decoration: underline;
  outline: none;
}
