/* วงหมุนระหว่างรอ หน้ายืนยันตัวตน (/verify) และตั้งค่า Google Authenticator (/2fa) · เจ้าของระบบขอ 17 พ.ย. 2569
   "หน้าไหนที่ต้องรอซักพัก ขอมี animation ช่วยกันรอ"
   ใช้กับ: .vf-wait (เปิดหน้า) · .vf-busy (กดปุ่มแล้วรอ) · .is-wait (ข้อความสถานะที่ลงท้าย "…" ตั้งโดย verify.js / verify-otp.js)
   · .tfa-wait (/2fa ระหว่างโหลดสถานะ) · ขยับเฉพาะ transform · ปิดการเคลื่อนไหว (prefers-reduced-motion) = วงนิ่ง */
.vf-wait,
.vf-busy,
.vf-card .is-wait,
.tfa-wait {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.vf-wait::before,
.vf-busy::before,
.vf-card .is-wait::before,
.tfa-wait::before {
  content: '';
  flex: none;
  width: 18px;
  height: 18px;
  border: 2.5px solid #d7e3ef;
  border-top-color: #176fcf;
  border-radius: 50%;
  animation: msh-verify-spin 0.8s linear infinite;
}
.vf-wait::before,
.tfa-wait::before {
  width: 26px;
  height: 26px;
  border-width: 3px;
}
.vf-wait,
.tfa-wait {
  flex-direction: column;
  min-height: 96px;
}
.tfa-wait[hidden] {
  display: none;
}
.tfa-wait {
  margin: 0;
  color: #607086;
  font-size: 1rem;
}
@keyframes msh-verify-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .vf-wait::before,
  .vf-busy::before,
  .vf-card .is-wait::before,
  .tfa-wait::before {
    animation: none;
    border-color: #176fcf;
    border-right-color: #d7e3ef;
  }
}
