/* A town hall's page and form (enterprises/, superadmin/enterprises/) */

/* Its logo next to its name, and in the form above the "Remove" switch */
.enterprise-heading {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.enterprise-logo {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  border-radius: var(--radius-md);
  background: var(--white);
}

.enterprise-logo-field {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-2);
}

/* Long addresses (the public form's URL) wrap instead of widening the card */
.details dd a {
  overflow-wrap: anywhere;
}

/* Superadmin, a town hall's people: "Reenviar invitación" under the email */
.superadmin-user__resend {
  margin-top: var(--space-2);
}

/* The licence card (enterprises/_license): the invoices under their own small heading */
.license-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.license-card__subtitle {
  padding: var(--space-3) var(--space-4) 0;
  border-top: var(--border-width) solid var(--color-border);
  font-size: var(--text-sm);
  font-weight: 600;
}

/* Its number with a paperclip, like the invoices in a cat's history: it opens the PDF */
.license-card__invoice {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-weight: var(--weight-medium);

  svg {
    width: var(--icon-sm);
    height: var(--icon-sm);
  }
}
