@import url('https://fonts.googleapis.com/css2?family=Give+You+Glory&display=swap');

html, body {
  overflow-x: hidden;
}

html { scroll-behavior: smooth; }

h1 {
  font-family: 'Give You Glory', cursive;
}

.dtv-stars {
  height: 1em;
  width: 4em;
  display: inline-block;
  vertical-align: middle;

  background-image: url('images/icons/dtv_star.svg');
  background-repeat: repeat-x;
  background-size: 1em 1em;
}

.xsoft-rounded-button {
  border-radius: 30px;
}

.flatpickr-day.booked {
    background: #ef4444 !important;
    color: white !important;
    cursor: not-allowed;
}

.flatpickr-day.free {
    background: #22c55e !important;
    color: white !important;
}

.flatpickr-day.flatpickr-disabled {
    background: #f3f4f6 !important;
    color: #9ca3af !important;
    cursor: not-allowed;
}

.flatpickr-day {
    width: 4rem !important;
    height: 4rem !important;
    max-width: 4rem !important;
    line-height: 4rem !important;
    border-radius: 0.1rem !important;
    border: 1px solid #fff !important;
}
.flatpickr-calendar {
 width: 400px !important; 
}



.flatpickr-days {
  width: 400px !important;
  .dayContainer {
    width: 400px !important;
    min-width: 400px !important;
    max-width: 400px !important;
  }
}

.flatpickr-calendar {
  width: 100%;
  max-width: 420px;
}

/* .flatpickr-day {
  width: clamp(2.2rem, 11vw, 4rem);
  height: clamp(2.2rem, 11vw, 4rem);
  line-height: clamp(2.2rem, 11vw, 4rem);
  max-width: none;
} */

.flatpickr-days,
.flatpickr-rContainer,
.dayContainer {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background: transparent !important;
    border-color: transparent !important;
    color: inherit !important;
}


.flatpickr-day.booked {
    background: #fca5a5 !important;
    color: #7f1d1d !important;
}

.flatpickr-day.free {
    background: #bbf7d0 !important; 
    color: #064e3b !important;
}

.flatpickr-day.past-day {
    background: #e5e5e5 !important; 
    color: #7c7c7c !important;
}

.flatpickr-day {
    border-radius: 0;
}
.flatpickr-day:hover {
    background: inherit;
}

.flatpickr-months, .flatpickr-weekdays {
  background-color: #b6ced5 !important;
}

.flatpickr-months .flatpickr-month, .flatpickr-prev-month, .flatpickr-next-month {
  color:#fff !important;
  fill: #fff !important;
}

.flatpickr-months .flatpickr-prev-month {
  color:#fff !important;
  fill: #fff !important;
}

.flatpickr-months .flatpickr-next-month {
  color:#fff !important;
  fill: #fff !important;
}

@media (max-width: 420px) {
  .flatpickr-day {
    width: 3rem !important;
    height: 3rem !important;
    max-width: 3rem !important;
    line-height: 3rem !important;
  }
  .flatpickr-calendar {
    width: 310px !important; 
  }

  .flatpickr-days {
    width: 310px !important;
    .dayContainer {
      width: 310px !important;
      min-width: 310px !important;
      max-width: 310px !important;
    }
  }

  .flatpickr-calendar {
    width: 100%;
    max-width: 310px;
  }
}