.marking-pdf-password-dialog {
  width: 400px;
  max-width: calc(100% - 32px);
  box-sizing: border-box;
  margin: auto;
  padding: 24px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: #1f2937;
  box-shadow: 0 12px 32px rgba(25, 42, 76, .2);
  font: 14px/1.5 "Microsoft YaHei", sans-serif;
}

.marking-pdf-password-dialog::backdrop {
  background: rgba(15, 23, 42, .38);
}

.marking-pdf-password-dialog h2 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 600;
}

.marking-pdf-password-name {
  margin: 0 0 16px;
  overflow-wrap: anywhere;
  color: #475467;
}

.marking-pdf-password-dialog label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.marking-pdf-password-dialog input {
  width: 100%;
  box-sizing: border-box;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid #a4afbf;
  border-radius: 6px;
  color: inherit;
  font-size: 16px;
}

.marking-pdf-password-error {
  min-height: 21px;
  margin: 4px 0 8px;
  color: #b42318;
}

.marking-pdf-password-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.marking-pdf-password-actions button {
  padding: 8px 14px;
  border: 1px solid #a4afbf;
  border-radius: 6px;
  background: #fff;
  color: #344054;
  cursor: pointer;
}

.marking-pdf-password-actions button[type="submit"] {
  border-color: #1956bc;
  background: #1956bc;
  color: #fff;
}

.marking-pdf-password-actions button:disabled {
  opacity: .6;
}

.marking-pdf-password-trigger {
  padding: 0;
  border: 0;
  background: transparent;
  color: #1956bc;
  font: inherit;
  text-decoration: underline;
  white-space: nowrap;
  cursor: pointer;
}

.attachment-file__item.has-marking-pdf-action .attachment-file__size {
  display: none;
}

.attachment-file__item.has-marking-pdf-action .attachment-file__status {
  flex: 1 1 auto;
}

.attachment-file__item.has-marking-pdf-action .attachment-file__status.is-failed {
  color: #b42318;
}

body.jufa-home-page .jufa-home-question-box .attachment-file__item.has-marking-pdf-action .attachment-file__desc {
  overflow: visible;
}

body.jufa-home-page .jufa-home-question-box .attachment-file__item.has-marking-pdf-action .marking-pdf-password-trigger {
  min-height: 22px;
}

body.jufa-home-page .jufa-home-question-box .attachment-file__item.has-marking-pdf-action .file_del {
  opacity: 1;
}

.attachment-file__item .marking-pdf-remove {
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
}
