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

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

  .mat-simple-snackbar-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-simple-snackbar-action.ng-star-inserted {
    color: theme-apply($text-white);
  }
  .mat-snack-bar-container{
    background-color: theme-apply($success-color);
  }
}

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

  .mat-simple-snackbar-action.ng-star-inserted {
    color: theme-apply($text-white);
  }
}

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

  .mat-simple-snackbar-action.ng-star-inserted {
    color: theme-apply($text-dark);
  }
}

.c-snackbar-qms {
  padding-top: 21px !important;
  padding-bottom: 21px !important;
  .mat-simple-snackbar {
    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);
    }
    .mat-button-wrapper {
    color:#94BAEF;
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 16px;
    }
  }
}
