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

.auth-right-wrap {
  position: absolute;
  inset: 0;
  width: min(438px, calc(100% - 48px));
  min-height: 508px;
  height: fit-content;
  margin: auto;
  padding: 40px 42px 54px;
  overflow: hidden;
  background: rgb(255 255 255 / 96%);
  border: 1px solid #d7e5ea;
  border-radius: 14px;
  box-shadow: 0 24px 58px rgb(25 72 88 / 15%);
  animation: cardReveal 0.55s ease-out both;

  .login-card-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 34px;
    color: #082f43;

    span {
      font-size: 20px;
      font-weight: 750;
      letter-spacing: 0.01em;
    }

    small {
      padding-left: 9px;
      font-size: 12px;
      color: #78919d;
      border-left: 1px solid #d6e3e8;
    }
  }

  .form { height: 100%; }

  .title {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #082b3d;
  }

  .sub-title {
    margin-top: 8px;
    font-size: 13px;
    letter-spacing: 0.02em;
    color: #8298a3;
  }

  .field-label {
    margin: 2px 0 8px;
    font-size: 12px;
    font-weight: 600;
    color: #264b5a;
  }

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

  .text-theme { color: #0e8197; }
  .login-register-row { color: #8298a3; }

  .security-badge {
    position: absolute;
    right: 0;
    bottom: 22px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace;
    font-size: 9px;
    letter-spacing: 0.11em;
    color: #8199a3;

    .sb-dot {
      width: 5px;
      height: 5px;
      background: #19cbb2;
      border-radius: 50%;
      box-shadow: 0 0 8px rgb(25 203 178 / 60%);
      animation: sbBlink 2.2s ease-in-out infinite;
    }
  }

  @media (width < 640px) {
    width: calc(100% - 32px);
    min-height: auto;
    padding: 32px 24px 58px;
    border-radius: 12px;

    .login-card-brand { margin-bottom: 28px; }
  }
}

@media (width <= 1180px) {
  .auth-right-wrap { max-width: 438px; }
}

@media (prefers-reduced-motion: reduce) {
  .auth-right-wrap,
  .security-badge .sb-dot { animation: none; }
}

@keyframes cardReveal {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes sbBlink {
  50% { opacity: 0.35; }
}
