.report-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px 16px;
}

.report-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(2px);
}

.report-modal__card {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(88vh, 760px);
  overflow: auto;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 20px;
  display: grid;
  gap: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
}

.report-modal__header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.report-modal__heading {
  display: grid;
  gap: 6px;
}

.report-modal__header h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.25;
}

.report-modal__intro {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
}

.report-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 0;
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.report-modal__close:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.report-modal__listing,
.report-modal__status,
.report-modal__empty {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.report-modal__status {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}

.report-modal__listing-title {
  font-weight: 700;
  line-height: 1.35;
}

.report-modal__form {
  display: grid;
  gap: 12px;
}

.report-modal__hint {
  font-size: 0.92rem;
  line-height: 1.45;
}

.report-modal__options {
  display: grid;
  gap: 8px;
}

.report-modal__option {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.report-modal__option:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.report-modal__option.is-selected {
  border-color: rgba(96, 165, 250, 0.8);
  background: rgba(59, 130, 246, 0.12);
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.32);
}

.report-modal__radio {
  margin: 2px 0 0;
}

.report-modal__option-body {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.report-modal__option-title {
  font-weight: 600;
  line-height: 1.4;
}

.report-modal__feedback {
  min-height: 20px;
  font-size: 0.92rem;
  line-height: 1.35;
}

.report-modal__feedback--error {
  color: #fca5a5;
}

.report-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.report-modal__actions .btn {
  min-width: 132px;
}


.report-modal__actions .btn-primary {
  border-color: rgba(124, 58, 237, 0.65);
  background: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
  color: #fff;
}

.report-modal__actions .btn-primary:hover {
  background: linear-gradient(135deg, #6d28d9 0%, #1d4ed8 100%);
  border-color: rgba(124, 58, 237, 0.78);
}

.report-modal__actions .btn.is-loading {
  opacity: 0.85;
  pointer-events: none;
}

@media (max-width: 640px) {
  .report-modal {
    padding: 12px;
    align-items: end;
  }

  .report-modal__card {
    width: 100%;
    max-height: 92vh;
    padding: 18px;
    border-radius: 18px 18px 0 0;
  }

  .report-modal__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .report-modal__actions .btn {
    width: 100%;
  }
}
