/* =========================================================
   خدمات راد — View Article Page Styles
   کاملاً مستقل و بدون وابستگی به style.css
   ========================================================= */

/* ---------- متغیرهای اصلی (همانند صفحات تعمیرات) ---------- */
:root {
    /* رنگ‌های اصلی */
    --bg: #f3efe3;
    --panel: #fffdf9;
    --panel-alt: #f7f2e6;
    --line: #ddd4bf;
    --ink: #2a2620;
    --ink-soft: #4a4438;
    --muted: #8a8272;
    
    --amber: #dd8f16;
    --amber-deep: #a8690a;
    --teal: #0d9488;
    --teal-deep: #086b62;
    --violet: #6d5adb;
    --violet-deep: #4d3cb8;
    --rose: #d1477e;
    --rose-deep: #a52f60;
    --coral: #dd5a3c;
    --coral-deep: #ac3d24;
    --green: #2f9e52;
    --green-deep: #1f7a3d;
    
    --footer-ink: #241f19;
    --radius: 10px;
    --font-fa: 'Vazirmatn', 'Tahoma', sans-serif;
    --font-mono: 'JetBrains Mono', 'Consolas', monospace;
    --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 10px 22px -14px rgba(42, 38, 32, 0.22);
    
    /* متغیرهای نوبار */
    --nav-ink: #1B2126;
    --nav-ink-soft: #2B3540;
    --nav-slate-2: #6B7A8C;
    --nav-paper-2: #F4EFE3;
    --nav-grid-line: #D6CDB6;
    --nav-brass: #B8863B;
    --nav-rust: #93392A;
    
    /* متغیرهای دارک مود */
    --dark-bg: #1a1a2e;
    --dark-panel: #16213e;
    --dark-panel-alt: #1a1a2e;
    --dark-line: #2d3a5e;
    --dark-ink: #e8e8e8;
    --dark-ink-soft: #b0b0b0;
    --dark-muted: #8888aa;
    --dark-card-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* ---------- استایل کلی بدنه ---------- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-fa);
    line-height: 1.75;
    color: var(--ink);
    direction: rtl;
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 90px;
    min-height: 100vh;
    transition: background-color 0.4s ease, color 0.4s ease;
}

body.loaded {
    opacity: 1;
}

a {
    text-decoration: none;
}

/* ---------- دارک مود ---------- */
body.dark-mode {
    --bg: #1a1a2e;
    --panel: #16213e;
    --panel-alt: #1a1a2e;
    --line: #2d3a5e;
    --ink: #e8e8e8;
    --ink-soft: #b0b0b0;
    --muted: #8888aa;
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
    --nav-paper-2: #16213e;
    --nav-grid-line: #2d3a5e;
    --nav-ink: #e8e8e8;
    --nav-ink-soft: #b0b0b0;
    background-color: #1a1a2e;
    color: #e8e8e8;
}

body.dark-mode .main-header {
    background: rgba(22, 33, 62, 0.92);
    border-bottom-color: var(--nav-brass);
}

body.dark-mode .header-logo-text strong {
    color: #e8e8e8;
}

body.dark-mode .main-nav ul a {
    color: #b0b0b0;
}

body.dark-mode .main-nav ul a:hover,
body.dark-mode .main-nav ul a.active {
    color: var(--nav-brass);
    background: rgba(184, 134, 59, 0.2);
}

body.dark-mode .article-container {
    background-color: var(--panel);
    border-color: var(--line);
}

body.dark-mode .article-meta {
    background-color: var(--panel-alt);
}

body.dark-mode .article-title {
    color: #e8e8e8;
    border-bottom-color: var(--nav-brass);
}

body.dark-mode .sidebar-card {
    background-color: var(--panel);
    border-color: var(--line);
}

body.dark-mode .form-control {
    background-color: var(--panel-alt);
    color: #e8e8e8;
    border-color: var(--line);
}

body.dark-mode .form-control::placeholder {
    color: #8888aa;
}

body.dark-mode .tag-badge {
    background-color: var(--panel-alt);
    color: #b0b0b0;
}

body.dark-mode .tag-badge:hover {
    background-color: var(--line);
    color: #e8e8e8;
}

body.dark-mode .floating-toolbar {
    background: rgba(22, 33, 62, 0.85);
    backdrop-filter: blur(15px);
    border-color: var(--line);
}

body.dark-mode .toolbar-item:hover {
    background: rgba(184, 134, 59, 0.2);
    color: var(--nav-brass);
}

body.dark-mode .toast-notification {
    background: rgba(22, 33, 62, 0.95);
    color: #e8e8e8;
    border-color: var(--nav-brass);
}

/* ---------- نوار پیشرفت (Progress Bar) ---------- */
.progress-bar-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    height: 4px;
    background: rgba(184, 134, 59, 0.2);
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--amber), var(--teal));
    transition: width 0.15s ease-out;
    border-radius: 0 0 2px 2px;
}

/* ---------- هدر (مشابه صفحات تعمیرات) ---------- */
.main-header {
    position: fixed;
    top: 4px;
    right: 0;
    left: 0;
    z-index: 1030;
    background: rgba(234, 227, 211, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--nav-brass);
    padding: 12px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--nav-ink);
    flex-shrink: 0;
}

.header-logo-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1.5px dashed var(--nav-brass);
    border-radius: 8px;
    color: var(--nav-brass);
    background: var(--nav-paper-2);
    transform: rotate(-4deg);
    font-size: 16px;
    flex-shrink: 0;
}

.header-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.header-logo-text strong {
    font-size: 16px;
    font-weight: 700;
    color: var(--nav-ink);
    font-family: var(--font-fa);
}

.header-logo-text em {
    font-style: normal;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 1.5px;
    color: var(--nav-slate-2);
}

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--nav-grid-line);
    background: var(--nav-paper-2);
    border-radius: 8px;
    color: var(--nav-ink);
    font-size: 16px;
    cursor: pointer;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: flex-end;
    flex: 1;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.main-nav ul a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--font-fa);
    color: var(--nav-ink-soft);
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.main-nav ul a:hover,
.main-nav ul a.active {
    color: var(--nav-brass);
    background: rgba(184, 134, 59, 0.12);
}

.main-nav ul a i {
    font-size: 13px;
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-auth .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font-fa);
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.nav-auth .btn:hover {
    transform: translateY(-2px);
}

.nav-auth .btn-primary {
    background: rgba(147, 57, 42, 0.12);
    border-color: rgba(147, 57, 42, 0.35);
    color: var(--nav-rust);
}

.nav-auth .btn-primary:hover {
    background: rgba(147, 57, 42, 0.2);
    box-shadow: 0 8px 18px -12px rgba(147, 57, 42, 0.5);
}

.nav-auth .btn-outline {
    background: transparent;
    border-color: var(--nav-grid-line);
    color: var(--nav-ink-soft);
}

.nav-auth .btn-outline:hover {
    background: rgba(184, 134, 59, 0.1);
    border-color: var(--nav-brass);
}

.admin-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    font-family: var(--font-fa);
    color: var(--nav-rust);
    background: rgba(147, 57, 42, 0.1);
    border: 1px solid rgba(147, 57, 42, 0.3);
    padding: 5px 10px;
    border-radius: 20px;
}

/* ---------- ریسپانسیو منو ---------- */
@media (max-width: 860px) {
    .nav-toggle {
        display: grid;
        place-items: center;
    }
    
    .main-nav {
        position: absolute;
        top: 64px;
        right: 0;
        left: 0;
        background: var(--nav-paper-2);
        border-bottom: 1px solid var(--nav-grid-line);
        flex-direction: column;
        align-items: stretch;
        padding: 14px 20px 20px;
        display: none;
        gap: 14px;
    }
    
    .main-nav.open {
        display: flex;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 2px;
    }
    
    .nav-auth {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ---------- صفحه اصلی مقاله ---------- */
.article-page-main {
    flex: 1;
    padding: 20px 0 40px;
}

.article-container {
    background-color: var(--panel);
    padding: 30px 30px 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card), inset 0 3px 0 0 var(--amber) !important;
    border: 1px solid var(--line);
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: right;
    transition: background-color 0.4s ease, border-color 0.4s ease;
}

/* ---------- عنوان مقاله ---------- */
.article-title {
    font-size: 2.2em;
    color: var(--ink);
    margin-bottom: 25px;
    border-bottom: 2px solid var(--nav-brass);
    padding-bottom: 15px;
    font-weight: 700;
    text-align: right;
    transition: color 0.4s ease, border-color 0.4s ease;
}

/* ---------- عکس کاور ---------- */
.article-cover-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow-card);
    margin-bottom: 20px;
}

.article-cover-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---------- متا اطلاعات ---------- */
.article-meta {
    background-color: var(--panel-alt);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 15px 20px;
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 25px;
    align-items: center;
    transition: background-color 0.4s ease, border-color 0.4s ease;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95em;
    color: var(--ink-soft);
}

.meta-item i {
    color: var(--amber);
    font-size: 1.1em;
}

.meta-item a {
    color: var(--teal-deep);
    transition: color 0.3s ease;
}

.meta-item a:hover {
    color: var(--amber);
}

.btn-profile {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: linear-gradient(45deg, var(--amber), var(--amber-deep));
    color: #fff !important;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-profile:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -6px rgba(184, 134, 59, 0.4);
    color: #fff !important;
}

.author-phone a {
    color: var(--teal-deep);
    font-weight: 600;
}

.no-phone {
    color: var(--muted);
}

/* ---------- محتوای مقاله ---------- */
.article-content {
    font-size: 1.05em;
    line-height: 2;
    margin-bottom: 30px;
    text-align: justify;
    transition: font-size 0.3s ease;
}

.article-content p {
    margin-bottom: 1.2em;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    color: var(--ink);
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}

.article-content ul,
.article-content ol {
    padding-right: 25px;
    margin-bottom: 1em;
}

.article-content blockquote {
    border-right: 4px solid var(--amber);
    padding: 15px 20px;
    margin: 20px 0;
    background: var(--panel-alt);
    border-radius: var(--radius);
    font-style: italic;
}

/* ---------- برچسب‌ها ---------- */
.tags-container {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.tags-container h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--ink);
}

.tag-badge {
    display: inline-block;
    background: var(--panel-alt);
    color: var(--ink-soft);
    padding: 6px 16px;
    border-radius: 20px;
    margin-left: 8px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--line);
}

.tag-badge:hover {
    background: var(--line);
    color: var(--ink);
    transform: translateY(-2px);
}

/* ---------- دکمه‌های اشتراک‌گذاری ---------- */
.share-buttons {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.share-title {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--ink);
}

.share-buttons-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: #fff;
    font-size: 1.2em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.share-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.share-btn.facebook {
    background: #1877f2;
}
.share-btn.twitter {
    background: #000;
}
.share-btn.telegram {
    background: #0088cc;
}
.share-btn.whatsapp {
    background: #25d366;
}
.share-btn.copy-link-btn {
    background: var(--amber);
}

/* ---------- سایدبار ---------- */
.sidebar-article {
    margin-top: 20px;
}

.sidebar-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px 22px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-card);
    transition: background-color 0.4s ease, border-color 0.4s ease;
}

.sidebar-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--nav-brass);
}

.sidebar-title i {
    color: var(--amber);
    margin-left: 8px;
}

/* مقالات مرتبط */
.related-articles-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-articles-list li {
    margin-bottom: 12px;
}

.related-articles-list li:last-child {
    margin-bottom: 0;
}

.related-articles-list a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-article-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.related-article-item:hover {
    background: var(--panel-alt);
}

.related-article-image {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.related-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-article-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
    margin: 0;
    line-height: 1.4;
}

/* فرم درخواست تعمیر */
.quick-repair-form-card .form-group {
    margin-bottom: 12px;
}

.quick-repair-form-card .form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: var(--font-fa);
    background: var(--panel-alt);
    color: var(--ink);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.quick-repair-form-card .form-control:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.16);
    outline: none;
}

.quick-repair-form-card .form-control::placeholder {
    color: var(--muted);
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background: linear-gradient(45deg, var(--green), var(--green-deep));
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1em;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: var(--font-fa);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -6px rgba(47, 158, 82, 0.4);
}

/* کارت تماس */
.contact-promo-card p {
    color: var(--ink-soft);
    margin-bottom: 15px;
}

.promo-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-promo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-promo:hover {
    transform: translateY(-2px);
}

.btn-contact {
    background: linear-gradient(45deg, var(--amber), var(--amber-deep));
    color: #fff;
}

.btn-contact:hover {
    box-shadow: 0 8px 20px -6px rgba(184, 134, 59, 0.4);
    color: #fff;
}

.btn-services {
    background: var(--panel-alt);
    color: var(--ink);
    border: 1px solid var(--line);
}

.btn-services:hover {
    background: var(--line);
    color: var(--ink);
}

/* ---------- نوار ابزار شناور (Floating Toolbar) ---------- */
.floating-toolbar {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1040;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    background: rgba(244, 239, 227, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 8px 6px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    transition: background-color 0.4s ease, border-color 0.4s ease;
}

.toolbar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    color: var(--ink-soft);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1.1em;
    border: none;
    background: transparent;
}

.toolbar-item:hover {
    background: rgba(184, 134, 59, 0.15);
    color: var(--nav-brass);
    transform: scale(1.05);
}

.toolbar-item .tooltip-text {
    display: none;
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: var(--nav-ink);
    color: #fff;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    font-weight: 500;
    font-family: var(--font-fa);
}

.toolbar-item:hover .tooltip-text {
    display: block;
}

.toolbar-divider {
    width: 30px;
    height: 1px;
    background: var(--line);
    margin: 4px 0;
}

.toolbar-item.reading-time {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--muted);
    cursor: default;
    flex-direction: column;
    gap: 2px;
}

.toolbar-item.reading-time i {
    font-size: 0.9em;
}

.toolbar-item.reading-time:hover {
    background: transparent;
    transform: none;
}

/* دکمه بازگشت به بالا - مخفی در ابتدا */
#backToTop {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* ---------- Toast Notification ---------- */
.toast-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(42, 38, 32, 0.95);
    color: #fff;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-family: var(--font-fa);
    font-size: 0.95rem;
    z-index: 9999;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid var(--nav-brass);
    text-align: center;
}

.toast-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ---------- فوتر (مشابه صفحات تعمیرات) ---------- */
.main-footer {
    background-color: var(--footer-ink) !important;
    border-top: 3px solid var(--amber);
    padding: 30px 0;
    text-align: center;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 20px;
}

.main-footer p {
    margin: 0;
    font-size: 0.9em;
    color: #bdc3c7;
}

.social-icons a {
    color: #ecf0f1;
    font-size: 1.3em;
    margin-right: 15px;
    transition: color 0.2s ease;
}

.social-icons a:last-child {
    margin-right: 0;
}

.social-icons a:hover {
    color: var(--amber) !important;
}

/* ---------- ریسپانسیو ---------- */
@media (max-width: 992px) {
    .floating-toolbar {
        left: 10px;
        padding: 6px 4px;
    }
    
    .toolbar-item {
        width: 36px;
        height: 36px;
        font-size: 0.95em;
    }
    
    .toolbar-item .tooltip-text {
        display: none !important;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 80px;
    }
    
    .article-container {
        padding: 18px 15px 25px;
    }
    
    .article-title {
        font-size: 1.6em;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 8px;
        padding: 12px 15px;
    }
    
    .article-content {
        font-size: 1em;
        line-height: 1.9;
    }
    
    .floating-toolbar {
        left: 8px;
        padding: 5px 3px;
        border-radius: 10px;
    }
    
    .toolbar-item {
        width: 32px;
        height: 32px;
        font-size: 0.85em;
    }
    
    .toolbar-item.reading-time {
        font-size: 0.6rem;
    }
    
    .toolbar-divider {
        width: 20px;
    }
    
    .share-btn {
        width: 38px;
        height: 38px;
        font-size: 1em;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .toast-notification {
        font-size: 0.85rem;
        padding: 12px 20px;
        width: 90%;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 1.3em;
    }
    
    .floating-toolbar {
        left: 5px;
        padding: 4px 2px;
        border-radius: 8px;
    }
    
    .toolbar-item {
        width: 28px;
        height: 28px;
        font-size: 0.75em;
    }
    
    .toolbar-item.reading-time {
        font-size: 0.5rem;
    }
    
    .toolbar-divider {
        width: 16px;
    }
}

/* ============================================================ */
/* دکمه تماس فوری شناور (Floating Call Button) */
/* ============================================================ */
.floating-call-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: linear-gradient(45deg, #dd8f16, #a8690a);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 1.1em;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(221, 143, 22, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: callPulse 2s infinite;
}

.floating-call-btn:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 12px 40px rgba(221, 143, 22, 0.6);
    color: #fff;
}

.floating-call-btn i {
    font-size: 1.4em;
}

.floating-call-btn .btn-text {
    display: inline;
}

/* انیمیشن ضربان */
@keyframes callPulse {
    0% { box-shadow: 0 0 0 0 rgba(221, 143, 22, 0.5); }
    70% { box-shadow: 0 0 0 20px rgba(221, 143, 22, 0); }
    100% { box-shadow: 0 0 0 0 rgba(221, 143, 22, 0); }
}

/* ریسپانسیو برای موبایل */
@media (max-width: 576px) {
    .floating-call-btn {
        bottom: 20px;
        left: 20px;
        right: 20px;
        justify-content: center;
        padding: 14px 20px;
        font-size: 1em;
        border-radius: 30px;
    }
    .floating-call-btn .btn-text {
        font-size: 0.95em;
    }
    .floating-call-btn i {
        font-size: 1.2em;
    }
}

@media (max-width: 400px) {
    .floating-call-btn {
        bottom: 15px;
        left: 15px;
        right: 15px;
        padding: 12px 16px;
        font-size: 0.9em;
        border-radius: 25px;
        gap: 8px;
    }
    .floating-call-btn i {
        font-size: 1em;
    }
}

.preferred-source-box{
    margin:40px 0;
    padding:25px;
    border-radius:15px;
    text-align:center;
    background:#f8f9fa;
    border:1px solid #ddd;
}

.preferred-source-box h3{
    margin-bottom:10px;
}

.preferred-source-box p{
    margin-bottom:15px;
}