src/components/SignaturePanel/WidgetInfo/WidgetInfo.scss
.signature-widget-info {
  --widget-header-indent: 49px;
  --widget-body-indent: 22px;
  --arrow-width: 12px;
  padding: 4px;

  display: flex;
  flex-direction: column;
  font-size: 13px;
  margin-bottom: 10px;
  margin-inline-start: 5px;

  p + p {
    margin: 0px;
    margin-top: 1em;
  }

  p.result-for-header {
    margin-top: 0px;
  }

  p.bold {
    font-weight: bold;
    margin-bottom: 4px;
  }

  p.underline {
    text-decoration: underline;
  }

  .signatureProperties {
    padding: 0;
    margin: 0px;

    &:hover,
    &:focus {
      color: var(--blue-5);
    }
  }

  .link {
    cursor: pointer;
    outline: none;
    border: 0;
    background-color: transparent;
    white-space: nowrap;

    &:focus-visible {
      outline: var(--focus-visible-outline);
    }

    p {
      margin: 0;
      padding: 0;
    }
  }

  box-sizing: border-box;
  border: 1px solid transparent;
  cursor: pointer;
  --border-radius-amount: 4px;
  -moz-border-radius-topleft: var(--border-radius-amount);
  -moz-border-radius-topright: var(--border-radius-amount);
  -moz-border-radius-bottomright: var(--border-radius-amount);
  -moz-border-radius-bottomleft: var(--border-radius-amount);
  -webkit-border-radius: var(--border-radius-amount);
  border-radius: var(--border-radius-amount);

  .panel-list-text-container {
    height: 100%;

    .panel-list-label-header {
      .Button {
        span {
          text-align: start;
          overflow: visible;
          white-space: normal;
          text-overflow: inherit;
        }
      }
    }
  }

  .panel-list-icon-container {
    .Icon {
      width: 20px;
      height: 20px;
    }
  }

  .title {
    padding-inline-start: 4px;
    font-weight: bold;
    display: flex;
    align-items: center;
    margin-block-start: 0em;
    margin-block-end: 0em;
    min-height: 32px;
    margin-top: -5px;
    margin-bottom: -5px;
    overflow: hidden;
    border: 0;
    background-color: transparent;

    div + *,
    button + * {
      margin-inline-start: 2px;
    }

    .arrow {
      min-width: var(--arrow-width);
      transition: transform 0.1s ease;
      margin-top: 0;
      background-color: transparent;
      border: none;
      padding: 0;
      display: flex;
      justify-content: center; /* Horizontally centers the item */
      align-items: center;

      &.expanded {
        transform: rotate(90deg);
      }

      .Icon {
        width: var(--arrow-width);
        height: var(--arrow-width);
      }

      &.hidden {
        visibility: hidden;
        // width of signature icon + margin-inline-end + margin-inline-start
        padding: 16 + 5 + 2px;
      }

      &:hover {
        .Icon {
          color: var(--blue-6);
        }
      }

      &:focus-visible {
        outline: var(--focus-visible-outline);
      }
    }

    .signature-icon {
      margin-inline-end: 5px;
    }

    &:focus-visible {
      outline: var(--focus-visible-outline);
    }
  }

  .header {
    margin-inline-start: 32px;

    ul {
      padding-inline-start: 24px;
    }

    .body > div:first-child > p:first-child,
    .body > p:first-child {
      margin-top: 0.5em;
    }

    .body > div:last-child {
      margin-bottom: 0.5em;
    }
  }

  .header-with-arrow {
    /**
     * Minus the width off-set created by the arrow, ensuring that the headers
     * align
     */
    margin-inline-start: 0px;

    ul {
      /**
       * Re-add the width offset created by the arrow, ensuring the content of
       * the bodies align
       */
      margin-inline-start: var(--arrow-width);
      li {
        margin-inline-start: 18px;
      }
    }
  }

  .panel-list-label-header {
    button {
      font-weight: bold;
      font-size: 13px;
    }
  }

  .signatureDetails,
  .verificationDetails {
    cursor: default;
    padding: 0;
    background-color: transparent;
    border: none;
    text-align: start;
  }
}
