body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #181a1b;
  color: #e8e6e3;
}

.container {
  display: flex;
  min-height: 100vh;
}

.left-panel {
  width: 200px;
  padding: 20px;
  background-color: #1f2223;
  flex-shrink: 0;
}

.left-panel button {
  display: block;
  width: 100%;
  margin-bottom: 12px;
  padding: 10px;
  font-size: 16px;
  cursor: pointer;
  background-color: #2d3031;
  color: #e8e6e3;
  border: 1px solid #3c3f41;
}

.main-content {
  flex: 1;
  display: flex;
  padding: 20px;
  gap: 15px;
  overflow-x: auto;
  align-items: flex-start;
}

.your-splits,
.comparision-splits {
  flex: 3;
}

.delta {
  flex: 1;
}

.section-title {
  font-size: 2rem;
  margin-top: 10px;
  margin-bottom: 15px;
  white-space: nowrap;
  text-align: center;
}

.link-wrapper-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 15px;
  table-layout: fixed;
}

.link-wrapper-table td {
  padding: px;
}

.split-link-input {
  box-sizing: border-box;
  height: 30px;
  width: 100% !important;
  display: block;
  padding: 4px;
  font-size: 14px;
  background-color: #202324;
  color: #e8e6e3;
  border: 1px solid #3c3f41;
}

.delta-header-spacer {
  height: 30px;
}

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

th,
td {
  border: none;
  padding: 4px;
  text-align: center;
}

.col-time,
.col-cum,
.col-name {
  width: 33.33%;
}

.col-delta {
  width: 100%;
}

input[type="text"] {
  padding: 4px;
  box-sizing: border-box;
  font-size: 14px;
  background-color: #202324;
  color: #e8e6e3;
  border: 1px solid #3c3f41;
  width: 100%;
}

.result-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
}

.result-container h2 {
  margin: 0;
  font-size: 1.1rem;
  white-space: nowrap;
}

#delResult {
  width: 100px;
  text-align: center;
  font-weight: bold;
}

table tbody tr td:nth-child(2) input {
  background-color: #2c2f30;
  color: #c8c6c3;
  border: 1px solid #3c3f41;
  cursor: not-allowed;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  opacity: 1;
}

@media screen and (max-height: 900px) {
  .container {
    zoom: 0.9;
    @supports not (zoom: 1) {
      -moz-transform: scale(0.9);
      -moz-transform-origin: top left;
      transform: scale(0.9);
      transform-origin: top left;
    }
  }
}

@media screen and (max-height: 800px) {
  .container {
    zoom: 0.8;
    @supports not (zoom: 1) {
      -moz-transform: scale(0.8);
      -moz-transform-origin: top left;
      transform: scale(0.8);
      transform-origin: top left;
    }
  }
}

#delResult,
input[id^="dt"] {
  background-color: #1a1c1d !important;
  border: 1px solid #3c3f41;
}
