/* Gezor Catalog theme overlay for DataHub frontend v0.13.x */
:root {
  --gezor-ink: #0b1f1c;
  --gezor-forest: #1a4d3e;
  --gezor-mint: #3d9b7a;
  --gezor-sand: #f3f0e8;
  --gezor-line: rgba(11, 31, 28, 0.12);
}

body {
  background: linear-gradient(165deg, #f7f5ef 0%, #e8efe9 45%, #f3f0e8 100%) !important;
}

/* Soft-hide native password login when SSO is configured. */
.loginPage .ant-form,
.logIn .ant-input-password,
div[class*="LoginForm"] form,
form[action*="/logIn"],
input[type="password"] {
  display: none !important;
}

/* Keep OIDC / SSO buttons */
a[href*="authenticate"],
button[class*="sso"],
div[class*="sso"],
div[class*="Oidc"],
a[href*="/authenticate"] {
  display: inline-flex !important;
}

/* Top chrome */
header,
.ant-layout-header {
  background: var(--gezor-ink) !important;
  border-bottom: 1px solid var(--gezor-line) !important;
}

/* Primary actions */
.ant-btn-primary {
  background: var(--gezor-forest) !important;
  border-color: var(--gezor-forest) !important;
}

.ant-btn-primary:hover,
.ant-btn-primary:focus {
  background: var(--gezor-mint) !important;
  border-color: var(--gezor-mint) !important;
}

/* Login page atmosphere */
div[class*="login"],
div[class*="LogIn"],
div[class*="LoginPage"] {
  background: transparent !important;
}
