/* Tesolife BI - Custom Branding for Metabase OSS */

/* === LOGIN PAGE BRANDING === */

/* Hide the "Sign in to Metabase" heading text via CSS */
[data-testid="login-page"] [role="heading"] {
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
}

/* Replace with "Sign in to Tesolife" */
[data-testid="login-page"] [role="heading"]::before {
  content: "Sign in to Tesolife";
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--mantine-color-text-primary-text, #303145);
  line-height: 1.5rem;
  display: block;
  text-align: center;
}

/* Add "powered by POS.com" below the heading */
[data-testid="login-page"] [role="heading"]::after {
  content: "powered by POS.com";
  display: block;
  text-align: center;
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 400;
  letter-spacing: 0.03em;
  margin-top: 0.35rem;
}

/* === TOP NAV BRANDING === */

/* Hide the Metabase logo SVG in the navbar */
[data-testid="main-logo"] {
  display: none !important;
}

/* Show "Tesolife" text in the navbar logo link */
[data-testid="main-logo-link"] {
  display: flex !important;
  align-items: center;
}

[data-testid="main-logo-link"]::after {
  content: "Tesolife";
  font-size: 1.25rem;
  font-weight: 700;
  color: #2563eb;
  letter-spacing: -0.01em;
}
