body {
  font-family: Helvetica, Arial, sans-serif;
  background-color: rgb(47, 60, 79);
  margin: 0;
  padding: 0;
  height: 100%;
}

.full-page {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.container {
  height: 800px;
  width: 600px;
  justify-self: center;
  background-color: rgb(255, 255, 255);
  padding: 1rem;
  border-radius: 20px;
}

h1 {
  text-align: center;
}

.tab-headers {
  display: flex;
  justify-content: space-evenly;

  .tab-header {
    font-size: x-large;
    background-color: rgb(178, 201, 255);
    padding: 4px 15px;
    border-radius: 10px;
    cursor: pointer;
    &:hover {
      background-color: rgb(136, 140, 255);
    }

    &.active {
      background-color: rgb(76, 0, 255);
      color: white;
    }
  }
}

table {
  margin-top: 2rem;
  margin-bottom: 2rem;
  width: 100%;
  /*border: 1px solid lightgray;*/
  border-collapse: collapse;

  th {
    text-align: left;
    border: none;
  }

  td {
    height: 1.4rem;
    border: 1px solid lightgray;

    span.delete-team {
      font-size: small;
    }

    button {
      margin-left: 1rem;
    }
  }
  td.w2 {
    width: 2rem;
  }

  td:last-child {
    border-left: none;
  }
  td:nth-child(2) {
    border-right: none;
  }

}

table:not(.editing) {
  .edit-widget {
    visibility: hidden;
  }
}

.edit-widget {
  cursor: pointer;
}

.edit-toggle-container {
  display: inline;
  margin-right: 2rem;
}

form#addTeamForm {
  display: block;
  margin-top: 1rem;
  margin-left: 0;
  button {
    margin-left: 1rem;
  }
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 18px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: .4s;
}

input:checked + .slider {
  background-color: red;
}

input:focus + .slider {
  box-shadow: 0 0 1px red;
}

input:checked + .slider:before {
  transform: translateX(20px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}