/* IRS — هم‌رنگ‌سازی آنالیزور با هویت irsocialmedia.com (شرابی + طلایی، ایران‌سنس + مربا)
   فقط کلاس‌های رنگی برند جایگزین می‌شن؛ رنگ‌های وضعیت (سبز/قرمز/زرد) دست نمی‌خورن. */
@font-face { font-family: "IRS"; font-weight: 400; font-display: swap; src: url("/wp-content/uploads/2023/09/IRANSansWebFaNum.ttf") format("truetype"); }
@font-face { font-family: "Morabba"; font-weight: 600; font-display: swap; src: url("/wp-content/uploads/2023/09/Morabba-SemiBold.woff") format("woff"); }
@font-face { font-family: "Morabba"; font-weight: 800; font-display: swap; src: url("/wp-content/uploads/2023/09/Morabba-Black.woff") format("woff"); }

:root { --irs-ink: #23000a; --irs-wine: #591a39; --irs-wine-2: #7a2449; --irs-wine-deep: #3a0617; --irs-gold: #c9a227; --irs-gold-soft: #e8d49a; --irs-cream: #fbf5ef; --irs-line: #ead9cb; }

/* فونت‌ها */
html body, html body #root, html body #root button, html body #root input, html body #root select, html body #root textarea, html body #root p, html body #root span, html body #root div, html body #root li, html body #root label {
  font-family: "IRS", Vazirmatn, Tahoma, sans-serif !important;
}
html body #root h1, html body #root h2, html body #root h3 { font-family: "Morabba", "IRS", Tahoma, sans-serif !important; letter-spacing: 0 !important; }
html body #root h1 { font-weight: 800 !important; }
html body #root h2, html body #root h3 { font-weight: 600 !important; }
html body #root h1 span, html body #root h2 span { font-family: inherit !important; }
body { background-color: var(--irs-cream) !important; }

/* هیروی تیره: سرمه‌ای/آبی → شرابی سایت */
#root .from-indigo-900 { --tw-gradient-from: var(--irs-ink) var(--tw-gradient-from-position) !important; --tw-gradient-to: rgb(35 0 10 / 0) var(--tw-gradient-to-position) !important; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important; }
#root .via-blue-900 { --tw-gradient-stops: var(--tw-gradient-from), var(--irs-wine-deep) var(--tw-gradient-via-position), var(--tw-gradient-to) !important; }
#root .to-slate-900 { --tw-gradient-to: var(--irs-wine) var(--tw-gradient-to-position) !important; }
#root .bg-purple-600 { background-color: var(--irs-wine-2) !important; }
#root .bg-pink-600 { background-color: var(--irs-gold) !important; }

/* متن گرادیانی تیتر → طلایی */
#root .from-pink-500 { --tw-gradient-from: var(--irs-gold) var(--tw-gradient-from-position) !important; --tw-gradient-to: rgb(201 162 39 / 0) var(--tw-gradient-to-position) !important; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important; }
#root .to-indigo-400 { --tw-gradient-to: var(--irs-gold-soft) var(--tw-gradient-to-position) !important; }

/* دکمه‌ی اصلی: صورتی/بنفش → شرابی با حاشیه‌ی طلایی (مثل دکمه‌های سایت) */
#root .from-pink-600 { --tw-gradient-from: var(--irs-wine-2) var(--tw-gradient-from-position) !important; --tw-gradient-to: rgb(89 26 57 / 0) var(--tw-gradient-to-position) !important; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important; }
#root .to-indigo-600 { --tw-gradient-to: var(--irs-wine) var(--tw-gradient-to-position) !important; }
#root .hover\:from-pink-500:hover { --tw-gradient-from: #8e2c55 var(--tw-gradient-from-position) !important; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important; }
#root .hover\:to-indigo-500:hover { --tw-gradient-to: var(--irs-wine-2) var(--tw-gradient-to-position) !important; }
#root button.from-pink-600 { box-shadow: 0 0 0 1.5px var(--irs-gold), 0 14px 30px -12px rgba(201,162,39,.45) !important; }
#root .shadow-indigo-500\/30 { --tw-shadow-color: rgb(201 162 39 / .3) !important; }
#root .focus\:ring-indigo-600:focus { --tw-ring-color: var(--irs-gold) !important; }

/* لودینگ و تأکیدها */
#root .text-indigo-600, #root .text-purple-700 { color: var(--irs-wine) !important; }
#root .border-indigo-600 { border-color: var(--irs-wine) !important; border-top-color: transparent !important; }
#root .text-pink-700, #root .text-pink-900 { color: var(--irs-wine) !important; }
#root .bg-pink-50 { background-color: #f8eef1 !important; }
#root .bg-pink-100 { background-color: #f3e2e8 !important; }
#root .border-pink-100 { border-color: #ecd3dc !important; }

/* کارت‌های رنگی گزارش → خانواده‌ی شرابی/طلایی */
#root .from-sky-50 { --tw-gradient-from: #fbf5ef var(--tw-gradient-from-position) !important; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important; }
#root .to-cyan-50 { --tw-gradient-to: #f6ece2 var(--tw-gradient-to-position) !important; }
#root .border-sky-100 { border-color: var(--irs-line) !important; }
#root .text-sky-700 { color: var(--irs-wine) !important; }
#root .from-blue-500 { --tw-gradient-from: var(--irs-wine-2) var(--tw-gradient-from-position) !important; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important; }
#root .to-cyan-500 { --tw-gradient-to: var(--irs-ink) var(--tw-gradient-to-position) !important; }
#root .shadow-blue-200 { --tw-shadow-color: rgb(89 26 57 / .25) !important; }
#root .from-orange-500 { --tw-gradient-from: #b8902a var(--tw-gradient-from-position) !important; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important; }
#root .to-red-500 { --tw-gradient-to: #8a6516 var(--tw-gradient-to-position) !important; }
#root .shadow-orange-200 { --tw-shadow-color: rgb(201 162 39 / .3) !important; }
#root .text-orange-100, #root .text-blue-100 { color: rgba(255,255,255,.8) !important; }
#root .from-yellow-400 { --tw-gradient-from: var(--irs-gold) var(--tw-gradient-from-position) !important; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important; }
#root .to-orange-500 { --tw-gradient-to: var(--irs-wine-2) var(--tw-gradient-to-position) !important; }
#root .bg-blue-50 { background-color: #f8f1ea !important; }
#root .bg-blue-100 { background-color: #f1e5d8 !important; }
#root .border-blue-100 { border-color: var(--irs-line) !important; }
#root .text-blue-700, #root .text-blue-900 { color: var(--irs-wine) !important; }
#root .text-blue-400 { color: var(--irs-gold) !important; }
#root .bg-blue-500 { background-color: var(--irs-wine) !important; }

/* خنثی‌های گرم‌تر، هم‌خانواده‌ی کرم سایت */
#root .bg-slate-50, #root .bg-gray-50 { background-color: #faf6f1 !important; }
#root .border-gray-100, #root .border-slate-100 { border-color: #f0e6dc !important; }
#root .border-slate-200, #root .border-gray-200 { border-color: var(--irs-line) !important; }
#root input:focus, #root select:focus, #root textarea:focus { border-color: var(--irs-wine) !important; box-shadow: 0 0 0 3px rgba(89,26,57,.12) !important; }
#root .focus\:ring-brand-start\/40:focus { --tw-ring-color: rgb(89 26 57 / .25) !important; }

/* اسکرول‌بار */
::-webkit-scrollbar-thumb { background: #d9c6b5 !important; }
::-webkit-scrollbar-thumb:hover { background: #b89a82 !important; }
