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

.qms__popup {
  .button__close {
    float: right;
    top: -24px;
    right: -24px;
    cursor: pointer;
  }
}

.qms__danger {
  button {
    border: none;
    color: theme-apply($text-white);
    padding: 0;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    height: 20px;
    width: 20px;
    font-family: 'Open Sans';
    font-size: 12px;
    font-weight: 600;
    font-style: normal;
    line-height: 16px;
  }

  .red {
    background-color: theme-apply($button-red-background);
    margin-left: 10px;
  }

  .yellow {
    background-color: theme-apply($button-yellow-background);
    margin-left: 10px;
    color: theme-apply($popup-title-color);
  }

  .green {
    background-color: theme-apply($button-green-background);
    margin-left: 10px;
  }
}

.confirm__button__groups {
  margin-top: 11px;

  button {
    min-height: 36px;
    width: auto;
    font-family: Open Sans;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 16px;
    padding-left: 15px;
    padding-right: 15px;
    margin-right: 5px;
    float: right;
  }

  .confirm {
      background: theme-apply($button-background);
  }
  .confirm:hover {
      background: theme-apply($primary-button-background-color);
      color: theme-apply($primary-button-text-color);
  }
  .confirm:disabled {
    cursor: not-allowed;
  }
  .cancel {
      background: theme-apply($button-background);
  }
  .cancel:hover {
    background: theme-apply($primary-button-background-color);
    color: theme-apply($primary-button-text-color);
  }
}
