/* بانک آزمایشی — استایل سفارشی / Demo Bank custom styles */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  background: #060a0f;
  color: #fff;
  -webkit-font-smoothing: antialiased;
}

/* قاب گوشی روی دسکتاپ / phone frame shadow on desktop */
@media (min-width: 460px) {
  .phone-frame {
    box-shadow: 0 40px 120px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
    border-radius: 0;
  }
}

/* ورود کارت با چرخش / card entrance */
.card-3d {
  animation: cardIn 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(-20px) rotateX(-20deg); }
  to   { opacity: 1; transform: translateY(0) rotateX(0); }
}

/* دکمه خدمات با تاخیر پلکانی / staggered service buttons */
.service-btn { animation: fadeUp 0.5s both; }
.service-btn:nth-child(1) { animation-delay: 0.05s; }
.service-btn:nth-child(2) { animation-delay: 0.12s; }
.service-btn:nth-child(3) { animation-delay: 0.19s; }
.service-btn:nth-child(4) { animation-delay: 0.26s; }
.service-btn:hover { background: rgba(255,255,255,0.08) !important; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* پنجره پایین / bottom sheet slide-up */
.sheet-up { animation: sheetUp 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes sheetUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

/* رسید ظاهر شدن / receipt pop */
.receipt-pop { animation: rcPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes rcPop {
  from { opacity: 0; transform: scale(0.85) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* حلقه چک / check ring pulse */
.check-ring { animation: checkPulse 0.6s ease; }
@keyframes checkPulse {
  0%   { transform: scale(0.4); opacity: 0; }
  60%  { transform: scale(1.12); }
  100% { transform: scale(1); opacity: 1; }
}

/* توست / toast */
.toast-pop { animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes toastIn {
  from { opacity: 0; transform: translate(-50%, -20px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

/* اسکرول‌بار / scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 3px; }
::-webkit-scrollbar-track { background: transparent; }

/* حذف فلش عدد در ورودی / remove number input spinners */
input[inputmode="numeric"]::-webkit-outer-spin-button,
input[inputmode="numeric"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* انتخاب متن / selection */
::selection { background: #c9a22766; color: #fff; }