/* support.itarget.ai (Zammad) sign-in pages in iTarget's look (20.10, Jānis: "uztaisi lai ir normāls
   login screens ar mūsu tematiku"). The app's nginx serves this file and the app's fonts and icon
   under /itarget/ on the helpdesk's host and links it into Zammad's pages (ITD-back tls-site.conf),
   so Zammad itself stays stock. Only the full-screen pages (sign in, password reset, sign up) are
   touched; the agents' workspace keeps Zammad's own look. Colours = src/newui/tokens.css. */

@import url(/itarget/fonts/fonts.css);

:root {
  --it-bg: #f6f5f9;
  --it-card: #ffffff;
  --it-text: #1d1b26;
  --it-muted: #6b6878;
  --it-line: #e4e1ec;
  --it-brand: #653090;
  --it-brand-hover: #4b246b;
  --it-brand-ring: rgba(101, 48, 144, 0.18);
  --it-btn-text: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --it-bg: #14121a;
    --it-card: #1e1b26;
    --it-text: #f2f0f7;
    --it-muted: #a29fb0;
    --it-line: #2f2b3a;
    --it-brand: #c8a4e5;
    --it-brand-hover: #b09cf7;
    --it-brand-ring: rgba(200, 164, 229, 0.22);
    --it-btn-text: #1d1b26;
  }
}
:root[data-theme="dark"] {
  --it-bg: #14121a;
  --it-card: #1e1b26;
  --it-text: #f2f0f7;
  --it-muted: #a29fb0;
  --it-line: #2f2b3a;
  --it-brand: #c8a4e5;
  --it-brand-hover: #b09cf7;
  --it-brand-ring: rgba(200, 164, 229, 0.22);
  --it-btn-text: #1d1b26;
}

#app .fullscreen {
  background: var(--it-bg);
  color: var(--it-text);
  font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
#app .fullscreen-body {
  width: 100%;
  max-width: 420px;
  padding: 0 16px;
  box-sizing: border-box;
}
#app .fullscreen-body > p:first-child {
  color: var(--it-muted);
  font-size: 15px;
  margin-bottom: 16px;
}
#app .fullscreen .hero-unit {
  background: var(--it-card);
  color: var(--it-text);
  border: 1px solid var(--it-line);
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(29, 27, 38, 0.04), 0 12px 32px rgba(29, 27, 38, 0.08);
  padding: 32px 28px 24px;
}
#app .fullscreen h1,
#app .fullscreen h2 {
  color: var(--it-text);
  font-family: inherit;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Zammad's bird → the app icon, as an image replacement (the <img> keeps its alt text). */
#app .fullscreen .company-logo {
  box-sizing: border-box;
  display: block;
  width: 56px;
  height: 56px;
  max-width: none;
  max-height: none;
  margin: 0 auto 24px;
  padding-left: 56px;
  overflow: hidden;
  border-radius: 16px;
  background: url(/itarget/icons/icon-512.png) center / cover no-repeat;
}

#app .fullscreen label,
#app .fullscreen .formGroup-label label {
  color: var(--it-muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
#app .fullscreen .form-control {
  height: 44px;
  background: var(--it-card);
  color: var(--it-text);
  border: 1px solid var(--it-line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  box-shadow: none;
}
#app .fullscreen .form-control:focus {
  border-color: var(--it-brand);
  box-shadow: 0 0 0 3px var(--it-brand-ring);
  outline: none;
}
#app .fullscreen .label-text {
  color: var(--it-muted);
}
#app .fullscreen .btn--primary {
  height: 44px;
  background: var(--it-brand);
  color: var(--it-btn-text);
  border: 0;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  box-shadow: none;
}
#app .fullscreen .btn--primary:hover,
#app .fullscreen .btn--primary:focus {
  background: var(--it-brand-hover);
}
#app .fullscreen a,
#app .fullscreen .btn--text {
  color: var(--it-brand);
  font-family: inherit;
}
#app .fullscreen .js-footer,
#app .fullscreen .js-footer p {
  color: var(--it-muted);
  font-size: 14px;
  line-height: 1.5;
}

/* "Powered by Zammad" stays, quietly. */
#app .poweredBy {
  color: var(--it-muted);
  opacity: 0.6;
  font-size: 12px;
}
#app .poweredBy .icon {
  fill: currentColor;
  filter: grayscale(1);
}
