/* =============================================================================
 *  Personnalisation DevAndCloud de Plane — injectée par le relais nginx
 *  Sélecteurs relevés dans le code source de Plane v1.4.2 :
 *    apps/web/core/components/auth-screens/header.tsx  (logo)
 *    apps/web/core/components/auth-screens/footer.tsx  (logos de marques)
 *  ⚠️ À vérifier après chaque mise à jour de Plane (APP_RELEASE).
 * ============================================================================= */

:root {
  --devandcloud-brand: #3874ff;
}

/* --- Pages de connexion : masquer « Join 10,000+ teams building with Plane »
       et les logos Zerodha, Sony, Dolby, Accenture --- */
div.flex.flex-col.items-center.gap-6:has(> span.whitespace-nowrap.text-tertiary + div.flex-wrap) {
  display: none !important;
}

/* --- Pages de connexion : remplacer le logo Plane par DevAndCloud --- */
div.sticky.top-0.justify-between > a[href="/"] {
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
div.sticky.top-0.justify-between > a[href="/"] > svg {
  display: none !important;
}
div.sticky.top-0.justify-between > a[href="/"]::before {
  content: "";
  width: 32px;
  height: 32px;
  background: url("/__devandcloud/logo.svg") no-repeat center / contain;
}
div.sticky.top-0.justify-between > a[href="/"]::after {
  content: "DevAndCloud";
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--devandcloud-brand);
}
