html[data-theme="cisotheme"],
html[data-theme="cisotheme"].dark {
  --color-primary-50: #eef3f9;
  --color-primary-100: #dce7f3;
  --color-primary-200: #bcd0e7;
  --color-primary-300: #95b4d7;
  --color-primary-400: #6992c3;
  --color-primary-500: #3f71ad;
  --color-primary-600: #345f94;
  --color-primary-700: #1d508b;
  --color-primary-800: #193f6c;
  --color-primary-900: #122f53;
  --color-primary-950: #0b2246;
}

img[data-testid="logo-image"] {
  content: url("/itr/logo.svg");
}

.dark img[data-testid="logo-image"] {
  content: url("/itr/logo-dunkel.svg");
}

main:has(#hellothere) {
  --itr-links: #0b3069;
  --itr-links-2: #1a4a80;
  --itr-grund: #eef1f6;
  --itr-titel: #0b3069;
  --itr-kachel: #e8eff7;
  --itr-kachel-tinte: #1d508b;
  background: var(--itr-grund);
}

.dark main:has(#hellothere) {
  --itr-links: #071a35;
  --itr-links-2: #0f2f57;
  --itr-grund: #0f1723;
  --itr-titel: #e6eef7;
  --itr-kachel: #1b2a3d;
  --itr-kachel-tinte: #93bbe4;
}

#hellothere > * {
  display: none !important;
}

main:has(#hellothere) div:has(> [data-testid="login"]) {
  border-radius: 14px;
  box-shadow: 0 1px 2px rgb(11 48 105 / 0.06), 0 12px 32px rgb(11 48 105 / 0.12);
}

[data-testid="login"] > .bg-primary-300 {
  background: var(--itr-kachel);
  color: var(--itr-kachel-tinte);
}

[data-testid="login"] h3 {
  background: none !important;
  color: var(--itr-titel) !important;
  -webkit-text-fill-color: currentColor;
}

@media (min-width: 64rem) {
  main:has(#hellothere) {
    background:
      linear-gradient(90deg, transparent 60%, var(--itr-grund) 60%),
      linear-gradient(160deg, var(--itr-links), var(--itr-links-2));
  }

  main:has(#hellothere) > div:first-child {
    display: none;
  }

  #hellothere::before {
    content: "";
    display: block;
    width: min(30rem, 78%);
    aspect-ratio: 520 / 250;
    background: url("/itr/panel.svg") center / contain no-repeat;
  }
}

@media (max-width: 63.99rem) {
  #hellothere {
    display: none !important;
  }

  main:has(#hellothere) > div:first-child {
    padding-top: 2.5rem;
  }
}
