.publishPage {
  height: 100%;
  display: flex;
  flex-direction: column;


  .toolbar {
    margin: 1rem 3rem;
    background-color: var(--component-background);
    display: flex;
    justify-content: center;

    .publishButton {
      margin: 10px 10px;
      font-size: 1rem;
      border: unset
    }
    .resetButton {
      background-color: var(--component-background);
      &:hover {
        background-color: var(--component-background-hover);
      }
    }
  }

  .publishForm {
    margin: 0 3rem;
    min-width: 50%;
    display: flex;
    flex-direction: column;

    .changedFileList {
      background-color: var(--component-background);
      display: flex;
      flex-direction: column;
    }

    .fancy-checkbox {

      margin: 1rem;
      padding: 0.5rem;
      display: inline-flex;
      align-items: center;
      cursor: pointer;
      font-family: sans-serif;

      &:hover {
        background-color: var(--component-background-hover);
      }


      /* make input invisible */
      input {
        display: none;
      }

      .checkmark {
        width: 30px;
        height: 30px;
        border: 2px solid #ccc;
        border-radius: 6px;
        display: inline-block;
        position: relative;
        transition: all 0.2s ease;
        margin-right: 8px;
        background-color: white;
      }

      /* oranje accent als geselecteerd */
      input:checked + .checkmark {
        border-color: #ff9800;
        background-color: #ff9800;
      }

      /*vinkje |_ en dan 45 graden draaien*/
      .checkmark::after {
        content: "";
        position: absolute;
        left: 9px;
        top: 4px;
        width: 8px;
        height: 15px;
        border: solid white;
        border-width: 0 3px 3px 0;
        transform: rotate(45deg);
        opacity: 0;
        transition: opacity 0.2s ease;
      }

      /*zichtbaar als geselecteerd*/
      input:checked + .checkmark::after {
        opacity: 1;
      }

      &:hover .checkmark {
        border-color: #ffb74d;
        box-shadow: 0 0 4px rgba(255, 152, 0, 0.4);
      }
    }

  }
}
