body {
  margin: 1rem;
  font-family: "Inter", sans-serif;
}

.note {
  font-size: 0.8rem;
  position: absolute;
  right: calc(10% + 2rem);
  margin-top: 1rem;
}

.note a {
  color: #6941c6;
  text-decoration: none;
}
.note img {
  height: 0.8rem;
}

.decisionable-table table {
  font-family: "Nunito", sans-serif;
  font-weight: 300;
  background-color: #53389f;
  padding: 0;
  border-radius: 0.5rem;
  border: 1px solid #53389f;
  border-spacing: 0;
}

.decisionable-table input[type="text"]:focus {
  outline: none;
}

.decisionable-table input[type="text"] {
  border: none;
  width: 100%;
  font-weight: 300;
  font-family: "Inter";
}

.decisionable-table thead td span {
  color: #fff;
  width: 100%;
  font-weight: 300;
  font-family: "Inter";
  font-size: 0.85rem;
}

.decisionable-table thead input[type="text"] {
  background-color: #53389f;
  color: white;
}

.decisionable-table thead {
}
.decisionable-table tbody {
  border-radius: 0 0 0.5rem 0.5rem;
  color: #53389f;
}

.decisionable-table thead {
}

.decisionable-table thead th {
  padding: 0.5rem 1rem;
  color: white;
  font-weight: 300;
  padding: 2rem 1rem 0.5rem 1rem;
  text-align: left;
  border-right: 1px solid #6941c6;
}

input[type="text"]::placeholder {
  color: #c0c0c0;
}

.decisionable-table thead td h5 {
  color: #fff;
  font-weight: 300;
  font-size: 0.75rem;
}

.decisionable-table .header-add {
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translate(50%, -50%);
}

.decisionable-table thead th:first-child {
  border-radius: 0.5rem 0 0 0;
}

.decisionable-table thead th:last-child {
  border-right: none;

  border-radius: 0 0.5rem 0 0;
}

.decisionable-table td {
  position: relative;
}

.decisionable-table tbody {
  background-color: white;
  border-radius: 0.5rem;
}

.decisionable-table tbody input[type="text"] {
  color: #53389f;
}

.decisionable-table tfoot {
  color: #53389f;
  background-color: white;
  border-radius: 0.5rem;
}

.decisionable-table td {
  padding: 0.5rem 1rem;
  margin: 0;
}

.decisionable-table tbody td {
  border-right: 1px solid #53389f;
  border-bottom: 1px solid #53389f;
}

.decisionable-table thead td {
  border-right: 1px solid #6941c6;
}

.decisionable-table td:last-child {
  border-right: none;
}

.decisionable-table tr:last-child td {
  border-bottom: none;
}

.decisionable-table .condition {
}
.decisionable-table td.result {
}

.decisionable-table td img {
  position: relative;
  top: 0.15rem;
  height: 1rem;
  margin: 0 0.25rem;
}

.decisionable-table tr .condition:not(:has(~ .condition)) {
  border-right: 3px double #6941c6;
}

.decisionable-table tbody:not(:has(~ tfoot)) tr:last-child td:last-child {
  border-bottom-right-radius: 0.5rem;
}
.decisionable-table tbody:not(:has(~ tfoot)) tr:last-child td:first-child {
  border-bottom-left-radius: 0.5rem;
}

.decisionable-table tfoot tr:last-child td:last-child {
  border-bottom-right-radius: 0.5rem;
}
.decisionable-table tfoot tr:last-child td:first-child {
  border-bottom-left-radius: 0.5rem;
}

.decisionable-table tfoot td {
  border-top: 3px double #53389f;
}

.fieldEditPopup {
  padding: 1rem;
  background: #6941c6;
  border-radius: 0.5rem;
  color: white;
  position: absolute;
  transform: translate(-50%, 100%);
  bottom: -1rem;
  left: 50%;
  width: 20rem;
  z-index: 10000;
}

.fieldEditPopup div {
  margin-bottom: 1rem;
}

.fieldEditPopup button {
  background: white;
  color: #6941c6;
  float: right;
}

.fieldEditPopup input[type="text"] {
  padding: 0.5rem;
  background: #6941c6 !important;
  color: white;
  border: 1px solid white;
  border-radius: 0.5rem;
}
