
body {
  font-family: Arial;
  background: #f5f7fa;
  padding: 20px;
}
.card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}
h2 {
  margin-top: 0;
}
select, input {
  padding: 6px;
  margin: 5px;
}
button {
  padding: 10px 20px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.table-container {
      overflow-x: auto;
}

#table {
  min-width: 1400px;
}
th, td {
  padding: 8px;
  border: 1px solid #ddd;
  text-align: center;
}
th {
  background: #007bff;
  color: white;
}

th {
  position: relative;
  white-space: nowrap;
}
.sort-buttons {
  display: inline-flex;
  flex-direction: column;
  margin-left: 4px;
  vertical-align: middle;
}
.sort-btn {
  border: none;
  background: transparent;
  padding: 0;
  width: 14px;
  height: 12px;
  font-size: 0.75em;
  cursor: pointer;
  color: white;
  line-height: 1;
}
.sort-btn.active {
  color: black;
  font-weight: bold;
}
.sort-btn:hover {
  color: gray;
}

.range {
  font-size: 12px;
  color: gray;
}

.step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.toggle-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.toggle-switch {
  position: relative;
  width: 48px;
  height: 24px;
}

.toggle-switch input {
  display: none;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: #ccc;
  border-radius: 24px;
  cursor: pointer;
  transition: 0.3s;
}

.toggle-slider:before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: white;
  border-radius: 50%;
  transition: 0.3s;
}

.toggle-switch input:checked + .toggle-slider {
  background: #4CAF50;
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(24px);
}
