.funicular-date-picker {
  position: relative;
}

.funicular-date-picker__input_row {
  display: flex;
  gap: 0.5rem;
}

.funicular-date-picker__button,
.funicular-date-picker__nav,
.funicular-date-picker__footer_button {
  border-radius: 0.375rem;
  cursor: pointer;
  font: inherit;
}

.funicular-date-picker__button {
  border: 0;
  background: #2563eb;
  color: #fff;
  font-weight: 600;
  padding: 0.5rem 1rem;
  white-space: nowrap;
}

.funicular-date-picker__button:hover {
  background: #1d4ed8;
}

.funicular-date-picker__nav,
.funicular-date-picker__footer_button {
  border: 1px solid #d1d5db;
  background: #fff;
  color: #374151;
}

.funicular-date-picker__nav:hover,
.funicular-date-picker__footer_button:hover,
.funicular-date-picker__day:hover {
  background: #f3f4f6;
}

.funicular-date-picker__panel {
  position: absolute;
  z-index: 30;
  top: calc(100% + 0.5rem);
  left: 0;
  width: 19rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  padding: 0.75rem;
}

.funicular-date-picker__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.funicular-date-picker__month {
  font-weight: 600;
  color: #111827;
}

.funicular-date-picker__nav {
  width: 2rem;
  height: 2rem;
}

.funicular-date-picker__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
}

.funicular-date-picker__weekday {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
  padding: 0.25rem 0;
}

.funicular-date-picker__empty {
  height: 2rem;
}

.funicular-date-picker__day {
  height: 2rem;
  border: 0;
  border-radius: 0.375rem;
  background: transparent;
  color: #111827;
  cursor: pointer;
}

.funicular-date-picker__day--selected {
  background: #2563eb;
  color: #fff;
}

.funicular-date-picker__day--selected:hover {
  background: #1d4ed8;
}

.funicular-date-picker__footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.funicular-date-picker__footer_button {
  padding: 0.375rem 0.75rem;
}
