.bandplan-container {
  padding: 20px;
  font-size: 11pt;
  line-height: 1.5;
}

.bandplan-table-wrapper {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  overflow-x: auto;
}

.bandplan-container h1, h2, h3 {
    margin-top: 0.2em;
    margin-bottom: 0.2em;
    color: #007acc;
    font-weight: 700;
}

.bandplan-container h1 {
    text-align: left;
    font-size: 2.4rem;
}

.bandplan-container h2 {
    font-size: 1.8rem;
    text-align: left;
    margin-top: 0.2em;
}

.bandplan-container h3 {
    font-size: 1.4rem;
    text-align: left;
}

.bandplan-container a {
  color: #007acc;
  text-decoration: none;
  word-wrap: break-word;
}

.bandplan-container a:hover {
  text-decoration: underline;
  color: #004b85;
}

.bandplan-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  font-size: 1rem;
  color: #222;
}

.bandplan-table thead {
  background-color: #007acc;
  color: #fff;
}

.bandplan-table th,
.bandplan-table td {
  padding: 12px 10px;
  border: 1px solid #ddd;
  text-align: center;
  vertical-align: middle;
  font-family: 'Source Code Pro', monospace;
  position: relative;
}

.bandplan-table td ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
  font-family: 'Source Code Pro', monospace;
  font-size: 0.95rem;
  line-height: 1.4;
}

.bandplan-table td ul li {
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.3em;
  margin-bottom: 0.3em;
  padding-left: 1.2em;
}

.bandplan-table td ul li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.bandplan-table td ul li::before {
  content: "•";
  color: #007acc;
  position: absolute;
  left: 0;
  padding-left: 1.2em;
}

.bandplan-tooltip {
  position: relative;
  cursor: help;
  color: #007acc;
  font-weight: 600;
}

.bandplan-tooltip .tooltiptext {
  visibility: hidden;
  width: 250px;
  background-color: #f8f9fa;
  color: #222;
  text-align: left;
  border-radius: 6px;
  padding: 10px;
  position: absolute;
  z-index: 10;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  font-size: 0.9rem;
  line-height: 1.3;
}

.bandplan-tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.bandplan-legend {
  margin-top: 25px;
  display: flex;
  gap: 20px;
  justify-content: center;
  font-size: 0.95rem;
}

.bandplan-legend div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bandplan-legend .legend-color {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.bandplan-legend .legend-allowed {
  background-color: #d4edda;
  border-color: #155724;
}

.bandplan-legend .legend-restricted {
  background-color: #fff3cd;
  border-color: #856404;
}

.bandplan-legend .legend-prohibited {
  background-color: #f8d7da;
  border-color: #721c24;
}

.bandplan-uitleg,
.bandplan-uitleg-extra {
  font-family: 'Source Code Pro', monospace;
  line-height: 1.6;
  margin-top: 1rem;
  background: #f9f9f9;
  padding: 15px 20px;
  border-left: 4px solid #007acc;
  border-radius: 4px;
}

.bandplan-uitleg-extra strong {
  display: inline-block;
  min-width: 100px;
}

.bandplan-alert-banner {
  background-color: #fcebea;
  color: #a94442;
  padding: 15px 20px;
  margin-top: 20px;
  border-left: 5px solid #a94442;
  border-radius: 4px;
  font-weight: 500;
}

.bandplan-datetime {
  margin-top: 30px;
  font-size: 0.9rem;
  font-style: italic;
  color: #666;
  text-align: center;
}

@media (max-width: 600px) {
  .bandplan-table,
  .bandplan-table thead,
  .bandplan-table tbody,
  .bandplan-table th,
  .bandplan-table td,
  .bandplan-table tr {
    display: block;
  }

  .bandplan-table tr {
    margin-bottom: 1em;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px;
    background: #f9f9f9;
  }

  .bandplan-table th {
    display: none;
  }

  .bandplan-table td {
    text-align: right;
    padding-left: 50%;
    position: relative;
  }

  .bandplan-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 10px;
    top: 12px;
    font-weight: 700;
    color: #007acc;
    white-space: nowrap;
  }
}
