.report-download__trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.report-download__image {
  width: 100%;
  height: auto;
  display: block;
}

.report-download__modal {
  position: fixed;
  inset: 0;
  z-index: 40;
}

.report-download__modal[hidden] {
  display: none;
}

.report-download__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 35, 0.7);
  cursor: pointer;
}

.report-download__dialog {
  position: relative;
  z-index: 1;
  width: min(420px, calc(100vw - 28px));
  margin: 80px auto;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.report-download__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 14px 10px;
  border-bottom: 1px solid #e5e7eb;
}

.report-download__header h2 {
  margin: 0;
  color: #333;
  font-size: 1.1rem;
}

.report-download__x {
  border: 0;
  background: transparent;
  color: #666;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.report-download__form {
  display: grid;
  gap: 12px;
  padding: 16px 14px 14px;
}

.report-download__form input {
  width: 100%;
  border: 1px solid #cfd7e3;
  border-radius: 3px;
  padding: 10px 12px;
  font: inherit;
}

.report-download__captcha {
  display: flex;
  justify-content: center;
  padding: 4px 0;
}

.report-download__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 4px;
}

.report-download__button {
  border: 1px solid #1f6fe5;
  background: #1f6fe5;
  color: #fff;
  padding: 8px 14px;
  border-radius: 4px;
  cursor: pointer;
  font: inherit;
}

.report-download__button--secondary {
  border-color: #6b7280;
  background: #6b7280;
}
