#phpapp {
  & div.form-input {
    margin-bottom: 1rem;

    & label {
      margin-bottom: .5rem;
      font-weight: bold;
      display: inline-block;
    }

    &:has(input[type="checkbox"]) {
      & label {
        font-weight: normal;
        margin-bottom: 0;
      }
    }
  }

  & input[type="text"], & textarea, & select {
    padding: .375rem .75rem;
    text-align: left;
    width: 100%;
    display: block;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #f0f8ff;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    box-shadow: 0 0 10px #0000001a;
  }

  & select {
    padding: .55rem .75rem;
  }

  & table {
    width: 100%;
    border-color: #dee2e6;
    margin-bottom: 1rem;
    caption-side: bottom;
    border-collapse: collapse;

    & > thead {
      vertical-align: bottom;
    }

    & > :not(:last-child) > :last-child > * {
      border-bottom-color: #212529;
    }

    & tbody, & td, & tfoot, & th, & thead, & tr {
      border-color: inherit;
      border-style: solid;
      border-width: 0;
    }

    & > :not(caption) > * > * {
      padding: .5rem;
      border-bottom-width: 1px;
    }
  }

  & table.ledger_data {
    & tr {
      &.header {
        font-weight: bold;
        color: #fff;
        background-color: #063;
      }

      &.light {
        background-color: #cfc;
      }

      &.dark {
        background-color: #fff;
      }
    }
  }

  & .rndbutton {
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    color: #000;
    font-weight: bold;
    font-size: 12px;
    background: #6ab269;
    width: 135px;
    height: 27px;
    line-height: 90%;
    cursor: pointer;

    &:hover {
      background-color: #75cc74;
    }
  }

  & .rndbutton-yellow {
    background: #ff0;

    &:hover {
      background-color: #f4f4a6;
    }
  }
}
