/* فوتر سراسری: هشدار بالینی + کپی‌رایت. در همه‌ی صفحات و در نسخه‌ی چاپی نمایش داده می‌شود. */
.site-notice{
  direction:rtl;
  width:calc(100% - 24px);
  max-width:1180px;
  margin:28px auto 16px;
  border-radius:22px;
  overflow:hidden;
  background:#fff;
  border:1px solid #E7E2E2;
  box-shadow:0 6px 22px -12px rgba(0,0,0,.18);
  font-family:'Vazirmatn',sans-serif;
  break-inside:avoid;
  page-break-inside:avoid;
  -webkit-print-color-adjust:exact;
  print-color-adjust:exact;
}
.site-notice-warn{
  display:flex; align-items:center; gap:14px;
  background:#FFE1E1;
  color:#B3121B;
  border-bottom:1px solid #F28B8B;
  padding:18px 22px;
  font-size:13.5px; font-weight:700; line-height:1.9;
}
.site-notice-warn .ic{
  flex:0 0 auto; font-size:17px; font-weight:800; line-height:1;
}
.site-notice-bar{
  display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap;
  background:#fff;
  padding:12px 22px;
  font-size:11.5px; font-weight:700; color:#5B6478;
}
.site-notice-bar .dev{display:flex; align-items:center; gap:8px;}
.site-notice-bar .dot{
  width:7px; height:7px; border-radius:50%; background:#8BD22F; display:inline-block;
  -webkit-print-color-adjust:exact; print-color-adjust:exact;
}
.site-notice-bar .copy{direction:ltr; unicode-bidi:isolate;}

/* داخل iframe محاسبه‌گرها روی صفحه مخفی است (فوتر بیرونی سایت نمایش داده می‌شود)، ولی در چاپ همیشه هست */
html.in-frame .site-notice{display:none;}
@media print{
  .site-notice, html.in-frame .site-notice{
    display:block !important;
    width:100%; max-width:none; margin:14px 0 0;
    box-shadow:none;
  }
}
@media (max-width:600px){
  .site-notice-warn{padding:14px 14px; font-size:12.5px;}
  .site-notice-bar{padding:10px 14px;}
}
