/* job status modal */
#modalAiJobStatus {
  display: none;
  position: fixed;
  top: 90px;
  right: 20px;
  width: 440px;
  max-width: calc(100vw - 40px);
  z-index: 1060;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
#modalAiJobStatus .ai-job-status-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 10px 2px 10px 15px;
  background: #f5f5f5;
  border-bottom: 1px solid #ddd;
  /*  for mobile move modal */
  touch-action: none;
  cursor: move;
  user-select: none;
  -webkit-user-select: none;
}
#modalAiJobStatus .ai-job-status-header .status-header-text {
  font-size: 18px;
}
#modalAiJobStatus .ai-job-status-header .status-header-right {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  width: 125px;
}
#modalAiJobStatus .ai-job-status-header .status-header-right .ai-job-status-close i {
  color: #5bc0de;
}
#modalAiJobStatus .ai-job-status-body {
  padding: 12px;
  max-height: 350px;
  overflow-y: auto;
}
#modalAiJobStatus .ai-job-status-queued {
  color: #007bff;
  font-weight: 600;
}
#modalAiJobStatus .ai-job-status-processing {
  color: #e68a00;
  font-weight: 600;
}
#modalAiJobStatus .ai-job-status-complete {
  color: #28a745;
  font-weight: 600;
}
#modalAiJobStatus .ai-job-status-failed {
  color: #dc3545;
  font-weight: 600;
}
/* AI Job History modal */
#modalAiJobHistory {
  z-index: 1070;
  /* expand icon */
}
#modalAiJobHistory .modal-dialog {
  width: 90%;
  max-width: 900px;
  height: auto;
  max-height: calc(100vh - 40px);
  margin: 20px auto;
}
#modalAiJobHistory .modal-content {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 40px);
  overflow: hidden;
}
#modalAiJobHistory .modal-header,
#modalAiJobHistory .modal-footer {
  flex: 0 0 auto;
}
#modalAiJobHistory .modal-header .ai-history-button-group.detail button.btn,
#modalAiJobHistory .modal-footer .ai-history-button-group.detail button.btn {
  margin-top: 3px !important;
}
#modalAiJobHistory .modal-body {
  flex: 0 1 auto;
  min-height: 0;
  overflow-y: auto;
}
#modalAiJobHistory .ai-create-step-input {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}
#modalAiJobHistory .expand-icon,
#modalAiJobHistory .compress-icon {
  margin-right: 3px;
  font-size: 27px;
  float: right;
}
#modalAiJobHistory .selected-job-highlight {
  background-color: #fffa91;
}
#modalAiJobHistory.preview-expanded {
  overflow: hidden !important;
}
#modalAiJobHistory.preview-expanded .modal-dialog {
  width: 90% !important;
  max-width: 900px;
  height: calc(100vh - 20px);
  margin: 20px auto;
}
#modalAiJobHistory.preview-expanded .modal-content {
  height: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
}
#modalAiJobHistory.preview-expanded .modal-header,
#modalAiJobHistory.preview-expanded .modal-footer {
  flex: 0 0 auto;
}
#modalAiJobHistory.preview-expanded .modal-header .ai-history-button-group.detail button.btn,
#modalAiJobHistory.preview-expanded .modal-footer .ai-history-button-group.detail button.btn {
  margin-top: 3px !important;
}
#modalAiJobHistory.preview-expanded .modal-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}
#modalAiJobHistory.preview-expanded .ai-create-page {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}
#modalAiJobHistory.preview-expanded .ai-create-step-preview {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}
#modalAiJobHistory.preview-expanded .ai-create-step-preview .form-group {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin-bottom: 0;
}
@media (max-width: 902px) {
  #modalAiJobHistory.preview-expanded .modal {
    width: inherit !important;
  }
}
#modalAiJobHistory.preview-expanded #ai-content-preview {
  flex: 1 1 auto;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow-y: auto;
  overflow-x: hidden;
}
/*# sourceMappingURL=aiJobStatus.css.map */