.datepicker-card {
  background: white;
  border-radius: 1rem;
  /* padding: 1rem; */
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  font-family: sans-serif;
  /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); */
}

.datepicker-card button {
  color: #7D55C6;
  border: none;
  padding: 0.25rem .75rem;
  font-weight: 400;
  font-size: 1rem;
}

.datepicker-header * {
  color: #B1A1E4 !important;
}

.calendar-footer{
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.calendar-footer{
  font-size: 1rem;
}

.datepicker-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .5rem 0;
  color: #B1A1E4;
  font-weight: 500;
  cursor: pointer;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: .3rem;
  text-align: center;
  margin-top: .5rem;
}

.calendar-grid * {
  margin: 0 auto;
}

.datepicker-card hr{
  border-color: #7D55C6;
  border-width: 2px;
  margin: 0 0 1rem;
}

.calendar-years-list,
.calendar-month-list {
  display: flex;
  flex-direction: column;
}

.calendar-year,
.calendar-month {
  text-align: left;
  padding-left: 2rem;
  padding: 1rem 2rem 1rem 3rem;
  position: relative;
}

.calendar-year .bi,
.calendar-month .bi {
  display: none;
  font-size: 2rem;
  position: absolute;
  left: .5rem;
  top: 50%;
  transform: translateY(-50%);
}

.calendar-year.active .bi,
.calendar-month.active .bi {
  display: block;
}

.calendar-day {
  /* padding: .4rem; */
  display: flex;
  align-items: center;
  justify-content: center;

  width: 2rem;
  height: 2rem;
  border-radius: 50% !important;
  cursor: pointer;
}

.calendar-day:hover {
  background-color: rgba(123, 97, 255, 0.1);
}

.selected {
  background-color: #7D55C6;
  color: white;
}

.in-range {
  background-color: #EDE9FE;
}

.muted-day {
  color: #B1A1E4 !important;
}

.calendar-weekday {
  font-weight: 600;
  padding: 1rem 0;
  font-size: 1rem;
  color: #666;
}

.datepicker-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
}

.datepicker-footer button {
  border: none;
  background: none;
  padding: .3rem .6rem;
  border-radius: .5rem;
  cursor: pointer;
}

.btn-clear {
  color: #dc3545;
}

.btn-cancel {
  color: #6c757d;
}

.btn-ok {
  background-color: #7b61ff;
  color: white;
}

#monthLabel, #yearLabel{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}