/* === Calendar === */

.calendar-custom { 
  margin-top: 2rem; 
}


.calendar-nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}


.calendar-nav-btn {
  background: rgba(0,0,0,0.2); 
  color: white; 
  border: none;
  border-radius: 50%; 
  width: 40px; 
  height: 40px;
  font-size: 1.5rem; 
  cursor: pointer; 
  transition: background 0.3s, color 0.3s;
}


.calendar-nav-btn:hover { 
  background: #3E5B4D; /* Changed from red to green */
  color: #fff;
}


#calendar-title { 
  margin: 0; 
  text-align: center; 
}


.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
  text-align: center;
}


.calendar-header {
  font-weight: bold; 
  color: #000; 
  background: rgba(255,255,255,0.2);
  padding: 0.5rem 0.2rem; 
  border-radius: 5px; 
  font-size: 0.8rem;
}


.calendar-cell {
  padding: 0.8rem 0.2rem; 
  border-radius: 10px; 
  background: rgba(255,255,255,0.1);
  color: #000; 
  font-weight: bold; 
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2); 
  min-height: 40px;
  display: flex; 
  align-items: center; 
  justify-content: center;
}


.calendar-cell.booked { 
  background: rgba(255, 0, 0, 0.4); 
  color: white; 
  cursor: not-allowed; 
}


.calendar-cell.empty { 
  background: transparent; 
  box-shadow: none; 
  backdrop-filter: none; 
}


@media (max-width: 480px) {
  .calendar-grid { 
    gap: 0.2rem; 
  }
  .calendar-cell { 
    padding: 0.4rem 0.1rem; 
    font-size: 0.8rem; 
  }
  .calendar-header { 
    font-size: 0.7rem; 
  }
}