@import "../theme/variable";
@import "../theme/mixins";

.toast-error {
  background-color: theme-apply($error-color);
  color: theme-apply($text-white);

  .mat-mdc-snack-bar-action.ng-star-inserted {
    color: theme-apply($text-white);
  }
}

::ng-deep .toast-success {
  background-color: theme-apply($success-color);
  color: theme-apply($text-white);
  .mat-mdc-snack-bar-action.ng-star-inserted {
    color: theme-apply($text-white);
  }
  .mat-mdc-snack-bar-container{
    background-color: theme-apply($success-color);
  }
}

.toast-infor {
  background-color: theme-apply($infor-color);
  color: theme-apply($text-white);

  .mat-mdc-snack-bar-action.ng-star-inserted {
    color: theme-apply($text-white);
  }
}

.toast-warning {
  background-color: theme-apply($warning-color);
  color: theme-apply($text-dark);

  .mat-mdc-snack-bar-action.ng-star-inserted {
    color: theme-apply($text-dark);
  }
}

.c-snackbar-qms {
  padding-top: 21px !important;
  padding-bottom: 21px !important;
  .mat-mdc-simple-snack-bar {
    button {
      &:hover {
          background-color: theme-apply($primary-light-6-opacity);
      }
    }
    span {
      font-family: "Open Sans";
      font-style: normal;
      font-weight: normal;
      font-size: 14px;
      line-height: 22px;
      color: theme-apply($primary-button-text-color);
    }
    /* TODO(mdc-migration): The following rule targets internal classes of button that may no longer apply for the MDC version. */
    .mat-button-wrapper {
    color:#94BAEF;
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 16px;
    }
  }
}
