/* "Test country resolution" page */
.resolver-page {
  max-width: 960px;
  padding-top: 1.5rem;
  padding-bottom: 6rem;
}

.resolver-intro {
  font-size: 1.05rem;
}

#affiliationInput {
  font-family: inherit;
}

.resolver-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1rem;
}

.resolver-actions .btn-process:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.resolver-status {
  margin-top: 1rem;
  min-height: 1.5rem;
  color: #3d4852;
}

.resolver-table {
  min-width: 720px;
  vertical-align: top;
}

.resolver-affiliation {
  max-width: 340px;
  overflow-wrap: anywhere;
}

.resolver-country {
  font-weight: 700;
  color: #1f5c00;
}

.resolver-notcounted {
  font-weight: 600;
  color: #7a4100;
}

.resolver-actions .btn-process {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 200px;
}

.resolver-table th:nth-child(2),
.resolver-table td.resolver-affiliation {
  width: 34%;
  min-width: 240px;
}

.resolver-reason {
  margin: 0 0 0.25rem;
}

.resolver-candidates {
  margin: 0 0 0.25rem;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  max-height: 16rem; /* a name shared by dozens of institutions scrolls instead of stretching the table */
  overflow-y: auto;
}

/* Clear: the outlined twin of the Resolve button (same height, shape and type) */
.resolver-actions .btn-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 10px 32px; /* + the 2 px border = the 48 px of the Resolve button */
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid var(--my-darkblue);
  background: transparent;
  color: var(--my-darkblue);
  cursor: pointer;
  transition: all 0.3s ease;
}

.resolver-actions .btn-clear:hover,
.resolver-actions .btn-clear:focus-visible {
  background: var(--my-darkblue);
  color: white;
}

