* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

body {
  padding-top: 72px;
  background: #050505;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

/* ===== الخط المتعرج المضيء في الخلفية ===== */
body::before {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'><defs><filter id='glow' x='-20%25' y='-20%25' width='140%25' height='140%25'><feGaussianBlur stdDeviation='0.5' result='b1'/><feGaussianBlur stdDeviation='1.2' result='b2'/><feMerge><feMergeNode in='b2'/><feMergeNode in='b1'/><feMergeNode in='SourceGraphic'/></feMerge></filter></defs><path d='M 0 0 Q 45 30 20 50 T 80 100' fill='none' stroke='%232a6dd1' stroke-width='0.5' stroke-linecap='round' filter='url(%23glow)'/></svg>");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;
}

/* ===== الشريط العلوي ===== */
.topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 60px;
  background: linear-gradient(180deg,
    #4a4a4a 0%,
    #2a2a2a 8%,
    #0f0f0f 45%,
    #050505 55%,
    #1a1a1a 100%);
  border-bottom: 1px solid #2a6dd1;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.5),
    0 10px 22px rgba(0, 0, 0, 0.45),
    0 20px 40px rgba(0, 0, 0, 0.25),
    0 1px 8px rgba(42, 109, 209, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -2px 6px rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  padding: 0 14px;
  z-index: 10;
}

.brand-wrap {
  display: flex;
  align-items: center;
  direction: ltr;
  margin-right: auto;
  gap: 2px;
  position: relative;
  padding: 6px 14px;
  border-radius: 12px;
  box-shadow:
    0 0 10px rgba(42, 109, 209, 0.35),
    0 0 22px rgba(42, 109, 209, 0.2),
    0 0 40px rgba(42, 109, 209, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: #2a6dd1;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.3),
    0 -1px 1px rgba(0, 0, 0, 1);
}

.brand {
  display: flex;
  align-items: center;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 1px;
  padding: 2px 0;
  background: linear-gradient(160deg, #ffffff 0%, #e8e8e8 25%, #b8b8b8 55%, #8a8a8a 80%, #d6d6d6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter:
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.4))
    drop-shadow(0 -1px 1px rgba(0, 0, 0, 1))
    drop-shadow(0 1px 2px rgba(0, 0, 0, 0.8));
}

/* ===== شبكة المنتجات ===== */
.products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 8px 16px 16px;
  position: relative;
  z-index: 1;
}

/* ===== البطاقة ===== */
.product {
  height: 120px;
  background: linear-gradient(145deg,
    rgba(26, 26, 26, 0.88) 0%,
    rgba(13, 13, 13, 0.88) 45%,
    rgba(5, 5, 5, 0.88) 100%);
  border-radius: 18px;
  border: 1px solid rgba(42, 109, 209, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -2px 6px rgba(0, 0, 0, 1),
    0 0 3px rgba(42, 109, 209, 0.6),
    0 0 6px rgba(42, 109, 209, 0.35),
    0 4px 12px rgba(0, 0, 0, 0.6),
    0 10px 24px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #2a6dd1;
  text-shadow: 0 0 6px rgba(42, 109, 209, 0.8), 0 0 14px rgba(42, 109, 209, 0.5);
  text-align: center;
  padding: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  isolation: isolate;
}

.product > * {
  position: relative;
  z-index: 1;
}

.product {
  color: #2a6dd1;
  text-shadow: 0 0 6px rgba(42, 109, 209, 0.7), 0 0 14px rgba(42, 109, 209, 0.35);
}

.product:active {
  transform: scale(0.97);
  box-shadow:
    inset 0 2px 3px rgba(0, 0, 0, 0.8),
    0 0 3px rgba(42, 109, 209, 0.5),
    0 2px 6px rgba(0, 0, 0, 0.7);
}

/* ===== النافذة المنبثقة ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
  visibility: visible;
  touch-action: none;
  overscroll-behavior: contain;
}



.modal {
  width: 100%;
  max-width: 92vw;
  height: 735px;
  max-height: 735px;
  background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 45%, #050505 100%);
  border-radius: 18px;
  border: 1px solid rgba(42, 109, 209, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -2px 6px rgba(0, 0, 0, 1),
    0 0 3px rgba(42, 109, 209, 0.6),
    0 0 6px rgba(42, 109, 209, 0.35),
    0 4px 12px rgba(0, 0, 0, 0.6),
    0 10px 24px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  font-family: sans-serif;
  padding: 22px 22px 16px;
  position: relative;
  overflow: hidden;
}

.modal-title {
  width: 100%;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #2a6dd1;
  text-shadow: 0 0 6px rgba(42, 109, 209, 0.7), 0 0 14px rgba(42, 109, 209, 0.35);
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(42, 109, 209, 0.6);
}

.modal-desc {
  width: 100%;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.9;
  color: #d0d0d0;
  text-align: center;
  padding: 0 8px;
  overflow-y: auto;
  scrollbar-width: none;
}

.modal-desc::-webkit-scrollbar {
  display: none;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(160deg, #a01428 0%, #7a0f1f 50%, #4d0812 100%);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.5),
    0 4px 10px rgba(122, 15, 31, 0.6),
    inset 0 1px 2px rgba(255, 200, 200, 0.4),
    inset 0 -2px 4px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.modal-close svg {
  width: 18px;
  height: 18px;
  display: block;
  pointer-events: none;
}

.modal-buy {
  width: calc(100% - 44px);
  height: 52px;
  flex-shrink: 0;
  margin-bottom: 4px;
  border: 1px solid rgba(90, 160, 240, 0.6);
  border-radius: 14px;
  background: linear-gradient(180deg, #2a6dd1 0%, #1a4a99 50%, #0e2d63 100%);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.5),
    0 4px 12px rgba(42, 109, 209, 0.5),
    0 8px 24px rgba(26, 74, 153, 0.35),
    inset 0 1px 0 rgba(180, 215, 255, 0.5),
    inset 0 -2px 4px rgba(0, 0, 0, 0.4);
  color: #e6f0ff;
  font-family: sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.modal-buy:active {
  transform: scale(0.97);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.5),
    inset 0 2px 4px rgba(0, 0, 0, 0.6),
    inset 0 -1px 0 rgba(180, 215, 255, 0.3);
}



/* ===== طرق الدفع ===== */






/* ===== تفاصيل المحفظة (مخفية حتى اختيار طريقة) ===== */









  to   { opacity: 1; transform: translateY(0); }
}

















/* ===== تفاصيل المحفظة ===== */




/* pay-methods تلتصق بأسفل المساحة المتبقية */


/* عند ظهور الحقول، تتوسّع نافذة الدفع */


/* ===== محتوى نافذة الوصف ===== */
.modal-scroll {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  display: flex;
  flex-direction: column;
}

.modal-scroll::-webkit-scrollbar { display: none; }

.m-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 4px;
  border-bottom: 1px solid rgba(42, 109, 209, 0.4);
}

.m-label {
  font-size: 14px;
  font-weight: 700;
  color: #2a6dd1;
  text-shadow: 0 0 6px rgba(42, 109, 209, 0.5);
}

.m-value {
  font-size: 13px;
  font-weight: 800;
  color: #d0d0d0;
  direction: ltr;
  text-align: left;
  flex: 1;
}

.m-category {
  color: #d0d0d0;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2), 0 -1px 1px rgba(0, 0, 0, 0.9);
}
.m-price {
  color: #d0d0d0;
  font-size: 15px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2), 0 -1px 1px rgba(0, 0, 0, 0.9);
}

.m-section-title {
  font-size: 14px;
  font-weight: 700;
  color: #2a6dd1;
  text-align: right;
  padding: 11px 4px 5px;
  margin-bottom: 0;
  text-shadow: 0 0 6px rgba(42, 109, 209, 0.5);
}

.m-desc {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
  color: #d0d0d0;
  text-align: right;
  padding: 0 4px 11px;
  border-bottom: 1px solid rgba(42, 109, 209, 0.4);
}

.m-content {
  list-style: none;
  padding: 0 4px 11px;
  border-bottom: 1px solid rgba(42, 109, 209, 0.4);
}

.m-content li {
  font-size: 13px;
  font-weight: 700;
  color: #d0d0d0;
  text-align: right;
  padding: 5px 0;
  line-height: 1.5;
}

.m-content li::before {
  content: "◇";
  color: #2a6dd1;
  font-weight: 700;
  display: inline-block;
  width: 22px;
  text-align: center;
  margin-left: 0;
}

.m-receive {
  padding: 0 4px 11px;
}

.m-receive-line {
  font-size: 12.5px;
  font-weight: 700;
  color: #a01428;
  text-align: right;
  line-height: 1.9;
}

.m-bot-link {
  color: #2a6dd1;
  font-weight: 700;
  text-decoration: none;
  direction: ltr;
  display: inline-block;
}

.m-input-row {
  display: flex;
  flex-direction: row-reverse;
  gap: 8px;
  margin-top: 8px;
}

.m-input {
  flex: 1;
  height: 38px;
  padding: 0 12px;
  background: #050505;
  border: 1px solid rgba(180, 180, 180, 0.25);
  border-radius: 10px;
  color: #e8e8e8;
  font-family: -apple-system, 'Segoe UI', 'Roboto', sans-serif;
  font-size: 14px;
  text-align: right;
  outline: none;
}

.m-input:focus { border-color: rgba(42, 109, 209, 0.6); }

.m-verify {
  padding: 0 16px;
  height: 38px;
  border: 1px solid rgba(42, 109, 209, 0.5);
  border-radius: 10px;
  background: linear-gradient(180deg, #1a3d1a 0%, #0d240d 100%);
  color: #2a6dd1;
  font-family: sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

/* توحيد رمز ◇ في كل الأقسام */
.m-receive-line::before {
  content: "◇";
  color: #a01428;
  font-weight: 700;
  display: inline-block;
  width: 18px;
  text-align: center;
  margin-left: 0;
}

.m-bot-input {
  width: 100%;
  height: 38px;
  margin-top: 4px;
  border: 1px solid rgba(74, 144, 226, 0.5);
  border-radius: 10px;
  background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 50%, #050505 100%);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.6),
    0 4px 12px rgba(0, 0, 0, 0.5),
    0 4px 16px rgba(74, 144, 226, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -2px 4px rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
}

/* ===== رمز التحذير SVG ===== */
.warn-icon {
  width: 15px;
  height: 15px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
  filter: drop-shadow(0 0 4px rgba(160, 20, 40, 0.6));
}

/* ===== إطار خطأ حقل ID ===== */
.m-input.input-error {
  border-color: #a01428;
  box-shadow:
    0 0 8px rgba(160, 20, 40, 0.7),
    inset 0 0 6px rgba(160, 20, 40, 0.3);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* وميض متكرر مثل إشارة الانتظار */
@keyframes pulseError {
  0%, 100% {
    border-color: #a01428;
    box-shadow: 0 0 8px rgba(160, 20, 40, 0.7), inset 0 0 6px rgba(160, 20, 40, 0.3);
  }
  50% {
    border-color: #4d0812;
    box-shadow: 0 0 3px rgba(160, 20, 40, 0.3), inset 0 0 2px rgba(160, 20, 40, 0.1);
  }
}

.m-input.input-error {
  animation: pulseError 0.4s ease-in-out 3;
}

/* ===== نافذة اختيار العملة ===== */
.pay-select-modal {
  height: auto;
  max-height: 70dvh;
}

.pay-select-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
  padding: 14px 0;
}

.pay-card {
  aspect-ratio: 1 / 1;
  background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 45%, #050505 100%);
  border: 1px solid rgba(42, 109, 209, 0.7);
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -2px 4px rgba(0, 0, 0, 0.9),
    0 0 3px rgba(42, 109, 209, 0.5),
    0 4px 10px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #2a6dd1;
  text-shadow: 0 0 6px rgba(42, 109, 209, 0.7);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.pay-card:active {
  transform: scale(0.97);
}

.pay-card.selected {
  border-color: #2a6dd1;
  background: linear-gradient(145deg, #1a2a4d 0%, #0d1a33 45%, #050d1a 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 8px rgba(42, 109, 209, 0.8),
    0 0 16px rgba(42, 109, 209, 0.4);
}

/* الأزرار السفلية */
.pay-select-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
  width: 100%;
  padding-top: 8px;
}

.pay-btn-next,
.pay-btn-prev {
  flex: 1;
  height: 48px;
  border: none;
  border-radius: 12px;
  font-family: sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.pay-btn-next {
  border: 1px solid rgba(90, 160, 240, 0.6);
  background: linear-gradient(180deg, #2a6dd1 0%, #1a4a99 50%, #0e2d63 100%);
  color: #e6f0ff;
  box-shadow:
    0 2px 6px rgba(42, 109, 209, 0.5),
    inset 0 1px 0 rgba(180, 215, 255, 0.5);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.pay-btn-prev {
  border: 1px solid rgba(160, 20, 40, 0.6);
  background: linear-gradient(180deg, #a01428 0%, #7a0f1f 50%, #4d0812 100%);
  color: #f5e0e4;
  box-shadow:
    0 2px 6px rgba(122, 15, 31, 0.5),
    inset 0 1px 0 rgba(255, 200, 200, 0.35);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.pay-btn-next:active,
.pay-btn-prev:active {
  transform: scale(0.97);
}

/* زر التالي معطّل */
.pay-btn-next:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: linear-gradient(180deg, #3a3a3a 0%, #1f1f1f 50%, #0d0d0d 100%);
  border-color: rgba(100, 100, 100, 0.4);
  box-shadow: none;
  color: #808080;
}

.pay-btn-next:disabled:active {
  transform: none;
}

/* ===== بطاقات الشبكات ===== */
.net-card {
  flex-direction: column;
  gap: 4px;
  padding: 6px;
}

.net-name {
  font-size: 14px;
  font-weight: 700;
  color: #2a6dd1;
  text-align: center;
  line-height: 1.2;
}

.net-code {
  font-size: 11px;
  font-weight: 600;
  color: #a0a0a0;
  letter-spacing: 0.5px;
  direction: ltr;
}

/* منع التفاعل مع النوافذ غير النشطة */

/* ===== اسم البوت (أزرق ملكي) ===== */
.m-bot-name {
  display: inline-block;
  color: #2a6dd1;
  font-family: sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  direction: ltr;
  text-decoration: none;
  text-shadow: 0 0 8px rgba(42, 109, 209, 0.6);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  padding: 4px 8px;
}

/* ===== نافذة تفاصيل الدفع ===== */
.pay-detail-modal {
  height: auto;
  max-height: 90dvh;
  min-height: 80dvh;
}

.pay-detail-body {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 0 14px;
}

.pay-detail-label {
  font-size: 13px;
  font-weight: 700;
  color: #2a6dd1;
  text-align: right;
  padding: 4px 2px 2px;
  text-shadow: 0 0 6px rgba(42, 109, 209, 0.5);
}

.pay-detail-row {
  display: flex;
  flex-direction: row-reverse;
  gap: 8px;
  width: 100%;
}

.pay-detail-input {
  flex: 1;
  height: 40px;
  padding: 0 10px;
  background: #050505;
  border: 1px solid rgba(180, 180, 180, 0.25);
  border-radius: 10px;
  color: #2a6dd1;
  font-family: -apple-system, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  direction: ltr;
  outline: none;
  user-select: none;
  -webkit-user-select: none;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  transition: font-size 0.15s ease;
}

.pay-detail-input::-webkit-scrollbar { display: none; }
.pay-detail-input:focus { border-color: rgba(42, 109, 209, 0.6); }
.pay-detail-input.input-error {
  animation: pulseError 0.4s ease-in-out 3;
}

@keyframes pulseError {
  0%, 100% {
    border-color: #a01428;
    box-shadow: 0 0 8px rgba(160, 20, 40, 0.8), inset 0 0 6px rgba(160, 20, 40, 0.4);
  }
  50% {
    border-color: rgba(160, 20, 40, 0.2);
    box-shadow: 0 0 2px rgba(160, 20, 40, 0.2), inset 0 0 1px rgba(160, 20, 40, 0.1);
  }
}
.pay-detail-input.input-success {
  border-color: #2a6dd1;
  box-shadow: 0 0 8px rgba(42, 109, 209, 0.7);
}

.pay-detail-copy {
  padding: 0 14px;
  height: 40px;
  border: 1px solid rgba(42, 109, 209, 0.7);
  border-radius: 10px;
  background: linear-gradient(180deg, #1a2a4d 0%, #0d1a33 100%);
  color: #4a90e2;
  font-family: sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  min-width: 68px;
  box-shadow:
    inset 0 1px 0 rgba(180, 215, 255, 0.2),
    0 0 6px rgba(42, 109, 209, 0.4);
  text-shadow: 0 0 6px rgba(74, 144, 226, 0.5);
}
.pay-detail-copy:active { transform: scale(0.96); }

/* ===== أزرار تفاصيل الدفع ===== */
.pay-detail-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
  width: 100%;
  padding-top: 8px;
}

.pay-detail-actions .pay-btn-next,
.pay-detail-actions .pay-btn-prev {
  flex: 1;
  height: 52px;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 700;
}

/* حقل العنوان: سحب أفقي بسهولة */
.pay-detail-input {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  cursor: text;
}

/* ===== إشعار من الأعلى (Toast) ===== */
.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translate(-50%, -150%);
  background: linear-gradient(180deg, #1a0d0d 0%, #0d0505 100%);
  color: #f5e0e4;
  border: 1px solid rgba(160, 20, 40, 0.7);
  border-radius: 12px;
  padding: 14px 24px;
  font-family: -apple-system, 'Segoe UI', 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.5),
    0 0 12px rgba(160, 20, 40, 0.4),
    inset 0 1px 0 rgba(255, 200, 200, 0.2);
  z-index: 99999;
  pointer-events: none;
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
  max-width: 90vw;
}

.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}


/* ===== صندوق التحذير الأصفر ===== */
.warning-box {
  width: 100%;
  background: linear-gradient(180deg, rgba(40, 35, 10, 0.6) 0%, rgba(20, 18, 5, 0.6) 100%);
  border: 1px solid rgba(255, 215, 0, 0.8);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 12px;
  box-shadow:
    0 0 8px rgba(255, 215, 0, 0.4),
    0 0 18px rgba(255, 215, 0, 0.2),
    inset 0 0 10px rgba(255, 215, 0, 0.08);
  text-align: right;
}

.warning-title {
  color: #ffd700;
  font-family: sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  text-align: center;
  text-shadow:
    0 0 6px rgba(255, 215, 0, 0.7),
    0 0 12px rgba(255, 215, 0, 0.4);
}

.warning-line {
  color: #ffe066;
  font-family: sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.7;
  text-align: right;
  margin-bottom: 4px;
  text-shadow:
    0 0 5px rgba(255, 215, 0, 0.6),
    0 0 10px rgba(255, 215, 0, 0.3);
}

.warning-line:last-child {
  margin-bottom: 0;
}

/* ===== المبلغ المطلوب + عدّاد التثبيت ===== */
.pay-amount-box {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 12px;
  background: linear-gradient(180deg, #0a1a33 0%, #050d1a 100%);
  border: 1px solid rgba(42, 109, 209, 0.8);
  border-radius: 10px;
  box-shadow:
    0 0 8px rgba(42, 109, 209, 0.5),
    inset 0 1px 0 rgba(180, 215, 255, 0.2);
}

.pay-amount-value {
  font-family: -apple-system, 'Segoe UI', 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #4a90e2;
  direction: ltr;
  text-shadow: 0 0 8px rgba(74, 144, 226, 0.6);
}

.pay-amount-coin {
  font-family: sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #4a90e2;
  opacity: 0.8;
}

.pay-lock-timer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 6px 0 2px;
  font-family: sans-serif;
  font-size: 12px;
  font-weight: 600;
}

.lock-label {
  color: #a0a0a0;
}

.lock-time {
  color: #4a90e2;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 0 6px rgba(74, 144, 226, 0.6);
}

.pay-lock-timer.expired .lock-time {
  color: #a01428;
  text-shadow: 0 0 6px rgba(160, 20, 40, 0.8);
}

/* إخفاء العدّاد بصرياً (يبقى في الكود) */
.pay-lock-timer {
  display: none;
}

/* ملاحظة: المبلغ غير شامل الرسوم */
.pay-amount-note {
  width: 100%;
  text-align: center;
  font-family: sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #a01428;
  padding: 4px 0 10px;
  letter-spacing: 0.3px;
  text-shadow: 0 0 6px rgba(160, 20, 40, 0.6);
}
#netlify-badge, iframe[title="Netlify"], a[href*="netlify.com"] { display: none !important; opacity: 0 !important; pointer-events: none !important; }
#netlify-badge, iframe[title="Netlify"], a[href*="netlify.com"] { display: none !important; opacity: 0 !important; pointer-events: none !important; }
