* {
  margin: 0;
  padding: 0;
}

.sub-tabs-container {
  background: rgb(243, 243, 243);
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  max-width: 1200px;
  margin: 0 auto;
  font-size: 12px !important;
}

.product-system-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background-color: white;
  padding: 8px;
  border-radius: 8px;
  position: sticky;
  top: 0;
}

.product-price > div:last-child {
  display: flex;
  gap: 8px;
}

.product-price > div:last-child > div {
  display: flex;
  justify-content: space-between;
  padding: 8px;
  background: #fafafa;
  border-radius: 4px;
}

select,
input[type="number"] {
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  font-size: 11px !important;
  box-sizing: border-box;
  outline: none;
}

input[type="number"] {
  padding: 8px;
}

select {
  cursor: pointer;
  background-color: #e6e7e9;
  border: 1px solid gray;
  border-radius: 4px;
  padding: 3px;
  height: 20px;
}

#packageSelect {
  background-color: white;
  height: 40px;
  width: 300px;
  border-color: lightslategray;
  font-size: 11px !important;
}

.body-container {
  display: flex;
  gap: 10px;
  position: relative;
}

.systems-container {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  background-color: white;
  padding: 8px;
  border-radius: 8px;
}

.systems-header {
  margin: 20px 0 10px 0;
  border-radius: 5px;
  background-color: #3aaa35;
  color: white;
  text-align: center;
  padding: 10px;
  display: flex;
  justify-content: center;
  font-size: 12px;
}

.systems-header > div:first-child {
  flex-grow: 1;
  margin-right: 100px;
}

.systems-table {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.systems-table > div:first-child {
  background-color: white;
  font-weight: 700;
}

.systems-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  background-color: #d1d2d3;
  padding: 5px;
  border-radius: 5px;
}

.systems-row > div:first-child {
  display: flex;
  grid-gap: 5px;
  gap: 5px;
  align-items: center;
  flex-basis: 40%;
  font-size: 11px;
}

.systems-row > div:last-child {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: end;
  flex-basis: 60%;
  font-size: 11px;
}

.systems-row > div:last-child > div {
  flex: 0 0 24%;
  text-align: center;
  font-size: 100%;
}

.systems-row.bright-background {
  background-color: #e3e5e7;
}

.systems-row.selected-row {
  background-color: #dcefdc;
  color: #3aaa35;
}

.systems-row > div:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 2;
}

.systems-row > div > input {
  accent-color: #3aaa35;
}

.setting-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 117px;
  background-color: white;
  padding: 8px;
  border-radius: 8px;
  height: fit-content;
}

.setting-container > div {
  padding: 8px;
}

button {
  background: #1290ff;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
}

button:hover {
  background: #40a9ff;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 8px;
  text-align: right;
}

.modal-content button {
  margin-top: 16px;
}

.center {
  text-align: center;
}

input[type="text"] {
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  font-size: 11px !important;
  box-sizing: border-box;
  outline: none;
  padding: 8px;
  width: 100%;
}
