body {
  margin: 0;
  height: 100vh;
}

.full-height {
  height: 100%;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.flex-grow {
  flex: 0 1 auto;
}

#login-form {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 999;
  background: white;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content:center;

  div {
    display: flex;
    flex-direction: column;
    justify-content: center;

    input, button {
      margin-top: 5px;
      padding: 5px;
      min-width: 300px;
    }

    button {
      background: white;
      cursor: pointer;

      &:hover {
	background: lightgray;
      }
    }

  }
}

.menu {
  padding: 10px;
  display: flex;
  justify-content: right;

  button {
    margin-left: 10px;
    background: transparent;
    border-radius: 13px;
    padding: 5px;

    &:hover {
      background: lightgray;
      cursor: pointer;
    }
  }
}

.tab-selector {
  .header {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-bottom: 3px;
    span {
      padding: 3px;
      border-bottom: 1px solid black;
      &:hover {
	background: gray;
	cursor: pointer;
      }

      &.selected {
	border-bottom: 1px solid blue;
      }
    }
  }
}

.totals {
  div {
    font-style: italic;
  }
}

.card {
  border: 1px solid black;
  border-radius: 3px;
  padding: 3px;
  margin-bottom: 3px;
  max-width: 500px;
  cursor: pointer;

  &:hover {
    background-color: lightgray;
  }

  
  .card-header {
    display:flex;
    justify-content:space-between;
    border-bottom: 1px solid #ddd;
    font-size: larger;
    padding: 3px;
  }

  .card-body {
    display: flex;
    justify-content: space-between;
    padding: 2px;
    color: #555;
    
  }
}

.split-payment {
 

  .card-body {
   
    div {
      text-align: right;
    }
  }
}

.form {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background: white;
  margin: 0;
  display: flex;
  flex-direction: column;
  /* media query? */
  /* border-left: 1px solid black; */
    
  .form-body {
    flex-grow: 1;
    padding: 16px;
  }

  .form-buttons {
    display: flex;
    justify-content: center;
    padding: 10px;
    button {
      margin: 10px;
    }
  }

  .form-body > div > span {
    display: block;
    color: #111;
    font-weight: 500;
    margin: 8px 0 3px 0;
  }

  input,select,textarea {
    width: 100%;	
  }

  /* checkboxes */
  .form-toggle {
    display: flex;

    span {
      flex-grow: 1;
    }

    input { 
      width: unset;
      align-self: end;
    }
  }
}

.hidden {
  display: none !important;
}

.settlement {
  /* display: flex; */
  /* justify-content: space-between;  */
}

table {
  tbody {
    tr:nth-child(even) {
      background-color: #D6EEEE;
    }
    tr:nth-child(odd) {
      background-color: beige;
    }
    tr {
      th, td {
	padding: 2px 10px;
	text-align: right;
      }
      th:not(first-child), td:not(first-child) {
    }
  }
}
