.existing_address {
  display: flex;
  border-radius: 15px;
  border: 1px solid var(--grey_border_light);
  padding: 16px;
}

.document {
  display: flex;
  padding-inline: 1rem;
  align-items: center;
  border-inline: 1px solid var(--grey_border_light);
  height: 40px;
  gap: 12px;
}

.document_url {
  margin-left: auto;
}

.document_name {
  min-width: 0;
  width: 24ch;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.document_url::part(anchor) {
  color: var(--blue);
  text-decoration: none;
}

.document_url::part(anchor):hover {
  text-decoration: underline;
  color: var(--blue_hover);
}

.document_code_label {
  width: 30ch;
}

.document_status {
  margin-inline: auto;
}

[data-status="ERROR"] * {
  color: var(--font_light);
}

[data-status="ERROR"] .document_status {
  color: var(--red);
  font-weight: 600;
}

.existing_documents_list > * + * {
  border-top: 1px solid var(--grey_border_light);
}

.existing_documents_list > :first-child {
  border-top: 1px solid var(--grey_border_light);
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.existing_documents_list > :last-child {
  border-bottom: 1px solid var(--grey_border_light);
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}
