@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700;900&family=Exo+2:wght@300;400&display=swap');

.kt-logo {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  cursor: pointer;
}

.kt-icon {
  position: relative;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.kt-ring {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 1.5px solid transparent;
  background:
    linear-gradient(#070a10, #070a10) padding-box,
    conic-gradient(
      from var(--a, 0deg),
      #00e5ff 0%,
      #00ffa3 30%,
      rgba(0,229,255,0.08) 50%,
      #00e5ff 75%,
      #00ffa3 100%
    ) border-box;
  animation: spin 3.5s linear infinite;
}

@property --a {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes spin {
  to { --a: 360deg; }
}

.kt-glow {
  position: absolute;
  inset: -4px;
  border-radius: 20px;
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%,100% {
    box-shadow:
      0 0 12px 2px rgba(0,229,255,0.12),
      0 0 28px 5px rgba(0,255,163,0.05);
  }
  50% {
    box-shadow:
      0 0 22px 5px rgba(0,229,255,0.28),
      0 0 48px 10px rgba(0,255,163,0.1);
  }
}

.kt-inner {
  position: absolute;
  inset: 4px;
  border-radius: 12px;
  background:
    radial-gradient(ellipse at 30% 25%, rgba(0,229,255,0.1) 0%, transparent 60%),
    linear-gradient(135deg, rgba(0,229,255,0.04), rgba(0,255,163,0.02));
  border: 1px solid rgba(0,229,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.kt-scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(0,229,255,0.7), rgba(0,255,163,0.5), transparent);
  top: -2px;
  animation: scanDown 2.8s ease-in-out infinite;
}

@keyframes scanDown {
  0% { top: -2px; opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { top: calc(100% + 2px); opacity: 0; }
}

.kt-svg {
  width: 28px;
  height: 28px;
  position: relative;
  z-index: 2;
}

.kt-b {
  position: absolute;
  width: 9px;
  height: 9px;
  animation: bPulse 3s ease-in-out infinite;
}

.kt-b--tl {
  top: 5px;
  left: 5px;
  border-top: 1.5px solid #00e5ff;
  border-left: 1.5px solid #00e5ff;
}

.kt-b--tr {
  top: 5px;
  right: 5px;
  border-top: 1.5px solid #00ffa3;
  border-right: 1.5px solid #00ffa3;
  animation-delay: .5s;
}

.kt-b--bl {
  bottom: 5px;
  left: 5px;
  border-bottom: 1.5px solid #00e5ff;
  border-left: 1.5px solid #00e5ff;
  animation-delay: 1s;
}

.kt-b--br {
  bottom: 5px;
  right: 5px;
  border-bottom: 1.5px solid #00ffa3;
  border-right: 1.5px solid #00ffa3;
  animation-delay: 1.5s;
}

@keyframes bPulse {
  0%,100% { opacity: .3; }
  50% { opacity: .8; }
}

.kt-signal {
  position: absolute;
  bottom: 4px;
  right: 6px;
  display: flex;
  gap: 2px;
  align-items: flex-end;
}

.kt-dot {
  width: 2.5px;
  border-radius: .5px;
  background: linear-gradient(180deg, #00ffa3, #00e5ff);
  box-shadow: 0 0 4px rgba(0,255,163,0.4);
}

.kt-dot:nth-child(1) {
  height: 4px;
  animation: dBlink 1.8s 0s ease-in-out infinite;
}

.kt-dot:nth-child(2) {
  height: 6.5px;
  animation: dBlink 1.8s .25s ease-in-out infinite;
}

.kt-dot:nth-child(3) {
  height: 9px;
  animation: dBlink 1.8s .5s ease-in-out infinite;
}

@keyframes dBlink {
  0%,100% { opacity: .2; }
  50% { opacity: 1; }
}

.kt-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.kt-wordmark {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: .05em;
  line-height: 1;
  background: linear-gradient(100deg, #00e5ff 0%, #00ffa3 35%, #ffffff 50%, #00e5ff 70%, #00ffa3 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.kt-sub {
  font-family: 'Exo 2', sans-serif;
  font-weight: 300;
  font-size: 9.5px;
  letter-spacing: .28em;
  text-transform: uppercase;
  animation: subFade 4s ease-in-out infinite;
}

@keyframes subFade {
  0%,100% { color: rgba(0,229,255,0.4); }
  50% { color: rgba(0,255,163,0.65); }
}

.kt-logo:hover .kt-inner {
  border-color: rgba(0,229,255,0.25);
}

.kt-logo:hover .kt-wordmark {
  animation-duration: 1.5s;
}

.kt-logo.sm .kt-icon { width: 36px; height: 36px; }
.kt-logo.sm .kt-ring { border-radius: 11px; }
.kt-logo.sm .kt-inner { border-radius: 8px; }
.kt-logo.sm .kt-glow { border-radius: 14px; }
.kt-logo.sm .kt-svg { width: 18px; height: 18px; }
.kt-logo.sm .kt-wordmark { font-size: 15px; }
.kt-logo.sm .kt-sub { font-size: 7.5px; letter-spacing: .22em; }
.kt-logo.sm .kt-b { width: 6px; height: 6px; }
.kt-logo.sm .kt-b--tl,
.kt-logo.sm .kt-b--bl { left: 3px; }
.kt-logo.sm .kt-b--tr,
.kt-logo.sm .kt-b--br { right: 3px; }
.kt-logo.sm .kt-b--tl,
.kt-logo.sm .kt-b--tr { top: 3px; }
.kt-logo.sm .kt-b--bl,
.kt-logo.sm .kt-b--br { bottom: 3px; }

.kt-logo.lg .kt-icon { width: 68px; height: 68px; }
.kt-logo.lg .kt-ring { border-radius: 20px; }
.kt-logo.lg .kt-inner { border-radius: 16px; }
.kt-logo.lg .kt-glow { border-radius: 24px; }
.kt-logo.lg .kt-svg { width: 36px; height: 36px; }
.kt-logo.lg .kt-wordmark { font-size: 30px; }
.kt-logo.lg .kt-sub { font-size: 11px; }

/* Auth input dark fix */
.auth-card input,
.auth-card textarea,
.auth-card select,
.form-card input,
.form-card textarea,
.form-card select,
.fwrap input,
.fwrap textarea,
.fwrap select {
  background: #07100b !important;
  color: #eafff3 !important;
  border: 1px solid rgba(46,232,112,.35) !important;
  caret-color: #27ef7f !important;
}

.auth-card input::placeholder,
.form-card input::placeholder,
.fwrap input::placeholder {
  color: rgba(234,255,243,.55) !important;
}
