@reference '@styles/core/tailwind.css';

/* 授权页右侧区域（语枢网关深色 HUD 玻璃面板） */
.auth-right-wrap {
  position: absolute;
  inset: 0;
  width: 440px;
  height: 640px;
  margin: auto;
  padding: 40px 48px;
  overflow: hidden;
  background: rgb(7 17 38 / 72%);
  backdrop-filter: blur(14px);
  border: 1px solid rgb(0 229 255 / 16%);
  border-radius: 14px;
  box-shadow:
    0 0 40px rgb(0 229 255 / 8%),
    inset 0 0 60px rgb(0 229 255 / 3%);
  animation: slideInRight 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;

  .form {
    height: 100%;
  }

  .title {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #f0f7ff;
    text-shadow: 0 0 20px rgb(0 229 255 / 45%);
  }

  .sub-title {
    margin-top: 10px;
    font-size: 14px;
    letter-spacing: 1px;
    color: rgb(0 229 255 / 75%);
    font-family: ui-monospace, 'JetBrains Mono', Consolas, monospace;
  }

  .custom-height {
    height: 40px !important;
  }

  /* 安全徽标 */
  .security-badge {
    position: absolute;
    right: 0;
    bottom: 14px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: ui-monospace, 'JetBrains Mono', Consolas, monospace;
    font-size: 12px;
    letter-spacing: 1px;
    color: rgb(0 229 255 / 70%);

    .sb-dot {
      width: 6px;
      height: 6px;
      background: #00ff9c;
      border-radius: 50%;
      box-shadow: 0 0 8px #00ff9c;
      animation: sbBlink 2s ease-in-out infinite;
    }
  }

  @media only screen and (width < 640px) {
    width: 100%;
    height: auto;
    padding: 32px 24px 64px;
  }

  @media only screen and (width < 768px) {
    animation: none;
  }
}

/* 滑入动画 */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 安全徽标呼吸 */
@keyframes sbBlink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}
