/* =========================
   ExcaliburGit Custom Theme
   Forgejo
========================= */

/* Logo principal */
.brand .logo,
.navbar-brand img,
img[src*="logo"] {
  content: url("/assets/img/logo.svg");
  max-height: 32px;
}

/* Footer limpo */
footer {
  font-size: 0 !important;
}

footer .ui.left,
footer .ui.right,
footer .version,
footer .page-time,
footer .template-time {
  display: none !important;
}

footer::after {
  content: "Excalibur Platform";
  display: block;
  font-size: 13px;
  text-align: center;
  padding: 16px 0;
  opacity: 0.7;
}

/* Remove links públicos específicos sem quebrar menu logado */
a[href*="/licenses"],
a[href*="/api/swagger"],
a[href*="forgejo.org/docs"] {
  display: none !important;
}

/* Remove botão Ajuda */
a[href="https://forgejo.org/docs/latest/"],
a[href*="forgejo.org/docs"] {
  display: none !important;
}

/* Texto ao lado da logo superior */
.navbar-brand::after {
  content: "ExcaliburGit";
  margin-left: 12px;
  font-size: 20px;
  font-weight: 700;
  color: #f8fafc;
  white-space: nowrap;
}

/* Ajuste quando o topo estiver claro */
.ui.secondary.menu .navbar-brand::after,
.ui.menu .navbar-brand::after {
  color: #111827;
}

/* Mantém alinhamento do topo */
.navbar-brand {
  display: flex !important;
  align-items: center !important;
}

/* Botões principais com cor Excalibur */
.ui.primary.button,
.ui.primary.buttons .button {
  background-color: #c73a08 !important;
}

.ui.primary.button:hover,
.ui.primary.buttons .button:hover {
  background-color: #a83207 !important;
}

/* Links de destaque */
a {
  color: #c73a08;
}

a:hover {
  color: #a83207;
}

/* Footer em tela de login/home */
footer::after {
  content: "Excalibur Platform";
}