﻿.calendar-container{
    position:relative;
}
.calendar-container button{
    padding: 0 7px;
    outline: none;
    border: 0;
    border-radius: 5px;
      font-size: 18px;
}
.calendar-container .content {
    width: 315px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    position: absolute;
    left: 0;
    display: none;
    top: calc(100% + 4px);
    z-index: 999;
    border: 1px solid #dedede;
}
.calendar-container:focus-within .content {
    display: block;
}
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  margin-bottom: 10px;
}
.calendar-days, .calendar-dates {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
}
 .calendar-dates.hours{
   grid-template-columns: repeat(3, 1fr);
 }
.calendar-days div {
  font-weight: bold;
  padding-bottom: 5px;
}
.calendar-dates div {
  width:30px;
  height:30px;
  border-radius:50%!important;
  cursor: pointer;
  border-radius: 5px;
  margin: 2px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.calendar-dates div.hour{
    width: 55px;
    border-radius: 25px!important;
}
.calendar-dates div:hover {
  background-color: #e0f7fa;
}
.calendar-dates .reserved {
  background-color: #ff5252;
  color: white;
}
.calendar-dates div.select{
    background:#70cf2b!important;
    color:#fff;
}
.calendar-dates div.active{
    background:#70cb3d69;
     color:#fff;
}
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}
.modal-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  min-width: 250px;
  text-align: center;
}
.close {
  float: right;
  font-size: 20px;
  cursor: pointer;
  color: red;
}
.calendar-container .hours-content{
    display:none
}