:root {
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --accent: #3b82f6;
  --accent-2: #06b6d4;
  --border: #e2e8f0;
  --shadow: rgba(0, 0, 0, 0.1);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
}
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px 64px;
}
h1 { margin-top: 8px; font-size: 28px; }
.lead { color: var(--muted); margin-bottom: 20px; }

.booking-info {
  background: var(--card);
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 4px var(--shadow);
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.booking-link {
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 12px;
  transition: all 0.2s ease;
  display: inline-block;
  box-shadow: 0 2px 4px var(--shadow);
  font-size: 14px;
}

.booking-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px var(--shadow);
}

form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
  justify-items: center;
  background: var(--card);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 6px var(--shadow);
}

.calendar-selection {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.checkbox-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text);
}

.checkbox-label input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--border);
  border-radius: 4px;
  background: var(--card);
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
}

.checkbox-label input[type="checkbox"]:hover {
  border-color: var(--accent);
}

.checkbox-label input[type="checkbox"]:checked {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: var(--accent);
}

.checkbox-label input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  font-size: 12px;
}
label.form-label { 
  font-size: 14px; 
  color: var(--muted); 
  text-align: center;
  justify-self: center;
}
input[type="date"] {
  appearance: none;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  color: var(--text);
  font-size: 14px;
  transition: border-color 0.2s ease;
  text-align: center;
  width: 200px;
}

input[type="date"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
button {
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px var(--shadow);
  min-width: 120px;
}

button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px var(--shadow);
}

button:disabled { 
  opacity: 0.6; 
  cursor: not-allowed; 
  transform: none;
}

#results { margin-top: 18px; }
.list {
  margin-top: 8px;
  padding: 0;
  list-style: none;
}
.item {
  background: var(--card);
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 2px 4px var(--shadow);
  transition: box-shadow 0.2s ease;
}

.item:hover {
  box-shadow: 0 4px 8px var(--shadow);
}

.item.national {
  border-left: 4px solid #ff69b4 !important;
}

.item.extended {
  border-left: 4px solid #20b2aa !important;
}
.item + .item { margin-top: 10px; }
.title { font-weight: 600; }
.date { color: var(--muted); font-size: 14px; }

.actions { margin-top: 16px; }

@media (max-width: 520px) {
  input[type="date"] {
    width: 100%;
    max-width: 250px;
  }
  button {
    width: 100%;
    max-width: 200px;
  }
}

