.report-definition-upload {
  --report-upload-blue: #1e6fc7;
  --report-upload-border: #a9c5d9;
}

.report-dropzone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 7.5rem;
  padding: 1.25rem;
  border: 2px dashed var(--report-upload-border);
  border-radius: .8rem;
  background: #f7fbfe;
  color: #46687f;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.report-dropzone:hover,
.report-dropzone.is-dragover {
  border-color: var(--report-upload-blue);
  background: #edf7ff;
}

.report-dropzone:has(input:focus-visible) {
  border-color: var(--report-upload-blue);
  box-shadow: 0 0 0 .2rem rgba(30, 111, 199, .16);
}

.report-dropzone-icon {
  display: grid;
  place-items: center;
  flex: 0 0 3rem;
  width: 3rem;
  height: 3rem;
  border-radius: .75rem;
  background: #e4f1fb;
  color: #2675ae;
  font-size: 1.55rem;
}

.report-dropzone-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.report-dropzone-copy strong {
  color: #31536b;
  font-size: .9rem;
}

.report-dropzone-copy small {
  color: #7a8d9b;
}

.report-dropzone-action {
  flex: 0 0 auto;
}

.report-upload-selection {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr) auto;
  align-items: center;
  gap: .7rem;
  margin-top: .65rem;
  padding: .65rem .75rem;
  border: 1px solid #cfe1ed;
  border-radius: .65rem;
  background: #f4faf6;
}

.report-upload-selection[hidden] {
  display: none;
}

.report-upload-selection-icon {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: .55rem;
  background: #dff1e5;
  color: #23814a;
}

.report-upload-selection-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.report-upload-selection-copy strong {
  overflow: hidden;
  color: #31536b;
  font-size: .82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.report-upload-selection-copy small {
  color: #6f8377;
  font-size: .7rem;
}

.report-upload-selection button {
  padding: .35rem;
  border: 0;
  background: transparent;
  color: #708493;
}

.report-upload-selection button:hover {
  color: #c0392b;
}

.report-upload-feedback {
  min-height: 0;
  margin-top: .35rem;
  color: #b42318;
  font-size: .78rem;
  font-weight: 600;
}

.report-upload-feedback:empty {
  display: none;
}

@media (max-width: 680px) {
  .report-dropzone {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
  }

  .report-dropzone-icon,
  .report-dropzone-action {
    align-self: center;
  }
}
