@mixin verification-theme($theme) {
  $primary: map-get($theme, primary);
  $warn: map-get($theme, warn);
  $accent-palette: map-get($theme, accent);
  $complete: mat-color($accent-palette, A400);
  $accent: mat-color($accent-palette, A200);
  $foreground: map-get($theme, foreground);

  .verification-section {
    .verification-section-container {
      .verification-document {
        &::before {
          border-top: 1px solid fade-out(mat-color($foreground,divider), 0.8);
        }

        .verification-document-conditions-xs {
          border-bottom: 1px solid mat-color($primary, 500);
          color: mat-color($primary, 500);
        }

        .verification-document-info {
          .toggleLink {
            color: mat-color($primary, 500);
          }
        }

        .verification-document-file {
          .add-button {
            color: mat-color($primary,500);
            border: 1px solid mat-color($primary,500);

            &.rejected {
              color: mat-color($warn,500);
              border: 1px solid mat-color($warn,500);
            }
          }

          .replace-button {
            color: mat-color($foreground,secondary-text);
          }

          .status-button {
            color: mat-color($foreground,secondary-text);

            &.approved {
              color: $complete;
            }
          }
        }
      }
    }
  }

}
