/* Disorder Custom Calendar */

.disorder-calendar {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  max-width: 400px;
  margin: 0 auto;
  margin-top:10px;
}

/* Calendar Header */
.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

.calendar-month-year {
  font-size: 18px;
  font-weight: 700;
  color: #333;
}

.calendar-nav {
  background: #f5f5f5;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-nav:hover {
  background: #fb6f56;
  transform: scale(1.1);
}

/* Weekdays */
.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.calendar-weekday {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #999;
  padding: 8px 0;
}

/* Days Grid */
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.calendar-day {
  aspect-ratio: 1;
  border: 2px solid transparent;
  background: #fafafa;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.calendar-day.empty {
  background: transparent;
  cursor: default;
}

.calendar-day.past {
  opacity: 0.3;
  cursor: not-allowed;
  background: #f5f5f5;
}

.calendar-day.today {
  border-color: #666;
  font-weight: 700;
}

.calendar-day.selected {
  background: #fb6f56;
  border-color: #fb6f56;
  color: #1a1a1a;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(201, 221, 71, 0.3);
}

/* Availability Colors */
.calendar-day.high-availability {
  background: #e8f5e9;
  border-color: #4caf50;
}

.calendar-day.high-availability:hover {
  background: #c8e6c9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.calendar-day.medium-availability {
  background: #fff3e0;
  border-color: #ff9800;
}

.calendar-day.medium-availability:hover {
  background: #ffe0b2;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

.calendar-day.low-availability {
  background: #ffebee;
  border-color: #f44336;
}

.calendar-day.low-availability:hover {
  background: #ffcdd2;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(244, 67, 54, 0.3);
}

.calendar-day.no-availability {
  background: #f5f5f5;
  color: #999;
  cursor: not-allowed;
  opacity: 0.5;
}

.calendar-day.no-availability:hover {
  transform: none;
}

/* Day Number */
.day-number {
  font-size: 14px;
  margin-bottom: 2px;
}

/* Availability Dots */
.availability-dots {
  display: flex;
  gap: 2px;
  position: absolute;
  bottom: 4px;
}

.availability-dots .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}

/* Legend */
.calendar-legend {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
  font-size: 11px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-color {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 2px solid;
}

.legend-color.high {
  background: #e8f5e9;
  border-color: #4caf50;
}

.legend-color.medium {
  background: #fff3e0;
  border-color: #ff9800;
}

.legend-color.low {
  background: #ffebee;
  border-color: #f44336;
}

div#step-date .form-group label{
    display:none;
}


button.db-date-btn {
    position:absolute;
    right:0px;
    color:#201F1F!important;
    
}

.db-date-input:focus-visible{
    outline:none;
}

.db-date-input,
button.db-date-btn{
    border:0px!important;
    background-color: transparent!important;
}

.db-date-input-wrap {
    border:1px solid #B7B4B4;
    border-radius:120px;
}

.disorder-calendar .calendar-days button{
    padding:2px;
    /*border-radius: 50%;*/
}

@media(max-width:768px){
    .calendar-month-year{
        font-size:16px;
    }
}


button.calendar-nav {
    background-color:transparent!important;
    border:0px!important;
    font-family: dashicons;
    font-size: 20px;
    color: #201f1f!important;
    line-height: 1;
}

h2.booking-form-title {
    text-align:center;
}

.step-header h3{
    text-align:center;
}

/* Responsive */
@media (max-width: 600px) {
  .disorder-calendar {
    padding: 15px;
  }
  
  .calendar-days {
    gap: 4px;
  }
  
  .calendar-day {
    border-radius: 8px;
    font-size: 13px;
  }
  
  .day-number {
    font-size: 13px;
  }
  
  .calendar-month-year {
    font-size: 16px;
  }
}