.calendar {
  max-width: 600px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  text-align: center;
  padding-bottom: 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;

}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.5);
  color: #ebab57;
}

.prev, .next {
  border: none;
  background: none;
  font-size: 20px;
  cursor: pointer;
  color: white;
  outline: none;
}

.month-year {
  font-size: 18px;
  font-weight: bold;
}

.days-of-week {
  display: flex;
  background: red;
  padding: 5px;
  background-color: #f2f2f2;
  padding-left: 7%;
}

.days-of-week div {
  width: 70px;
  text-align: center;
  padding-left: 3px;
}

.days {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.4);
}

.days div {
  width: calc(100% / 8);
  height: 50px;
  display: block;
  justify-content: center;
  align-items: center;
  margin: 5px;
  font-weight: bolder;
  padding: 5px;
  font-size: 12px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
  padding-top: 10px;
  padding-bottom: 0;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  background: rgba(0,0,0,0.8);
}

.days div:hover {
  opacity: 068;
}

.days .disabled {
  color: #ccc;
  cursor: not-allowed;
}

.days .selected {
  background-color: #ebab57;
  color: #fff;
}

.days .unavailable {
  color: #ccc;
  background-color: rgba(0, 0, 0, 0.5);
  cursor: not-allowed;
}

.days .restricted {
  background-color: rgba(255, 0, 0, 0.5);
  cursor: not-allowed;
  border: 1px solid red;
}

#submit-btn {
  display: block;
  margin: 20px auto;
  padding: 10px 20px;
  font-size: 16px;
  background-color: #ebab57;
  color: #FFF;
  font-weight: bolder;
  border: 1px solid #ab834b;
  border-radius: 5px;
  cursor: pointer;
  outline: none;

}

#submit-btn:hover {
  background: #ebab57;
  color: white;
  transition: all 0.5s ease;
  border: none;
}

#submit-btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

@media only screen and (max-width: 700px) {
  .calendar {
    max-width: 100%;
    margin: 0;
    padding: 0 10px;
    padding-bottom: 10px;
    left: 0;
    transform: none;
    transform: translateY(-50%);

  }
}

.ParentCalendar {
  height: 100vh;
  width: 100%;
  position: relative;
  background: url("../../assets/img/bg14.jpeg");
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;

}

@media (max-width: 1350px) {
  .calendar {
    top: 50%;
  }
}
@media (max-width: 600px) {
  .calendar {
    top: 60%;
  }
}
@media (max-width: 1200px) {
  .calendar {
    top: 60%;
  }
}