.diagnoses {
  .diagnoses-main {
    display: flex;
    flex-direction: column;
    border-bottom: solid 1px var(--color-border-secondary);
    overflow: hidden;
    height: 100%;
    flex: 1;
    position: relative;
    background-color: var(--color-bg-primary);

    .main-content-wrapper {
      flex: 1;
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: space-between;
      overflow: hidden;

      .main-content {
        flex: 1;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 24px;
        overflow-y: auto;
      }
    }

    .footer-fade {
      position: sticky;
      display: block;
      height: 40px;
      pointer-events: none;
      width: 100%;
      z-index: 9;
      flex: 0 0 auto;
      bottom: 0;

      background: linear-gradient(
        to bottom,
        transparent 0%,
        var(--color-bg-primary) 100%
      );

      &.tertiary {
        background: linear-gradient(
          to bottom,
          transparent 0%,
          var(--color-bg-tertiary) 100%
        );
      }
    }

    .actions-wrapper {
      width: 100%;
      border-top: 1px solid var(--color-border-secondary);
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      background-color: var(--color-bg-primary);
      z-index: 10;

      .actions {
        display: flex;
        flex-direction: row;
        width: 960px;
        padding: 20px 32px 16px 32px;
        gap: 12px;

        > :last-child:not(:only-child) {
          margin-left: auto;
        }
      }
    }

    .note-1 {
      font-size: var(--font-size-sm);
      color: black;
      margin-bottom: 16px;
    }

    .note-2 {
      font-size: var(--font-size-md);
      font-style: italic;
      font-weight: var(--weight-light);
      color: black;
      margin-bottom: 32px;
      text-align: center;
    }
  }
}
