/* NovaBoost Social — دکمه‌های شناور تلگرام و اینستاگرام */
.nbs-dock { position: fixed; bottom: 20px; z-index: 90; display: flex; flex-direction: column; gap: 10px; direction: rtl; }
.nbs-dock.nbs-left { left: 20px; align-items: flex-start; }
.nbs-dock.nbs-right { right: 20px; align-items: flex-end; }

.nbs-btn { display: flex; align-items: center; gap: 10px; padding-block: 7px; padding-inline: 7px 18px; border-radius: 99px;
  color: #fff !important; text-decoration: none !important; font-family: inherit; direction: rtl;
  box-shadow: 0 12px 30px var(--nbs-glow), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .25s, box-shadow .25s; animation: nbs-in .5s cubic-bezier(.2, .9, .3, 1.2) both; }
.nbs-btn:nth-child(2) { animation-delay: .12s; }
.nbs-btn:nth-child(3) { animation-delay: .24s; }
.nbs-btn:hover, .nbs-btn:focus-visible { transform: translateY(-3px); box-shadow: 0 18px 42px var(--nbs-glow), inset 0 1px 0 rgba(255, 255, 255, .35); }
.nbs-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@keyframes nbs-in { from { opacity: 0; transform: translateY(16px) scale(.9); } to { opacity: 1; transform: none; } }

/* تلگرام: آبی رسمی با موج دور آیکون */
.nbs-telegram { --nbs-glow: rgba(34, 158, 217, .45); background: linear-gradient(135deg, #3ec0ff, #1b8fd2); }
/* کانال: رنگ‌های NovaBoost (فیروزه‌ای ← بنفش) با برق عبوری، تا از دکمه آبی پشتیبانی جدا دیده شود */
.nbs-channel { --nbs-glow: rgba(123, 92, 255, .45); background: linear-gradient(135deg, #00c6ff, #7b5cff 60%, #b44dff); position: relative; overflow: hidden; }
.nbs-btn.nbs-channel::before { content: ""; position: absolute; inset: 0 auto 0 -40%; width: 35%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); animation: nbs-shine 4.5s ease-in-out .6s infinite; }
.nbs-chip.nbs-channel { background: linear-gradient(135deg, #00c6ff, #7b5cff); }
/* اینستاگرام: گرادیان رسمی با برق عبوری */
.nbs-instagram { --nbs-glow: rgba(214, 41, 118, .42);
  background: radial-gradient(circle at 12% 110%, #fdd56b 0%, #fa8e3a 22%, #e8385f 45%, #c42e98 68%, #6a4ce0 100%); position: relative; overflow: hidden; }
.nbs-btn.nbs-instagram::before { content: ""; position: absolute; inset: 0 auto 0 -40%; width: 35%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); animation: nbs-shine 4.5s ease-in-out 1.2s infinite; }
@keyframes nbs-shine { 0%, 70% { transform: translateX(0) skewX(-18deg); } 100% { transform: translateX(520%) skewX(-18deg); } }

.nbs-ic { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .2); }
.nbs-ic svg { width: 24px; height: 24px; }
.nbs-telegram .nbs-ic svg { margin-left: 3px; }
.nbs-btn.nbs-telegram .nbs-ic::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); animation: nbs-ring 2.4s ease-out infinite; }
@keyframes nbs-ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

.nbs-txt { display: flex; flex-direction: column; line-height: 1.35; position: relative; }
.nbs-txt b { font-size: 14.5px; font-weight: 800; }
.nbs-txt small { font-size: 11.5px; opacity: .88; }

@media (max-width: 600px) {
  .nbs-dock { bottom: 14px; gap: 8px; }
  .nbs-dock.nbs-left { left: 14px; }
  .nbs-dock.nbs-right { right: 14px; }
  .nbs-txt small { display: none; }
  .nbs-m-icons .nbs-btn { padding: 5px; }
  .nbs-m-icons .nbs-txt { display: none; }
}

/* آیکون‌های کوچک داخل صفحه: [novaboost_social] */
.nbs-chips { display: inline-flex; gap: 10px; vertical-align: middle; }
.nbs-chip { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; text-decoration: none !important; transition: transform .2s; }
.nbs-chip:hover { transform: translateY(-2px); }
.nbs-chip.nbs-telegram { background: linear-gradient(135deg, #3ec0ff, #1b8fd2); }
.nbs-chip .nbs-ic { width: 100%; height: 100%; background: none; }
.nbs-chip .nbs-ic svg { width: 21px; height: 21px; }

@media (prefers-reduced-motion: reduce) {
  .nbs-btn, .nbs-btn::before, .nbs-ic::after { animation: none !important; }
}

/* ---------- صفحه تنظیمات در پیشخوان ---------- */
.nbs-admin .nbs-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 16px; margin-top: 12px; }
.nbs-admin .nbs-card { background: #fff; border: 1px solid #dcdcde; border-radius: 12px; padding: 14px 18px; margin-top: 16px; }
.nbs-admin .nbs-cards .nbs-card { margin-top: 0; }
.nbs-admin .nbs-card-h { display: flex; align-items: center; gap: 10px; }
.nbs-admin .nbs-card-h h2 { margin: 0; }
.nbs-admin .nbs-toggle { margin-right: auto; }
.nbs-admin .form-table th { width: 130px; }
.nbs-admin .nbs-stage { position: relative; min-height: 150px; border-radius: 14px; padding: 20px; background: radial-gradient(circle at 20% 0%, #1a2150, #06070d 70%); }
.nbs-dock.nbs-preview { position: absolute; }
