/* Elevatrion theme for Forgejo: light base with the Elevatrion blue and Inter.
   Brand values come from elevatrion.com (primary hsl(200 100% 45%) = #0099e6).
   Buttons and links use #007ab8 so white text keeps WCAG AA contrast. */
@import url("./theme-forgejo-light.css");

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
}

:root {
  --fonts-override: "Inter Variable", -apple-system, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --fonts-proportional: var(--fonts-override);

  --color-primary: #007ab8;
  --color-primary-contrast: #ffffff;
  --color-primary-dark-1: #006da3;
  --color-primary-dark-2: #005f8f;
  --color-primary-dark-3: #00527a;
  --color-primary-dark-4: #004466;
  --color-primary-dark-5: #003652;
  --color-primary-dark-6: #00293d;
  --color-primary-dark-7: #001b29;
  --color-primary-light-1: #0099e6;
  --color-primary-light-2: #33bbff;
  --color-primary-light-3: #5cc9ff;
  --color-primary-light-4: #85d6ff;
  --color-primary-light-5: #ade4ff;
  --color-primary-light-6: #cceeff;
  --color-primary-light-7: #e5f6ff;
  --color-primary-alpha-10: #007ab819;
  --color-primary-alpha-20: #007ab833;
  --color-primary-alpha-30: #007ab84b;
  --color-primary-alpha-40: #007ab866;
  --color-primary-alpha-50: #007ab880;
  --color-primary-alpha-60: #007ab899;
  --color-primary-alpha-70: #007ab8b3;
  --color-primary-alpha-80: #007ab8cc;
  --color-primary-alpha-90: #007ab8e1;
  --color-primary-hover: var(--color-primary-dark-1);
  --color-primary-active: var(--color-primary-dark-2);

  --color-accent: #0099e6;
  --color-text: #202937;
  --color-text-light: #3c4859;
  --color-text-light-1: #475467;
  --color-text-light-2: #515e70;
  --color-text-light-3: #5f6e80;
  --color-nav-bg: #ffffff;
  --color-nav-hover-bg: #ecf7fe;
  --color-header-wrapper: #f8fafc;
  --color-box-header: #f1f5f9;
  --color-box-body: #ffffff;
  --color-footer: #f8fafc;
  --color-secondary-bg: #f1f5f9;
  --color-input-border: #d8dfe9;
  --color-light-border: #d8dfe9;
  --color-highlight-bg: #e5f6ff;
  --color-selection-bg: #0099e6;
  --color-indicator-active: #0099e6;
}

/* Navigation bar: white with a hairline, like elevatrion.com. */
#navbar {
  border-bottom: 1px solid #d8dfe9;
}

/* Softer, rounder controls matching the site's 0.75rem radius. */
.ui.button,
.ui.input > input,
.ui.form input:not([type]),
.ui.form input[type="text"],
.ui.form input[type="password"],
.ui.form input[type="email"],
.ui.segment,
.ui.attached.segment:first-child,
.ui.card,
.ui.cards > .card {
  border-radius: 0.5rem;
}

/* No link to the upstream Forgejo docs in the navigation. */
#navbar a[href^="https://forgejo.org/docs"] {
  display: none;
}

/* Sign-in page: brand mark above the form (first container only). */
.page-content.user.signin .ui.container:first-child::before {
  content: "";
  display: block;
  width: 64px;
  height: 64px;
  margin: 2rem auto 1rem;
  background: url("../img/logo.svg") center / contain no-repeat;
}
