/* The agency's brand mark (see AgencyLogo). Everything else is in client.css, with legacy.css still behind the
   inbox, pagination and modals reused from the main dashboard. */

.agency-logo {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 22%;
}

/* An uploaded logo is never clipped: no rounded frame, and it keeps its own proportions. */
.agency-logo-image {
  overflow: visible;
  border-radius: 0;
}

.agency-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
}

/* No logo uploaded (or it failed to load): a branded tile with the agency's initials. */
.agency-logo-placeholder {
  background: linear-gradient(135deg, var(--accent), var(--accent-2, var(--accent)));
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.02em;
}
