body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
}

header {
  background: #444;
  color: #fff;
  padding: 10px 20px;
}

.user-info {
  float: right;
}

.booking-table {
  border-collapse: collapse;
  width: 100%;
}

.booking-table th, .booking-table td {
  border: 1px solid #ccc;
  padding: 4px;
  text-align: center;
  min-width: 30px;
}

.booking-table th {
  background: #eee;
}

.booking-cell.selected {
  outline: 2px solid #000;
}

.modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal.hidden {
  display: none;
}

.modal:not(.hidden) .modal-content {
  transform: scale(1);
}

.modal.hidden .modal-content {
  transform: scale(0.8);
}

.modal-content {
  background: #fff;
  padding: 20px;
  width: 300px;
  border-radius: 6px;
  position: relative;
    transition: transform 0.2s ease-out;
}

.modal-content h2 {
  margin-top: 0;
}

.modal-buttons {
  margin-top: 10px;
}

.modal-buttons button {
  margin-right: 5px;
}

.modal-close {
  position: absolute;
  top: 5px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.red-btn {
  background: #e74c3c;
  color: #fff;
}



.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
}

.modal-content {
  background: #fff;
  padding: 20px;
  max-width: 500px;
  width: 100%;
  border-radius: 5px;
}

.hidden {
  display: none;
}

.modal-close {
  position: absolute;
  top: 10px; right: 10px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}




.room-name.needs-cleaning {
  background-color: #fdd835; /* жовтий для виділення */
}