/* Riven SCM Brand Override for GitLab EE */
/* Inject into: /opt/gitlab/embedded/service/gitlab-rails/public/assets/ */

/* Hide "GitLab Duo" badges and labels */
.du-badge,
.duo-badge,
[data-testid="duo-badge"],
.gl-badge[data-testid*="duo"],
.sidebar-top-level-item[data-qa-selector="duo_chat_root"] .gl-badge {
  display: none !important;
}

/* Replace with Riven-branded indicator */
.du-badge::after,
.duo-badge::after {
  content: "Riven Assist";
  display: inline !important;
  background: #2563eb;  /* Riven brand blue — replace with actual hex */
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

/* Hide GitLab fox logo in header */
.navbar-gitlab .tanuki-logo,
.navbar-gitlab .brand-logo svg,
.header-logo svg {
  visibility: hidden;
}

/* Replace header title */
.navbar-gitlab .brand-title {
  visibility: hidden;
}
.navbar-gitlab .brand-title::after {
  content: 'Riven SCM';
  visibility: visible;
  margin-left: -80px;
  font-weight: 600;
  font-size: 16px;
}

/* Custom sign-in page */
.login-page .container .content {
  background-image: none;
}
.login-page .brand-holder h1 {
  visibility: hidden;
}
.login-page .brand-holder h1::after {
  content: 'Riven SCM';
  visibility: visible;
}

/* Footer rebrand */
.footer .container {
  visibility: hidden;
}
.footer .container::after {
  content: 'Riven SCM — powered by GitLab Enterprise Edition';
  visibility: visible;
  display: block;
  text-align: center;
  font-size: 12px;
  color: #666;
}

/* Admin area logo override */
.admin-logo svg,
.admin-logo img {
  visibility: hidden;
}

/* Color theming (override with actual Riven brand colors) */
:root {
  --gl-color-brand-50: #eff6ff;
  --gl-color-brand-100: #dbeafe;
  --gl-color-brand-200: #bfdbfe;
  --gl-color-brand-500: #3b82f6;
  --gl-color-brand-600: #2563eb;
  --gl-color-brand-700: #1d4ed8;
  --gl-color-brand-800: #1e40af;
  --gl-color-brand-900: #1e3a8a;
}
