/* RentSpace — แยกออกมาจาก base.html ใน 2.1.29 เพื่อให้เบราว์เซอร์แคชไว้ข้ามหน้าได้
   ห้ามใส่ Jinja ({{ }} / {% %}) ในไฟล์นี้ ถ้าต้องใช้ค่าจากระบบ ให้ไปไว้ใน <style> ที่ base.html แทน */

#bzOverlay {
  position: fixed; inset: 0; z-index: 99999;
  display: none; align-items: center; justify-content: center; flex-direction: column;
  background: rgba(12,12,14,0.78);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  color: #fff; font-family: 'Sarabun', sans-serif;
  cursor: wait; user-select: none; -webkit-user-select: none;
  opacity: 0; transition: opacity .18s ease;
}
#bzOverlay.show { display: flex; opacity: 1; }
.bz-ring { position: relative; width: 132px; height: 132px; }
.bz-ring svg { width: 132px; height: 132px; transform: rotate(-90deg); }
.bz-ring .bz-track { fill: none; stroke: rgba(255,255,255,0.22); stroke-width: 11; }
.bz-ring .bz-bar {
  fill: none; stroke: #fff; stroke-width: 11; stroke-linecap: round;
  stroke-dasharray: 358.14; stroke-dashoffset: 358.14;
  transition: stroke-dashoffset .35s cubic-bezier(.4,0,.2,1);
}
.bz-pct {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: 'Prompt', sans-serif; font-size: 27px; font-weight: 600; letter-spacing: .5px;
}
.bz-text { margin-top: 20px; font-family: 'Prompt', sans-serif; font-size: 18px; font-weight: 500; }
.bz-sub { margin-top: 7px; font-size: 13px; color: rgba(255,255,255,0.66); max-width: 320px; text-align: center; line-height: 1.7; }
.bz-escape { margin-top: 22px; display: none; }
.bz-escape button {
  background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px; padding: 7px 18px; font-size: 12.5px; font-family: 'Sarabun', sans-serif;
  cursor: pointer;
}
.bz-escape button:hover { background: rgba(255,255,255,0.2); }
#bzOverlay.slow .bz-escape { display: block; }
body.bz-locked { overflow: hidden !important; }
@media (prefers-reduced-motion: reduce) { .bz-ring .bz-bar { transition: none; } }
@media print { #bzOverlay { display: none !important; } }
