/* Transport Mode and Real-time Features Controls */
.transport-mode-list,
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.transport-mode-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.transport-mode-option,
.feature-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background-color 0.2s;
  flex: 1;
}

.transport-mode-option:hover,
.feature-option:hover {
  background-color: #f5f5f5;
}

.transport-mode-option input[type="checkbox"],
.feature-option input[type="checkbox"] {
  width: 1.125rem;
  height: 1.125rem;
  cursor: pointer;
  margin: 0;
}

.mode-icon,
.feature-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.mode-label,
.feature-label {
  font-size: 0.9375rem;
  font-weight: 500;
  flex-grow: 1;
}

.mode-show-all-label {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem 0.5rem;
  border-radius: 0.25rem;
  cursor: pointer;
  white-space: nowrap;
  font-size: 0.8125rem;
  color: var(--color-text-muted, #666);
  border: 0.0625rem solid var(--color-border, #ddd);
  transition: background-color 0.2s;
}

.mode-show-all-label:hover {
  background-color: #f0f0f0;
}

.mode-show-all-checkbox {
  width: 1rem;
  height: 1rem;
  cursor: pointer;
  margin: 0;
}

.mode-show-all-text {
  font-size: 0.8125rem;
}

/* Route card checkbox */
.route-card-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  cursor: pointer;
}

.route-card-content {
  flex: 1;
  min-width: 0;
}

.route-card-checkbox {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  cursor: pointer;
  margin: 0;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .transport-mode-option:hover,
  .feature-option:hover {
    background-color: #4a5568;
  }

  .mode-show-all-label {
    color: var(--color-text-muted, #aaa);
    border-color: var(--color-border, #555);
  }

  .mode-show-all-label:hover {
    background-color: #4a5568;
  }
}
