/* ── App8 Gitea Whitelabel ── */

/* Hide "Gitea" text in the sign-in header and footer branding */
.sign-in-container .logo-text,
.gitea-textual-logo,
footer .ui.container > a[href*="gitea"],
footer .copyright,
.footer-links a[href*="gitea.io"],
.footer-links a[href*="about.gitea"] {
  display: none !important;
}

/* Replace page background */
body {
  background-color: #f4f6f9;
}

/* Login card styling */
.sign-in-container .ui.segment {
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  border: none;
}

/* Header above the login box — swap "Gitea" for your brand */
.sign-in-container > h2,
.sign-in-container .title {
  font-family: sans-serif;
  font-size: 1.4rem;
  color: #1a1a2e;
}

/* Primary button (Sign In) — App8 brand color */
.sign-in-container .ui.primary.button {
  background-color: #0057b8;
  border-radius: 8px;
}

.sign-in-container .ui.primary.button:hover {
  background-color: #0041a0;
}

/* Input fields */
.sign-in-container input {
  border-radius: 6px !important;
}

/* Hide the "Need an account? Register" link (registration is disabled anyway) */
.sign-in-container .tips,
.sign-in-container a[href*="sign_up"] {
  display: none !important;
}

/* Footer: keep it minimal */
footer {
  opacity: 0.4;
  font-size: 0.75rem;
}

/* Hide powered-by Gitea logo in footer */
footer img,
footer svg {
  display: none !important;
}
