/* Nervha Shield UI; Lucide icons (ISC). No external fonts, images or animation libraries. */
body:has(#nervha-captcha-form) {
  background:
    radial-gradient(ellipse at 22% 18%, #e0e5ff 0, transparent 42%),
    radial-gradient(ellipse at 90% 86%, #dcf4fc 0, transparent 45%), #f4f7fc !important;
}
body:has(#nervha-captcha-form) .pf-v5-c-login__container {
  grid-template-columns: minmax(0, 464px) !important;
  gap: 22px !important;
  padding: 28px 16px !important;
}
body:has(#nervha-captcha-form) #kc-header-wrapper::before {
  width: 148px;
  height: 49px;
}
body:has(#nervha-captcha-form) #kc-header {
  margin-block-end: 8px !important;
}
body:has(#nervha-captcha-form) #kc-header-wrapper::after {
  font-size: 9px;
  letter-spacing: 0.15em;
}
body:has(#nervha-captcha-form) .pf-v5-c-login__main {
  width: 100%;
  border-color: #ffffff;
  border-radius: 28px;
  background: #ffffffd9 !important;
  box-shadow:
    0 24px 80px #32487814,
    0 2px 8px #32487808;
}
body:has(#nervha-captcha-form) .pf-v5-c-login__main-header {
  padding: 0 !important;
}
body:has(#nervha-captcha-form) #kc-page-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
body:has(#nervha-captcha-form) .pf-v5-c-login__main-body {
  padding: 26px 30px !important;
}
.shield-robot {
  --shield-tone: #6452ec;
  gap: 18px;
  padding: 0;
}
.shield-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.18em;
  color: #667295;
}
.shield-eyebrow > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--shield-tone);
  box-shadow: 0 0 0 4px #6452ec0d;
}
.shield-scene {
  position: relative;
  isolation: isolate;
  height: 158px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  overflow: hidden;
  background: radial-gradient(ellipse at center, #e6e6ff 0, #f7f8ff 60%, #ffffff00 80%);
}
.shield-grid {
  position: absolute;
  inset: 0;
  opacity: 0.36;
  background:
    linear-gradient(#c6cdee50 1px, transparent 1px), linear-gradient(90deg, #c6cdee50 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse, #000 20%, transparent 68%);
}
.shield-orbit {
  position: absolute;
  width: 186px;
  height: 118px;
  border: 1px solid #c9cff38c;
  border-radius: 50%;
  transform: rotate(-25deg);
}
.shield-orbit::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 18px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #aa9df7;
  box-shadow: 0 0 0 5px #aa9df71c;
}
.shield-target {
  width: 114px;
  height: 114px;
  position: absolute;
  border: 1px dashed #a8a8dd80;
  border-radius: 28px;
}
.shield-bot,
.shield-success {
  position: absolute;
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 25px;
  color: #fff;
  background: linear-gradient(145deg, #9683ff 0, #6551e8 52%, #4887f0 100%);
  box-shadow:
    inset 0 1px 1px #ffffff8c,
    0 14px 30px #6657c93d;
}
.shield-bot {
  animation: shield-hover 3.6s ease-in-out infinite;
}
.shield-bot svg {
  width: 47px;
  height: 47px;
  filter: drop-shadow(0 2px 2px #3a268c30);
}
.shield-success {
  opacity: 0;
  transform: scale(0.55);
  color: #fff;
  background: linear-gradient(145deg, #37cfac, #16a789);
  box-shadow: 0 14px 30px #16a78930;
}
.shield-success svg {
  width: 44px;
  height: 44px;
}
.shield-scan {
  position: absolute;
  z-index: 2;
  width: 138px;
  height: 2px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, #9a74ff, #86e4ff, transparent);
  box-shadow: 0 0 16px #7762ff70;
}
.shield-chip {
  position: absolute;
  padding: 4px 7px;
  border: 1px solid #ffffff;
  border-radius: 7px;
  background: #ffffffbd;
  box-shadow: 0 3px 9px #31396809;
  font:
    650 8px/1.4 ui-monospace,
    monospace;
  letter-spacing: 0.08em;
}
.chip-bot {
  top: 29px;
  right: 17%;
  color: #8b78ca;
  transform: rotate(8deg);
}
.chip-safe {
  bottom: 24px;
  left: 13%;
  color: #6681b0;
  transform: rotate(-7deg);
}
.shield-particle {
  position: absolute;
  width: 7px;
  height: 7px;
  background: #9d8bff;
  border-radius: 2px;
  opacity: 0;
}
.p1 {
  --tx: -70px;
  --ty: -42px;
}
.p2 {
  --tx: 72px;
  --ty: -35px;
}
.p3 {
  --tx: -57px;
  --ty: 50px;
}
.p4 {
  --tx: 68px;
  --ty: 47px;
}
.shield-copy {
  display: grid;
  gap: 8px;
}
.shield-copy h2 {
  font-weight: 720;
  font-size: 26px;
  line-height: 1.24;
  letter-spacing: -0.045em;
  color: #202d48;
}
.shield-copy p {
  min-height: 42px;
  font-size: 13px;
  line-height: 1.65;
  max-width: 305px;
  margin-inline: auto;
  color: #71809a;
}
.shield-robot altcha-widget {
  --altcha-color-base: #f8faff;
  --altcha-color-border: #e1e7f2;
  --altcha-color-border-focus: #7560e8;
  --altcha-border-radius: 14px;
  --altcha-color-footer-bg: transparent;
  font-size: 14px;
}
.shield-robot #nervha-continue {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border: 0;
  border-radius: 13px !important;
  font-size: 14px;
  font-weight: 700;
  background: linear-gradient(100deg, #6550ed, #3b82ef) !important;
  box-shadow: 0 7px 18px #6357e329;
  transition:
    background 0.2s,
    opacity 0.2s,
    box-shadow 0.2s;
}
.shield-robot #nervha-continue svg {
  width: 17px;
  height: 17px;
}
.shield-robot #nervha-continue:disabled {
  opacity: 1;
  color: #8993a9 !important;
  background: #edf0f6 !important;
  box-shadow: none;
}
.shield-robot #nervha-continue:not(:disabled):focus-visible {
  outline: 3px solid #bdb1fd;
  outline-offset: 3px;
}
.shield-privacy {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  color: #8893a8;
  font-size: 10px;
}
.shield-privacy svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}
.shield-robot[data-state='verifying'] .shield-scan {
  opacity: 1;
  animation: shield-scan 1.25s ease-in-out infinite;
}
.shield-robot[data-state='verifying'] .shield-bot {
  animation: shield-hover 1.2s ease-in-out infinite;
}
.shield-robot[data-state='verifying'] .shield-target {
  border-color: #8b71ed;
  animation: shield-focus 1.2s ease-in-out infinite;
}
.shield-robot[data-state='verified'] {
  --shield-tone: #16a789;
}
.shield-robot[data-state='verified'] .shield-bot {
  animation: shield-dismiss 0.55s ease-in both;
}
.shield-robot[data-state='verified'] .shield-success {
  animation: shield-arrive 0.6s 0.18s cubic-bezier(0.2, 0.8, 0.2, 1.15) both;
}
.shield-robot[data-state='verified'] .shield-particle {
  animation: shield-particles 0.7s ease-out both;
}
.shield-robot[data-state='verified'] .shield-target {
  border-color: #53bfa65c;
}
.shield-robot[data-state='verified'] .chip-bot {
  opacity: 0;
  transition: opacity 0.2s;
}
.shield-robot[data-state='verified'] .chip-safe {
  color: #159379;
}
.shield-robot[data-state='error'] .shield-target,
.shield-robot[data-state='expired'] .shield-target {
  border-color: #df9b81;
}
@keyframes shield-hover {
  0%,
  100% {
    transform: translateY(3px) rotate(-3deg);
  }
  50% {
    transform: translateY(-5px) rotate(3deg);
  }
}
@keyframes shield-scan {
  0%,
  100% {
    transform: translateY(-52px);
  }
  50% {
    transform: translateY(52px);
  }
}
@keyframes shield-focus {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}
@keyframes shield-dismiss {
  0% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
  100% {
    opacity: 0;
    transform: scale(0.4) rotate(18deg);
    filter: blur(6px);
  }
}
@keyframes shield-arrive {
  from {
    opacity: 0;
    transform: scale(0.55);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes shield-particles {
  0% {
    opacity: 0;
    transform: translate(0, 0);
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(var(--tx), var(--ty)) rotate(90deg);
  }
}
@media (max-width: 520px) {
  body:has(#nervha-captcha-form) .pf-v5-c-login__container {
    align-content: center !important;
    padding-block: 22px !important;
  }
  body:has(#nervha-captcha-form) .pf-v5-c-login__main-body {
    padding: 23px 22px !important;
  }
  .shield-scene {
    height: 144px;
  }
  .shield-copy h2 {
    font-size: 24px;
  }
}
@media (max-height: 650px) {
  body:has(#nervha-captcha-form) .pf-v5-c-login__container {
    align-content: start !important;
  }
  .shield-scene {
    height: 118px;
  }
  .shield-robot {
    gap: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .shield-robot *,
  .shield-robot *::before {
    animation: none !important;
    transition: none !important;
  }
  .shield-robot[data-state='verified'] .shield-bot {
    opacity: 0;
  }
  .shield-robot[data-state='verified'] .shield-success {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-transparency: reduce) {
  body:has(#nervha-captcha-form) .pf-v5-c-login__main {
    background: #fff !important;
    backdrop-filter: none;
  }
}
