/* ===== BASIS STIJLEN ===== */
html, body { 
    margin: 0; 
    padding: 0; 
    height: 100%; 
    font-family: Arial, sans-serif; 
}

#map { 
    width: 100%; 
    height: 100%; 
}

#arrowCanvas { 
    display: none; 
    position: absolute; 
    top: -1000px; 
    left: -1000px; 
}

.maplibregl-ctrl-group { 
    border-radius: 6px; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important; 
}

/* ===== BESTURINGSBALK ===== */
.controls {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    z-index: 1000;
    display: flex;
    gap: 10px;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}

#gemeenteInput {
    flex: 1;
    padding: 8px 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    min-width: 200px;
    font-family: inherit;
    box-sizing: border-box;
}

#gemeenteInput:focus {
    outline: none;
    border-color: #3399ff;
    box-shadow: 0 0 5px rgba(51, 153, 255, 0.5);
}

#gemeenteInput::placeholder {
    color: #999;
    font-style: italic;
}

.manual-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    background: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background-color 0.2s;
}

.manual-link:hover {
    background-color: #388E3C;
}

.manual-link .material-symbols-outlined {
    font-size: 18px;
}

/* ===== LEGENDA HOOFDSTRUCTUUR ===== */
.legend {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    max-width: 280px;
    max-height: 80vh;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.legend.collapsed {
    
    max-height: 45px;
    max-width: 100px;
    padding: 7px 7px;
}

.legend.collapsed .legend-content {
    display: none;
}

.legend.collapsed .legend-title {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 4px;
    font-size: 12px;
}

/* Legenda titel */
.legend-title {
    padding: 12px 12px;
    font-weight: bold;
    font-size: 14px;
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s;
}

.legend-title:hover {
    color: #007cff;
}

.toggle-icon {
    font-family: "Material Symbols Outlined";
    font-size: 20px;
    color: #666;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.legend.collapsed .toggle-icon {
    transform: rotate(-0deg);
}

/* Legenda inhoud */
.legend-content {
    padding: 15px;
    overflow-y: auto;
    max-height: calc(80vh - 50px);
}

/* ===== LEGENDA SECTIES ===== */
.legend-section {
    margin-bottom: 12px;
}

.legend-section:last-child {
    margin-bottom: 0;
}

.legend-section-title {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

/* ===== LEGENDA ITEMS (algemeen) ===== */
.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    padding: 4px 0;
    cursor: pointer;
    transition: opacity 0.2s;
}

.legend-item:last-child {
    margin-bottom: 0;
}

.legend-item:hover {
    opacity: 0.8;
}

/* Zichtbaarheidsiconen (oogjes) */
.legend-eye {
    font-family: "Material Symbols Outlined";
    font-size: 18px;
    margin-right: 8px;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s;
    color: #333;
    flex-shrink: 0;
}

.legend-eye:hover {
    color: #007cff;
}

/* Symbolen */
.legend-symbol {
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    flex-shrink: 0;
}

.legend-circle {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.2);
}

.legend-line {
    width: 24px;
    height: 4px;
    border-radius: 2px;
}

.legend-arrow {
    width: 24px;
    height: 16px;
    margin-right: 10px;
    flex-shrink: 0;
}

.legend-arrow svg {
    width: 100%;
    height: 100%;
}

/* Legenda tekst */
.legend-text {
    flex: 1;
    font-size: 11px;
    line-height: 1.3;
    color: #333;
}

/* ===== ACHTERGRONDKAARTEN RADIO BUTTONS ===== */
.basemap-section {
    margin-top: 15px;
    padding-top: 10px;
    padding-bottom:25px;
    border-top: 2px solid #e0e0e0;
}

.basemap-radio-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.basemap-radio-item {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.basemap-radio-item:hover {
    background-color: #f5f5f5;
}

.basemap-radio-item:active {
    background-color: #e8e8e8;
}

/* Verberg echte radio button */
.basemap-radio {
    display: none;
}

/* Aangepaste radio button */
.basemap-radio-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #bbb;
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    transition: all 0.2s;
}

.basemap-radio:checked + .basemap-radio-custom {
    border-color: #2196F3;
    background-color: #2196F3;
}

.basemap-radio:checked + .basemap-radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
}

.basemap-radio:focus + .basemap-radio-custom {
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.2);
}

/* Icoon voor achtergrondkaart */
.basemap-icon {
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.basemap-icon .material-symbols-outlined {
    font-size: 20px;
}

.basemap-radio:checked ~ .basemap-icon {
    color: #2196F3;
}

/* Label voor achtergrondkaart */
.basemap-label {
    font-size: 13px;
    color: #333;
    flex: 1;
}

.basemap-radio:checked ~ .basemap-label {
    color: #2196F3;
    font-weight: 500;
}

/* Geselecteerde state */
.basemap-radio-item.selected {
    background-color: #e3f2fd;
}

/* ===== NOTIFICATIES ===== */
.basemap-notification {
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1001;
    animation: slideIn 0.3s ease-out;
}

.basemap-notification.fade-out {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
    transition: opacity 0.3s, transform 0.3s;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* ===== RESPONSIVE AANPASSINGEN ===== */
@media (max-width: 768px) {
    .legend {
        max-width: 250px;
        left: 10px;
        bottom: 10px;
    }
    
    .legend.collapsed {
        max-width: 80px;
    }
    
    .controls {
        padding: 8px 12px;
    }
    
    #gemeenteInput {
        min-width: 150px;
        font-size: 13px;
    }
    
    .manual-link {
        font-size: 13px;
        padding: 6px 10px;
    }
    
    .legend-text {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .legend {
        max-width: 200px;
        padding: 10px;
    }
    
    .legend.collapsed {
        max-width: 130px;
        padding: 8px 8px;
    }
    
    .legend-title {
        font-size: 12px;
        padding: 10px 12px;
    }
    
    .legend-eye {
        font-size: 16px;
        margin-right: 6px;
    }
    
    .legend-circle {
        width: 14px;
        height: 14px;
    }
    
    .legend-line {
        width: 20px;
        height: 3px;
    }
    
    .legend-arrow {
        width: 20px;
        height: 14px;
    }
    
    .controls {
        flex-wrap: wrap;
        max-width: 300px;
    }
    
    #gemeenteInput {
        min-width: 100%;
        order: 1;
    }
    
    .manual-link {
        order: 2;
    }
}

/* Fix voor MapLibre navigatiebalk - verwijder hover effecten */
.maplibregl-ctrl-group {
    border-radius: 6px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2) !important;
    transition: none !important; /* Verwijder alle animaties */
    z-index: 500 !important; /* Zorg dat hij onder de legenda blijft */
}

/* Verwijder hover effect op de groep */
.maplibregl-ctrl-group:hover {
    transform: none !important; /* Geen schaalvergroting */
    box-shadow: 0 2px 4px rgba(0,0,0,0.2) !important; /* Zelfde schaduw houden */
}

/* Verwijder hover effect op individuele knoppen */
.maplibregl-ctrl-group button {
    transition: none !important;
}

.maplibregl-ctrl-group button:hover {
    background-color: rgba(255, 255, 255, 0.95) !important;
    transform: none !important; /* Geen schaalvergroting */
}

/* Zorg voor vaste positie */
.maplibregl-ctrl-top-right {
    top: 20px !important;
    right: 20px !important;
}

/* Optioneel: als je ook de +/- knoppen zelf wilt stylen */
.maplibregl-ctrl-zoom-in,
.maplibregl-ctrl-zoom-out {
    width: 36px !important;
    height: 36px !important;
    font-size: 18px !important;
}

/* Zorg dat het compas/richting controle ook statisch is */
.maplibregl-ctrl-compass {
    transition: none !important;
}

.maplibregl-ctrl-compass:hover {
    transform: none !important;
}
.maplibregl-ctrl-top-right {
    top: auto !important;
    bottom: 20px !important;
    right: auto !important;
    left: 20px !important;
}

/* ============================================
   ROUTE WIDGET STYLING
   ============================================ */
   /* ===== CALCULATIONS SIDEBAR ===== */
.calculations-sidebar {
  position: absolute;
  top: 180px  !important;/* Onder controls */
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
  width: 320px;
  max-height: calc(100vh - 120px);
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1001;
}

.calculations-sidebar.collapsed {
  width: 150px;
  height: 40px;
}

.calculations-sidebar.collapsed .calculations-sidebar-content {
  display: none;
}

.calculations-sidebar-title {
  padding: 12px 15px;
  font-weight: bold;
  font-size: 14px;
  background: #f5f5f5;
  border-bottom: 1px solid #ddd;
  color: #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s;
}

.calculations-sidebar-title:hover {
  color: #2196F3;
}

.calculations-title-text {
  font-weight: bold;
}

.calculations-toggle-icon {
  font-family: "Material Symbols Outlined";
  font-size: 20px;
  color: #666;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.calculations-sidebar.collapsed .calculations-toggle-icon {
  transform: rotate(-0deg);
}

.calculations-sidebar-content {
  padding: 15px;
  max-height: calc(100vh - 170px);
  overflow-y: auto;
}

/* ===== TABS ===== */
.calculations-tabs {
  display: flex;
  background: #f0f0f0;
  border-radius: 6px;
  padding: 4px;
  margin-bottom: 15px;
}

.calculation-tab {
  flex: 1;
  padding: 8px 12px;
  border: none;
  background: none;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  color: #666;
}

.calculation-tab:hover {
  background: rgba(255, 255, 255, 0.5);
  color: #333;
}

.calculation-tab.active {
  background: white;
  color: #2196F3;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ===== TAB CONTENT ===== */
.calculation-tab-content {
  display: none;
}

.calculation-tab-content.active {
  display: block;
}

.calculation-section {
  margin-bottom: 20px;
}

.calculation-section-title {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin: 0 0 15px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}

/* ===== COMMON CONTROLS ===== */
.calculation-controls {
  margin-bottom: 15px;
}

.calculation-input-group {
  margin-bottom: 10px;
}

.calculation-input-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 4px;
  color: #333;
  font-size: 11px;
}

.calculation-input-group input,
.calculation-input-group select {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 12px;
  box-sizing: border-box;
}

.calculation-input-group input:focus,
.calculation-input-group select:focus {
  outline: none;
  border-color: #2196F3;
}

.calculation-buttons {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.calculation-button {
  flex: 1;
  padding: 6px 10px;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}

.calculation-button.primary {
  background: #2196F3;
  color: white;
}

.calculation-button.primary:hover {
  background: #0b7dda;
}

.calculation-button.secondary {
  background: #6c757d;
  color: white;
}

.calculation-button.secondary:hover {
  background: #545b62;
}

/* ===== ROUTE SPECIFIC ===== */
.route-controls,
.isochroon-controls {
  margin-bottom: 15px;
}

.route-input-group,
.isochroon-input-group {
  margin-bottom: 10px;
}

.route-input-group label,
.isochroon-input-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 4px;
  color: #333;
  font-size: 11px;
}

.route-input-group input,
.isochroon-input-group input,
.isochroon-input-group select {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 12px;
  box-sizing: border-box;
}

.route-input-group input:focus,
.isochroon-input-group input:focus,
.isochroon-input-group select:focus {
  outline: none;
  border-color: #2196F3;
}

.route-buttons,
.isochroon-buttons {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.route-visibility,
.isochroon-visibility {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eee;
}

.visibility-toggle,
.isochroon-visibility-toggle {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.visibility-toggle:hover,
.isochroon-visibility-toggle:hover {
  opacity: 0.8;
}

.visibility-icon,
.isochroon-visibility-icon {
  font-family: "Material Symbols Outlined";
  font-size: 18px;
  margin-right: 8px;
  color: #666;
  flex-shrink: 0;
}

.visibility-text,
.isochroon-visibility-text {
  font-size: 11px;
  color: #333;
}

.route-result,
.isochroon-result {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  padding: 10px;
  font-size: 11px;
  margin-top: 10px;
  max-height: 150px;
  overflow-y: auto;
}

.isochroon-stats {
  background: #fff8f8;
  border: 1px solid #ffcdd2;
  border-radius: 4px;
  padding: 8px;
  font-size: 10px;
  margin-top: 8px;
  color: #d32f2f;
}

/* ===== ACTIVE CALCULATIONS ===== */
.active-calculations {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 2px solid #eee;
}

.active-calculations-title {
  font-size: 12px;
  font-weight: 600;
  color: #333;
  margin: 0 0 10px 0;
}

.active-calculations-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.active-calculation-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
  background: #f8f9fa;
  border-radius: 4px;
  border: 1px solid #dee2e6;
  font-size: 11px;
}

.active-calculation-type {
  font-weight: 600;
  color: #2196F3;
}

.active-calculation-clear {
  background: none;
  border: none;
  color: #dc3545;
  cursor: pointer;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 3px;
}

.active-calculation-clear:hover {
  background: #dc3545;
  color: white;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .calculations-sidebar {
    width: 280px;
    right: 15px;
    top: 70px;
  }
}

@media (max-width: 768px) {
  .calculations-sidebar {
    width: 250px;
    right: 10px;
    top: 60px;
    max-height: calc(100vh - 100px);
  }
  
  .calculations-sidebar-content {
    padding: 12px;
    max-height: calc(100vh - 140px);
  }
  
  .calculation-tab {
    padding: 6px 10px;
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .calculations-sidebar {
    width: 220px;
    right: 5px;
    top: 55px;
  }
  
  .calculations-sidebar.collapsed {
    width: 100px;
  }
  
  .calculations-sidebar-title {
    padding: 10px 12px;
    font-size: 13px;
  }
}
/* Node selector styling */
.node-select-button {
    margin-left: 28px;
    padding: 6px 12px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: background-color 0.2s;
    height: 32px;
    box-sizing: border-box;
}

.node-select-button:hover {
    background-color: #d4c124;
}

.node-select-button:active {
    background-color: #d4c124;
}

/* Route input groups - update om knoppen te accommoderen */
.route-input-group {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.route-input-group label {
    min-width: 100px;
    margin-right: 8px;
}

.route-input-group input {
    flex: 1;
    min-width: 0;
}

/* Isochroon input groups */
.isochroon-input-group {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.isochroon-input-group label {
    min-width: 100px;
    margin-right: 8px;
}

.isochroon-input-group input,
.isochroon-input-group select {
    flex: 1;
    min-width: 0;
}
/* ===== MODERNE NOTIFICATIES ===== */
.notification-container {
    position: fixed;
    top: 20px;
    left: 20px; /* Links zodat ze niet overlappen met sidebar */
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 350px;
    pointer-events: none;
}

.notification {
    position: relative;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transform: translateX(-120%);
    animation: slideInLeft 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    pointer-events: auto;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 100%;
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notification-message {
    font-size: 13px;
    line-height: 1.4;
    color: rgba(0, 0, 0, 0.8);
}

/* Notification Types */
.notification.info {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1565c0;
    border-left: 4px solid #2196f3;
}

.notification.success {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #2e7d32;
    border-left: 4px solid #4caf50;
}

.notification.warning {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    color: #f57c00;
    border-left: 4px solid #ff9800;
}

.notification.error {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    color: #c62828;
    border-left: 4px solid #f44336;
}

/* Notification Icon */
.notification-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-top: 2px;
}

.notification.info .notification-icon {
    background: rgba(33, 150, 243, 0.2);
    color: #2196f3;
}

.notification.success .notification-icon {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
}

.notification.warning .notification-icon {
    background: rgba(255, 152, 0, 0.2);
    color: #ff9800;
}

.notification.error .notification-icon {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
}

/* Close Button */
.notification-close {
    background: none;
    border: none;
    color: currentColor;
    opacity: 0.7;
    cursor: pointer;
    padding: 4px;
    margin: -4px -4px -4px 0;
    border-radius: 4px;
    transition: all 0.2s;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-close:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.05);
}

/* Progress Bar */
.notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border-radius: 0 0 12px 12px;
}

.notification-progress-bar {
    height: 100%;
    width: 100%;
    transform-origin: left;
    animation: progressBar linear forwards;
}

.notification.info .notification-progress-bar {
    background: #2196f3;
}

.notification.success .notification-progress-bar {
    background: #4caf50;
}

.notification.warning .notification-progress-bar {
    background: #ff9800;
}

.notification.error .notification-progress-bar {
    background: #f44336;
}

/* Animations */
@keyframes slideInLeft {
    from {
        transform: translateX(-120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-120%);
        opacity: 0;
    }
}

@keyframes progressBar {
    from {
        transform: scaleX(1);
    }
    to {
        transform: scaleX(0);
    }
}

.notification.hiding {
    animation: slideOutLeft 0.3s ease-in-out forwards;
}

/* Responsive */
@media (max-width: 768px) {
    .notification-container {
        top: 10px;
        left: 10px;
        right: 10px;
        max-width: none;
    }
    
    .notification {
        padding: 14px 16px;
    }
}

/* Ensure notifications don't overlap with controls */
@media (min-width: 1024px) {
    .notification-container {
        top: 90px; /* Below the controls */
    }
}

    .controls {
        flex-wrap: wrap;
        max-width: 400px;
    }

@media (max-width: 1024px) {
        .controls {
        flex-wrap: wrap;
        max-width: 300px;
    }
}
.node-select-button {
    margin-left: 8px;
    padding: 6px 12px;
    background-color: #4CAF50; /* Standaard groen */
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: background-color 0.2s;
}

.node-select-button:hover {
    background-color: #45a049; /* Donkerder groen bij hover */
}

.node-select-button.active {
    background-color: #FFC107 !important; /* Geel wanneer actief */
    box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.5);
}

.node-select-button.active:hover {
    background-color: #FFA000 !important; /* Donkerder geel bij hover */
}

