pragma-appbar {
  width: 100%;
  height: $app-toolbar-height;
  flex: 0 0 3.5rem;
  display: block;
  background: var(--color-brand-dark);

  header {
    height: 100%;
    display: flex;
    align-items: center;
  }

  h1{
    font-size: var(--font-size-large);
  }

  button:enabled {
    background: none;
    border: none;
    margin: 0;
    height: 3.5rem;
    width: 3.5rem;
    min-width: 3.5rem;
    padding: 0;
    border-radius: 0;
    display: flex;
    justify-content: center;

    svg {
      position: relative;
      padding: 0rem;
      fill: white;
    }
    &:hover {
      box-shadow: none;
      background: var(--color-ui-1-30);
    }
    &:focus {
      box-shadow: inset 0 0 0 0.25rem var(--color-focus-80);
    }
  }
  #errors-button {
    display: none;
    svg {
      fill: var(--color-warning);
    }
    #errors-arrow {
      display: none;
    }
  }

  #errors-button.hidden {
    display: flex;
  }

  #errors-button.open {
    display: flex;
    background: var(--color-ui-1-30);

    #errors-arrow {
      display: block;
      position: absolute;
      top: 0;
      svg {
        width: 3.5rem;
        height: 0.75rem;
        margin-top: 3.5rem;
        z-index: 902;
        fill: var(--color-brand-dark);
      }
    }
  }

  input::placeholder {
    color: var(--color-ui-4);
  }

  h1 {
    flex: 1;
    color: #fff;
    padding: 0 10px;
  }
}