/* Shrink the layers toggle button */
.leaflet-control-layers-toggle {
    width: 30px !important;
    height: 30px !important;
    background-size: 20px 20px !important; /* shrink icon inside */
}

/* Optional: match zoom button style (rounded) */
.leaflet-control-layers {
    border-radius: 4px !important;
}

/* Turn the bottom-right container into a horizontal row */
.leaflet-bottom.leaflet-right {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px; /* spacing between attribution & scale */
}
.leaflet-control-scale {
    order: 1;
}
.leaflet-control-attribution {
    order: 2;
}

/* Container */
.nudge-control {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Title */
.nudge-header {
  font-size: 11px;
  font-weight: bold;
  margin-bottom: 4px;
  text-align: center;
  color: #333;
  background: rgba(255,255,255,1.0);
  padding: 2px 6px;
  border-radius: 2px;
}

/* Grid zonder spacing */
.nudge-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.nudge-grid .middle-row {
  display: flex;
  gap: 0;
}

/* Leaflet-style knoppen */
.nudge-control button {
  width: 28px;
  height: 28px;
  font-size: 12px;
  line-height: 1;
  font-weight: bold;
  background-color: #fff;
  border: 1px solid #bbb;
  border-radius: 0; /* binnenste knoppen vlak */
  box-shadow: none; /* Leaflet heeft nauwelijks shadow */
  cursor: pointer;
  padding: 0;
  text-align: center;
}

/* Hover */
.nudge-control button:hover {
  background: #f3f3f3;
}

/* Bovenzijde afgerond */
.nudge-control button:first-child {
  border-radius: 2px 2px 0 0;
}

/* Linker pijl */
.nudge-control .middle-row button:nth-child(1)  {
  border-radius: 2px 0 0 2px;
}

/* Rechter pijl */
.nudge-control .middle-row button:nth-child(3)  {
  border-radius: 0 2px 2px 0;
}

/* Onderzijde afgerond */
.nudge-control button:last-child {
  border-radius: 0 0 2px 2px;
}

/* Reset (●) */
.nudge-control .nudge-reset {
  font-size: 16px;
}


/* Card styling */
.feature-card {
  margin: 14px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
}

.feature-card-header {
  padding: 10px 14px;
  font-weight: 600;
  font-size: 15px;
  background: #eef2f7;
  border-bottom: 1px solid #d1d5db;
  border-radius: 6px 6px 0px 0px;
  color: #1f3b6f;
}

.feature-card-body {
  padding: 14px;
}

/* 2-koloms “Samenvatting” layout */
.summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 40px;
  row-gap: 18px;
}

.summary-item-label {
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 14px;
}

.summary-item-value {
  font-size: 14px;
  color: #333;
}

.summary-item.full-row {
  grid-column: 1 / -1;
}
