@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

body {
  margin: 0;
  padding: 0;
  width: 100%;
  transition: all 0.1s ease;
}

.main {
  display: flex;
  width: auto;
}

.calendar-main {
  display: flex;
  gap: 20px;
  border: 1px solid rgba(26, 26, 26, 0.1);
  box-shadow: 0 1px 8px 0 rgb(0 0 0/8%);
  border-radius: 8px;
  width: auto;
}

.calendar-heading {
  font-size: 18px;
  font-weight: 700;
  text-align: left;
  font-family: "Montserrat", sans-serif;
  padding-left: 17px;
}

.calendar {
  opacity: 0.6;
  position: relative;
  display: flex;
  flex-direction: column;
  width: auto;
  height: auto;
  padding: 15px;
  background-color: white;
  font-family: "Montserrat", sans-serif;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 65px;
  padding-right: 65px;
  margin-bottom: 20px;
  margin-top: 30px;
}

.month-year {
  font-weight: 400;
  color: rgb(26, 26, 26);
}

.calendar-weekdays {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.calendar-weekdays p {
  width: calc(100% / 7);
  white-space: nowrap;
  text-align: center;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 12px;
  line-height: 1;
  color: rgb(26, 26, 26);
  font-family: "Montserrat", sans-serif;
}

.calendar-days {
  display: flex;
  flex-wrap: wrap;
  width: auto;
  align-items: flex-start;
}

.calendar-days span {
  width: calc(100% / 7);
  margin-top: 2px;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  margin-bottom: 5px;
  border-radius: 50%;
  padding: 5px 0 5px 0;
}

.clickable,
.day {
  color: #0060e6;
  background-color: rgba(0, 106, 255, 0.074);
  border: none;
  cursor: pointer;
}

.future-day:hover,
.day:hover {
  background-color: rgba(0, 106, 255, 0.075);
}

.day {
  position: relative;
}

.dot {
  position: absolute;
  bottom: 0;
  padding: 0 !important;
  left: 50%;
  transform: translateX(-50%);
  width: 6px !important;
  height: 6px !important;
  background-color: #0060e6;
  background-color: #0060e6 !important;
  border-radius: 50%;
}

.dot-unclickable {
  position: absolute;
  bottom: 0;
  padding: 0 !important;
  left: 50%;
  transform: translateX(-50%);
  width: 6px !important;
  height: 6px !important;
  background-color: gray !important;
  border-radius: 50%;
}

.prev-cal,
.next-cal {
  cursor: pointer;
  color: rgb(0, 105, 255);
  font-size: 17px;
  background-color: rgba(128, 128, 128, 0.055);
  padding: 6px 14px 9px 14px;
  border-radius: 100%;
}

.prev-cal:hover,
.next-cal:hover {
  background-color: rgba(0, 106, 255, 0.075);
}

.info-panel {
  border: 1px solid red;
  border-radius: 8px;
}

.day-info {
  width: 300px;
  text-align: left;
  background-color: white;
  font-family: "Montserrat", sans-serif;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 90px;
  border-left: 1px solid rgba(26, 26, 26, 0.1);
}

.fixedDateDiv {
  position: fixed;
  top: 0;
}

.time-button {
  width: 100%;
  height: 50px;
  background-color: white;
  border: 1px solid rgba(0, 105, 255, 0.5);
  color: #0060e6;
  border-radius: 4px;
  padding: 13px 10px;
  font-weight: 700;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.time-button:hover {
  border: 2px solid #0060e6;
}

.buttons-container {
  max-height: 550px;
  overflow-y: auto;
}

.back-button {
  display: none;
  position: absolute;
  border: 1px solid rgba(26, 26, 26, 0.1);
  background-color: white;
  border-radius: 50%;
  padding-left: 10px;
  padding-right: 7px;
  padding-top: 7px;
  padding-bottom: 5px;
  top: 1%;
  left: 1%;
}

.button-row {
  display: flex;
  align-items: center;
  gap: 5px;
}

.time-button.disabled {
  background-color: rgb(0 0 0 / 60%);
  color: white;
  cursor: not-allowed;
  width: 50%;
}

.next-button {
  width: 50%;
  height: 50px;
  background-color: #0060e6;
  border: 1px solid rgba(0, 105, 255, 0.5);
  color: white;
  border-radius: 4px;
  padding: 13px 10px;
  font-weight: 700;
  margin-top: 20px;
  cursor: pointer;
}

.unclickable {
  color: gray !important;
  pointer-events: none;
  position: relative;
}

.week-day {
  color: rgb(26, 26, 26);
  font-weight: 700;
  font-size: 20px;
  text-align: center;
  margin: 0;
}

.other-settings {
  text-align: center;
  margin: 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.1);
  width: 100%;
  padding-bottom: 10px;
}

.time-select {
  text-align: center;
}

.meeting-time {
  display: flex;
  flex-direction: column;
  padding-top: 35px;
  width: auto !important;
  font-size: 22px;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
}

.loader,
.loader:before,
.loader:after {
  border-radius: 50%;
  width: 2.5em;
  height: 2.5em;
  animation-fill-mode: both;
  animation: bblFadInOut 1.8s infinite ease-in-out;
}

.loader {
  color: rgb(99, 99, 99);
  font-size: 7px;
  position: absolute;
  top: 50%;
  left: 50%;
  text-indent: -9999em;
  transform: translateZ(0);
  animation-delay: -0.16s;
}

.loader:before,
.loader:after {
  content: "";
  position: absolute;
  top: 0;
}

.loader:before {
  left: -3.5em;
  animation-delay: -0.32s;
}

.loader:after {
  left: 3.5em;
}

@keyframes bblFadInOut {

  0%,
  80%,
  100% {
    box-shadow: 0 2.5em 0 -1.3em;
  }

  40% {
    box-shadow: 0 2.5em 0 0;
  }
}

#svg-and-text {
  display: flex;
  gap: 5px;
  align-items: center;
  color: rgba(26, 26, 26, 0.61);
  font-weight: 700;
  font-size: 16px;
  margin: 0;
  width: auto;
  height: auto;
}

#info-name {
  color: rgba(26, 26, 26, 0.61);
  font-size: 16px;
  width: auto;
  height: auto;
}

.fixed-dates {
  position: fixed;
  width: 100%;
  left: 0;
  top: 2%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media only screen and (max-width: 800px) {
  .main {
    height: 100%;
    display: block;
  }

  .calendar-main {
    flex-direction: column;
    align-items: center;
    width: auto !important;
    height: 100% !important;
    padding: 0;
    gap: 0 !important;
  }

  .calendar {
    width: auto;
    border-radius: 0px;
    padding: 0;
    font-size: 16px;
  }

  .calendar-header {
    padding-left: 30px;
    padding-right: 30px;
  }

  .calendar-days {
    padding: 10px 0 10px 0;
  }

  #month-year {
    text-align: center !important;
  }

  .back-button {
    display: block;
    top: 4%;
    left: 4%;
  }

  .day-info {
    padding-top: 40px;
    border: none;
    width: 90%;
    height: 100%;
  }

  .meeting-time {
    padding: 0;
    margin-top: 10px;
    text-align: center;
    align-items: center;
    padding-bottom: 10px;
    padding-right: 0 !important;
    padding-left: 0 !important;
    align-items: center;
    border: none !important;
    width: auto;
  }

  .week-day,
  .other-settings {
    position: fixed;
    top: 0;
    left: 0;
    background-color: white;
    width: 100%;
    z-index: 1000;
    padding: 10px;
  }

  .buttons-container {
    max-height: 100%;
    overflow-y: auto;
  }
}