/* ── Gift modal — checking overlay (new additions) ────────────────────────── */

.gp-shop-gift-modal__checking {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(2, 14, 31, 0.72);
  border-radius: inherit;
  z-index: 10;
}

.gp-shop-gift-modal__checking[hidden] {
  display: none;
}

.gp-shop-gift-modal__checking-spinner {
  display: block;
  width: 36px;
  height: 36px;
  border: 3px solid rgba(28, 174, 231, 0.25);
  border-top-color: #1caee7;
  border-radius: 50%;
  animation: gp-gift-spin 0.7s linear infinite;
}

.gp-shop-gift-modal__checking-text {
  font-family: "Google Sans", sans-serif;
  font-size: 14px;
  color: #b0c4d8;
}

@keyframes gp-gift-spin {
  to { transform: rotate(360deg); }
}

/* ── dialog-wrap: needs position:relative so overlay can use inset:0 ─────── */
.gp-shop-gift-modal__dialog-wrap {
  position: relative;
}

/* genplay-member.css ตั้ง display:flex ให้ .gp-shop-gift-modal__disc-rate แบบไม่มีเงื่อนไข ทับ
   [hidden] ของ UA stylesheet (specificity เท่ากัน แต่ author style ชนะเสมอ) ทำให้กล่องว่าง ๆ โชว์อยู่
   แม้ JS จะ set hidden="" ถูกต้องแล้วก็ตาม (ไม่มี discText) — ยืนยันโดยผู้ใช้ */
.gp-shop-gift-modal__disc-rate[hidden] {
  display: none;
}
