.alaj-report-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(12, 12, 12, 0.58);
  backdrop-filter: blur(4px);
}

.alaj-report-overlay.is-open {
  display: flex;
}

.alaj-report-modal {
  width: min(560px, 100%);
  max-height: min(92vh, 860px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  font-family: Dana, Emkan, Tahoma, sans-serif;
  color: #1a1a1a;
}

.alaj-report-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px 12px;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
}

.alaj-report-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.alaj-report-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f3f3f3;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.alaj-report-form,
.alaj-report-success {
  padding: 18px 22px 24px;
}

.alaj-report-form {
  overflow: auto;
}

.alaj-report-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.alaj-report-field label {
  font-size: 13px;
  font-weight: 700;
}

.alaj-report-optional {
  color: #888;
  font-weight: 400;
}

.alaj-report-field input[type="text"],
.alaj-report-field input[type="email"],
.alaj-report-field input[type="url"],
.alaj-report-field textarea {
  width: 100%;
  border: 1px solid #e4e4e4;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  background: #fafafa;
}

.alaj-report-field input[type="email"],
.alaj-report-field input[type="url"] {
  direction: ltr;
  text-align: left;
  unicode-bidi: isolate;
}

.alaj-report-field textarea {
  min-height: 110px;
  resize: vertical;
}

.alaj-report-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.alaj-report-add-link,
.alaj-report-submit {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.alaj-report-add-link {
  align-self: flex-start;
  background: transparent;
  color: #b8860b;
  padding: 0;
  font-weight: 700;
  font-size: 13px;
}

.alaj-report-dropzone {
  border: 1.5px dashed #d4d4d4;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  background: #fafafa;
  cursor: pointer;
}

.alaj-report-dropzone input {
  display: none;
}

.alaj-report-files {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.alaj-report-file {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f1f1f1;
  border-radius: 999px;
  padding: 4px 8px 4px 6px;
  font-size: 12px;
}

.alaj-report-file button {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
}

.alaj-report-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 6px 0 16px;
  font-size: 13px;
}

.alaj-report-check input {
  margin-top: 3px;
}

.alaj-report-submit {
  width: 100%;
  background: #111;
  color: #fff;
  border-radius: 12px;
  padding: 13px 16px;
  font-weight: 700;
  position: sticky;
  bottom: 0;
  box-shadow: 0 -10px 18px #fff;
}

.alaj-report-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.alaj-report-success {
  display: none;
  text-align: center;
  padding: 48px 22px 40px;
}

.alaj-report-success.is-visible {
  display: block;
}

.alaj-report-check-circle {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.alaj-report-check-circle svg {
  width: 36px;
  height: 36px;
}

.alaj-report-success p {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.alaj-report-email-followup {
  margin-top: 22px;
  text-align: right;
}

.alaj-report-email-followup-copy {
  font-size: 13px !important;
  font-weight: 400 !important;
  color: #555;
  margin-bottom: 12px !important;
  line-height: 1.7;
}

.alaj-report-email-followup input[type="email"] {
  width: 100%;
  border: 1px solid #e4e4e4;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  background: #fafafa;
  direction: ltr;
  text-align: left;
  unicode-bidi: isolate;
  margin-bottom: 10px;
}

.alaj-report-email-followup .alaj-report-submit {
  position: static;
  box-shadow: none;
}

.alaj-report-skip-email {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 0;
  background: transparent;
  color: #888;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
}

body.alaj-report-open {
  overflow: hidden;
}

a.js-open-report-modal {
  pointer-events: auto !important;
  cursor: pointer !important;
}
