body.the-art-report-modal-open {
  overflow: hidden;
}

body.the-art-report-modal-open > .iziModal-overlay {
  background: rgba(8, 13, 15, .56) !important;
  backdrop-filter: blur(2px);
}

#dokan-modal-report-abuse-popup.the-art-report-modal {
  box-sizing: border-box;
  width: min(620px, calc(100vw - 32px)) !important;
  max-width: 620px !important;
  max-height: calc(var(--the-art-report-viewport-height, 100dvh) - 32px) !important;
  height: auto !important;
  border: 1px solid rgba(18, 27, 31, .12) !important;
  border-bottom-width: 1px !important;
  border-radius: 24px !important;
  background: #fff;
  box-shadow: 0 30px 90px rgba(8, 13, 15, .22) !important;
  overflow: hidden !important;
  transition-duration: 140ms !important;
}

.the-art-report-modal *,
.the-art-report-modal *::before,
.the-art-report-modal *::after {
  box-sizing: border-box;
}

.the-art-report-modal .iziModal-header {
  position: relative;
  min-height: 0;
  padding: 28px 76px 12px 32px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.the-art-report-modal .iziModal-header-title {
  margin: 0;
  color: #121b1f !important;
  font-family: var(--fontFamily, inherit);
  font-size: clamp(24px, 4vw, 34px) !important;
  font-weight: 650 !important;
  letter-spacing: -.035em !important;
  line-height: 1.08 !important;
  text-transform: none !important;
}

.the-art-report-modal .iziModal-header-subtitle {
  display: none !important;
}

.the-art-report-modal .iziModal-header-buttons {
  top: 20px !important;
  right: 22px !important;
  transform: none !important;
}

.the-art-report-modal .iziModal-button-close {
  display: inline-grid !important;
  width: 38px !important;
  height: 38px !important;
  padding: 0 !important;
  place-items: center;
  border: 1px solid rgba(18, 27, 31, .14) !important;
  border-radius: 50% !important;
  background: #f6f5f2 !important;
  color: #121b1f !important;
  font-family: Arial, sans-serif;
  font-size: 25px !important;
  font-weight: 300;
  line-height: 1 !important;
  opacity: 1 !important;
  text-decoration: none;
}

.the-art-report-modal .iziModal-button-close:hover {
  border-color: #121b1f !important;
  background: #fff !important;
}

.the-art-report-modal .iziModal-wrap {
  max-height: calc(var(--the-art-report-viewport-height, 100dvh) - 122px) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.the-art-report-modal .iziModal-content {
  padding: 0 !important;
}

.the-art-report-modal .dokan-report-abuse-form-popup-wrapper {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #fff;
}

.the-art-report-modal .dokan-form-container {
  padding: 4px 32px 32px;
}

.the-art-report-description {
  max-width: 54ch;
  margin: 0 0 24px;
  color: #5e676b;
  font-size: 14px;
  line-height: 1.6;
}

.the-art-report-question {
  margin: 0 0 12px;
  color: #121b1f;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.4;
}

.the-art-report-modal fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.the-art-report-modal .dokan-popup-option-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 24px !important;
  padding: 0 !important;
  list-style: none !important;
}

.the-art-report-modal .dokan-popup-option-list li {
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}

.the-art-report-modal .dokan-popup-block-label {
  display: flex !important;
  min-height: 48px;
  margin: 0 !important;
  padding: 10px 12px !important;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(18, 27, 31, .14);
  border-radius: 14px;
  background: #fff;
  color: #263136;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.35;
  transition: border-color 120ms ease, background-color 120ms ease;
}

.the-art-report-modal .dokan-popup-block-label:hover {
  border-color: rgba(18, 27, 31, .42);
  background: #faf9f6;
}

.the-art-report-modal input[type="radio"] {
  width: 18px !important;
  min-width: 18px;
  height: 18px !important;
  margin: 0 !important;
  accent-color: #121b1f;
}

.the-art-report-modal .dokan-popup-block-label:has(input:checked) {
  border-color: #121b1f;
  background: #f6f5f2;
}

.the-art-report-reason__label {
  overflow-wrap: anywhere;
}

.the-art-report-modal .dokan-form-group {
  margin: 0 0 18px !important;
}

.the-art-report-modal .dokan-form-group > label {
  display: block;
  margin: 0 0 7px;
  color: #121b1f;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
}

.the-art-report-modal .dokan-form-control {
  width: 100% !important;
  min-height: 50px;
  padding: 12px 14px !important;
  border: 1px solid rgba(18, 27, 31, .18) !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: none !important;
  color: #121b1f !important;
  font-size: 16px !important;
}

.the-art-report-modal textarea.dokan-form-control {
  min-height: 112px;
  resize: vertical;
}

.the-art-report-modal .dokan-form-control:focus,
.the-art-report-modal input[type="radio"]:focus-visible,
.the-art-report-modal .iziModal-button-close:focus-visible,
.the-art-report-modal .dokan-btn:focus-visible {
  border-color: #121b1f !important;
  outline: 3px solid rgba(18, 27, 31, .18) !important;
  outline-offset: 2px;
}

.the-art-report-modal .dokan-popup-error {
  display: none;
  margin: 0 0 14px;
  padding: 11px 13px;
  border: 1px solid rgba(155, 45, 45, .22);
  border-radius: 12px;
  background: #fff7f6;
  color: #8c2929;
  font-size: 13px;
  line-height: 1.45;
}

.the-art-report-modal .dokan-popup-error.has-error,
.the-art-report-modal .dokan-popup-error:not(:empty) {
  display: block;
}

.the-art-report-modal #dokan-report-abuse-form-submit-btn,
.the-art-report-modal #dokan-report-abuse-form-working-btn {
  width: auto !important;
  min-width: min(100%, 210px);
  min-height: 50px;
  margin: 2px 0 0 !important;
  padding: 12px 22px !important;
  border: 1px solid #121b1f !important;
  border-radius: 999px !important;
  background: #121b1f !important;
  box-shadow: none !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  line-height: 1.2;
  text-transform: none !important;
}

.the-art-report-modal #dokan-report-abuse-form-submit-btn:hover {
  background: #263136 !important;
}

.the-art-report-modal .the-art-report-is-submitting {
  cursor: wait;
}

.the-art-report-modal fieldset:disabled {
  opacity: .72;
}

@media (max-width: 560px) {
  #dokan-modal-report-abuse-popup.the-art-report-modal {
    top: calc(var(--the-art-report-viewport-offset, 0px) + 10px) !important;
    width: calc(100vw - 20px) !important;
    max-height: calc(var(--the-art-report-viewport-height, 100dvh) - 20px) !important;
    border-radius: 20px !important;
  }

  .the-art-report-modal .iziModal-header {
    padding: 20px 58px 10px 20px !important;
  }

  .the-art-report-modal .iziModal-header-title {
    font-size: 24px !important;
  }

  .the-art-report-modal .iziModal-header-buttons {
    top: 14px !important;
    right: 14px !important;
  }

  .the-art-report-modal .iziModal-button-close {
    width: 36px !important;
    height: 36px !important;
  }

  .the-art-report-modal .iziModal-wrap {
    max-height: calc(var(--the-art-report-viewport-height, 100dvh) - 88px) !important;
  }

  .the-art-report-modal .dokan-form-container {
    padding: 2px 20px max(22px, env(safe-area-inset-bottom, 0px));
  }

  body.hdsb-enabled .the-art-report-modal .iziModal-wrap {
    scroll-padding-bottom: 104px;
  }

  body.hdsb-enabled .the-art-report-modal .dokan-form-container {
    padding-bottom: max(104px, calc(22px + env(safe-area-inset-bottom, 0px)));
  }

  .the-art-report-description {
    margin-bottom: 20px;
    font-size: 13px;
  }

  .the-art-report-modal .dokan-popup-option-list {
    grid-template-columns: 1fr;
  }

  .the-art-report-modal #dokan-report-abuse-form-submit-btn,
  .the-art-report-modal #dokan-report-abuse-form-working-btn {
    width: 100% !important;
  }
}

@media (max-height: 560px) {
  .the-art-report-modal .iziModal-header {
    padding-top: 14px !important;
    padding-bottom: 8px !important;
  }

  .the-art-report-modal .iziModal-header-buttons {
    top: 9px !important;
  }

  .the-art-report-modal .iziModal-wrap {
    max-height: calc(var(--the-art-report-viewport-height, 100dvh) - 70px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #dokan-modal-report-abuse-popup.the-art-report-modal,
  .the-art-report-modal .dokan-popup-block-label {
    transition: none !important;
  }
}
