/* QuidTalk Call — Whitelabel & Branding Customizations */

/* Header Logo Replacement */
a[class*="_headerLogo_"] {
  display: inline-flex !important;
  align-items: center !important;
  text-decoration: none !important;
}

/* Hide original Element Call inline SVG */
a[class*="_headerLogo_"] > svg {
  display: none !important;
}

/* Show QuidTalk Logo */
a[class*="_headerLogo_"]::after {
  content: "";
  display: block;
  width: 220px;
  height: 44px;
  background-image: url("/branding-assets/orizzontale/quidtalk-orizzontale-colori.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left center;
}

/* Dark theme support */
[data-theme="dark"] a[class*="_headerLogo_"]::after,
.dark a[class*="_headerLogo_"]::after,
.cp6i1e5 a[class*="_headerLogo_"]::after {
  background-image: url("/branding-assets/orizzontale/quidtalk-orizzontale-negativo.svg");
}

/* Footer Element Call Logo Replacement */
[data-testid="footer-container"] [class*="_logo_"] {
  display: inline-flex !important;
  align-items: center !important;
}

[data-testid="footer-container"] [class*="_logo_"] svg {
  display: none !important;
}

[data-testid="footer-container"] [class*="_logo_"]::after {
  content: "";
  display: inline-block;
  width: 120px;
  height: 24px;
  background-image: url("/branding-assets/orizzontale/quidtalk-orizzontale-negativo.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left center;
}

/* Hide generic Element branding labels */
svg[aria-label="Element Call"] {
  display: none !important;
}
