#dcpl-modal,
#dcpl-modal * {
  box-sizing: border-box;
}

:root {
  --dcpl-accent: #2271b1;
}

#dcpl-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.35);
}

#dcpl-modal .dcpl-dialog {
  width: 100%;
  max-width: 480px;
  background: #fff !important;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu,
    Cantarell, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-size: 16px;
  line-height: 1.4;
  color: #1d2327;
  display: grid;
  grid-template-rows: auto 1px auto auto;
}

#dcpl-modal .dcpl-title {
  margin: 0;
  padding: 14px 16px;
  font: inherit;
  color: #1d2327;
}

#dcpl-modal .dcpl-divider {
  height: 1px;
  margin: 0;
  background: #dcdcde;
}

#dcpl-modal .dcpl-body {
  padding: 12px 16px 6px;
  margin: 0;
  font: inherit;
  color: #1d2327;
  min-height: 0;
}

#dcpl-modal .dcpl-actions {
  padding: 12px 16px 14px;
  display: flex;
  justify-content: flex-end;
  background: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
}

#dcpl-modal .dcpl-close {
  font: inherit;
  font-size: 13px;
  line-height: 1.2;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 1px solid #8c8f94;
  background: #fff;
  color: var(--dcpl-accent);
  padding: 8px 14px;
  border-radius: 2px;
  cursor: pointer;
}

#dcpl-modal .dcpl-close:hover {
  background: #f6f7f7;
}

#dcpl-modal .dcpl-close:focus {
  outline: 2px solid rgba(34, 113, 177, 0.35);
  outline-offset: 2px;
}

#dcpl-modal .dcpl-dialog.dcpl-no-body .dcpl-body {
  display: none;
}

#dcpl-modal .dcpl-dialog.dcpl-no-body .dcpl-actions {
  padding-top: 10px;
}
