html,
body {
  box-sizing: border-box;
  font-family: "Satoshi", sans-serif;
  margin: 0;
  padding: 0;
}

label {
  display: block;
  font-size: 16px;
  margin-left: 6px;
  margin-bottom: 4px;
}

input,
textarea,
select {
  width: 100%;
  font-size: 16px;
  outline: none;
  padding: 10px 16px;
  border: 1px solid oklch(92.8% 0.006 264.531);
  border-radius: 12px;
}

#drop-zone {
  border: 2px dashed #ccc;
  border-radius: 10px;
  padding: 40px;
  text-align: center;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.2s ease;
  color: #666;
  margin: 20px auto;
  width: 100%;
}

#drop-zone.dragover {
  background-color: #f0f8ff;
  border-color: #1e90ff;
  color: #1e90ff;
}

#fileList {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  width: 100%;
  font-size: 16px;
  margin-left: auto;
  margin-right: auto;
  font-family: Arial, sans-serif;
  font-size: 16px;
}

#fileList li {
  margin-bottom: 5px;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fafafa;
}

.accordion {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 12px 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 16px;
  transition: 0.4s;
}

.accordion:after {
  content: "\02795"; /* Unicode character for "plus" sign (+) */
  font-size: 13px;
  color: #777;
  float: right;
  margin-left: 5px;
}

.active:after {
  content: "\2796"; /* Unicode character for "minus" sign (-) */
}

.active,
.accordion:hover {
  background-color: oklch(92% 0.004 286.32);
}

.panel {
  padding: 0 18px;
  background-color: white;
  border-radius: 8px;
  /* border: 1px solid oklch(92.8% 0.006 264.531); */
  max-height: 0;
  font-size: 16px;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.table-container {
  max-width: 800px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 16px;
  overflow-y: auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead {
  background-color: #f9fafb;
  text-align: left;
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 16px;
}

tbody tr:hover {
  background-color: #f1f5f9;
}

tbody tr td:last-of-type {
  text-align: center;
}

th {
  cursor: pointer;
  color: #374151;
}

thead tr th:last-of-type {
  text-align: center;
}

.single-range-container {
  width: 100%;
  margin: 40px auto;
}

.single-range-container label {
  font-size: 16px;
  display: block;
  font-weight: 400;
  margin-bottom: 5px;
}

.slider-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 5px;
  background: linear-gradient(to right, #3b82f6 50%, #d1d5db 50%);
  outline: none;
  transition: background 0.3s ease;
  margin: 0;
  padding: 0;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 12px;
  width: 12px;
  border-radius: 50%;
  background: black;
  border: 1px solid white;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

input[type="range"]::-moz-range-thumb {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #1d4ed8;
  border: 2px solid white;
  cursor: pointer;
}

#singleValue {
  font-weight: 500;
  font-size: 16px;
  min-width: 30px;
  text-align: center;
}

.tooltip-container {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.tooltip-text {
  visibility: hidden;
  width: 110px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 6px;
  font-size: 12px;
  position: absolute;
  z-index: 1;
  bottom: 125%; /* Position above the element */
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip-container:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* Optional: Tooltip arrow */
.tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%; /* Arrow points downward */
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}

/* Button Style */
.open-modal-btn {
  cursor: pointer;
}

/* Modal Background */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

/* Modal Box */
.modal-content {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  width: 50%;
  min-width: 400px;
  height: 95%;
  overflow-y: auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  position: relative;
}

/* Close Button */
.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 18px;
  cursor: pointer;
  font-weight: bold;
}

.custom-file-input {
    display: none;
}