body {
  font-family: 'Inter', sans-serif;
  max-width: 900px;
  margin: auto;
  background: #f8f9fa;
  padding: 20px;
}

h1 {
  text-align: center;
  font-weight: 700;
  margin-bottom: 20px;
  color: #4f46e5;
}

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.nav a {
  text-decoration: none;
  color: #4f46e5;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav a:hover {
  background-color: #e0e0ff;
  transform: translateY(-2px);
}

.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.day-name {
  text-align: center;
  font-weight: 600;
  padding: 10px 0;
  background: #dbeafe;
  border-radius: 8px;
}

.day {
  padding: 20px 0;
  text-align: center;
  background: #ffffff;
  border-radius: 12px;
  transition: all 0.2s;
  cursor: default;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.day:hover:not(.disabled):not(.full) {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.day.today {
  border: 2px solid #28a745;
}

.day.active {
  background: #28a745;
  color: white;
  text-decoration: none;
}

.disabled {
  background: #f5f5f5;
  color: #999;
}

.full {
  background: #e74c3c;
  color: white;
  cursor: not-allowed;
}

/* Slot-style z day.php */
.slot-card {
  border-radius: 16px;
  padding: 20px;
  margin: 10px 0;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid #e0e0e0;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  text-align: center;
}

.slot-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.slot-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: black;
}

.slot-status {
  font-size: 14px;
}

.slot-card.free {
  border-left: 5px solid #28a745;
}

.slot-card.taken {
  background: #f8f8f8;
  cursor: not-allowed;
  opacity: 0.7;
  border-left: 5px solid #dc3545;
}