@import "../../../themes/core/colors";
@import "../../../themes/core/typography";

::ng-deep .qms-dialog {
  &.dark-mode {
    .mat-dialog-container {
      background-color: rgba(50, 50, 50, 1);
    }

    .dialog-container {
      background-color: rgba(50, 50, 50, 1);

      h3.title,
      .close-btn,
      .cancel-btn {
        color: #ffffff;
      }

      .close-btn {
        &:hover,
        &:focus {
          color: #ffffff;
        }
      }

      .mat-dialog-content {
        color: rgba(255, 255, 255, 0.6);
      }

      .action-btn {
        background: #b7daf8;
        color: #1954a9;
      }
    }

    .qms-btn-icon.qms-light {
      color: white;

      &:hover {
        color: white;
      }
    }
  }

  .dialog-container {
    .dialog-title {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      margin: 0 0 10px;
    }

    .close-btn {
      color: black(0.6);
      height: 30px;
      padding: 0;

      &:hover,
      &:focus {
        color: black(0.6);
      }
    }

    .mat-dialog-content {
      font-size: 14px;
      font-family: "Open Sans";
    }

    .action-btn {
      margin-left: 16px;
      order: 2;

      &.priority {
        order: 1;
      }
    }

    .cancel-btn {
      order: 2;
    }

    h3.title {
      font-family: "Raleway";
      font-size: 1rem;
      line-height: 22px;
      font-weight: 600;

      &.text-normal {
        font-family: "Open Sans";
        font-weight: 400;
        line-height: 28px;
        color: inherit;
      }
    }
  }
}
