
.report-modal-open {
  overflow: hidden;
}

.report-action {
  color: #965555 !important;
}

.report-community-button {
  margin-top: 7px;
  color: #965555;
}

.report-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(20, 28, 40, .55);
}

.report-modal-overlay[hidden] {
  display: none !important;
}

.report-modal {
  width: min(460px, 100%);
  max-height: 90vh;
  overflow: auto;
  border: 1px solid #b9c9d7;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .25);
}

.report-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid #d9e2ea;
  background: #edf4fb;
}

.report-modal-header h2 {
  margin: 0;
  color: #315b78;
  font-size: 16px;
  text-transform: lowercase;
}

.report-modal-close {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #687887;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.report-form {
  padding: 14px;
}

.report-help {
  margin: 0 0 12px;
  color: #687887;
  font-size: 12px;
  line-height: 1.45;
}

.report-form label {
  display: block;
  margin: 10px 0 5px;
  color: #425d70;
  font-size: 12px;
  font-weight: 700;
}

.report-form select,
.report-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #bdcbd7;
  border-radius: 4px;
  background: #fff;
  color: #334a5c;
}

.report-form select {
  min-height: 38px;
  padding: 7px 8px;
}

.report-form textarea {
  resize: vertical;
  min-height: 110px;
  padding: 9px;
}

.report-message {
  min-height: 18px;
  margin-top: 10px;
  font-size: 11px;
}

.report-message.error {
  color: #a33f3f;
}

.report-message.success {
  color: #3c7a4d;
}

.report-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
}

.report-secondary,
.report-submit {
  min-height: 36px;
  padding: 7px 12px;
  border-radius: 4px;
  cursor: pointer;
}

.report-secondary {
  border: 1px solid #b8c7d4;
  background: #f3f6f8;
  color: #47647a;
}

.report-submit {
  border: 1px solid #aa4e4e;
  background: #ba5a5a;
  color: #fff;
}

.report-submit:disabled {
  opacity: .65;
  cursor: wait;
}

@media (max-width: 700px) {
  .profile-summary-card #reportProfileButton:not([hidden]) {
    display: block;
    width: 100%;
    min-height: 40px;
    margin-top: 5px;
    padding: 9px 8px;
    box-sizing: border-box;
    border: 1px solid #d8bbbb;
    border-radius: 3px;
    background: linear-gradient(#fff, #f8eded);
    color: #965555;
    font-size: 11px;
    text-align: left;
  }

  .report-modal-overlay {
    align-items: flex-end;
    padding: 10px;
  }

  .report-modal {
    border-radius: 10px 10px 4px 4px;
  }
}
