﻿:root {
    --sp-primary: #1E88E5;
    --sp-primary-dark: #1565C0;
    --sp-primary-light: #E3F2FD;
    --sp-success: #43A047;
    --sp-danger: #E53935;
    --sp-warning: #FB8C00;
    --sp-text: #1a1a1a;
    --sp-text-secondary: #666;
    --sp-text-light: #999;
    --sp-bg: #FFFFFF;
    --sp-bg-card: #F8F9FB;
    --sp-border: #E8EAED;
    --sp-border-light: #F0F2F5;
    --sp-radius: 14px;
    --sp-radius-sm: 10px;
    --sp-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --sp-font: 'Shabnam', 'vazir','IranSans';
}

/* فقط صفحه جزئیات */
body {
    background-color: #f4f7fb !important;
    direction: rtl;
    font-family: 'Shabnam', 'vazir','IranSans';
}

.sp-detail-page {
    direction: rtl;
    min-height: 100vh;
    padding-bottom: 70px;
    font-family: 'Shabnam', 'vazir','IranSans';
}

.sp-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 20px 20px 40px;
}

/* مخفی‌کردن فوتر در صفحه جزئیات */
.bc-footer,
footer.bc-footer,
[class*="bc-footer"],
.sp-detail-page ~ .bc-footer {
    display: none !important;
}

/* ==========================================
   Main Detail Card
   ========================================== */

.sp-detail-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    border-radius: var(--sp-radius);
    overflow: hidden;
    border: 1px solid #dbe7f3;
    box-shadow: 0 8px 24px rgba(21, 101, 192, 0.06);
    margin-bottom: 18px;
    max-height: 480px;
}

.sp-detail-image-col {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 480px;
    overflow: hidden;
    background: #1a1a1a;
    border-left: 1px solid var(--sp-border-light);
}

.sp-detail-slider {
    width: 100%;
    height: 100%;
}

    .sp-detail-slider .swiper-slide {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        cursor: zoom-in;
        background: #1a1a1a;
    }

        .sp-detail-slider .swiper-slide img {
            width: 100%;
            height: 480px;
            object-fit: cover;
        }

    .sp-detail-slider .swiper-pagination-bullet,
    .sp-modal-lightbox .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        opacity: 1;
        background: rgba(255, 255, 255, 0.6);
    }

    .sp-detail-slider .swiper-pagination-bullet-active,
    .sp-modal-lightbox .swiper-pagination-bullet-active {
        width: 20px;
        border-radius: 4px;
        background: #fff;
    }

    .sp-detail-slider .swiper-button-next,
    .sp-detail-slider .swiper-button-prev,
    .sp-modal-lightbox .swiper-button-next,
    .sp-modal-lightbox .swiper-button-prev {
        width: 36px;
        height: 36px;
        color: #fff;
        background: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        backdrop-filter: blur(8px);
    }

        .sp-detail-slider .swiper-button-next::after,
        .sp-detail-slider .swiper-button-prev::after {
            font-size: 14px;
            font-weight: bold;
        }

.sp-detail-urgent {
    position: absolute;
    z-index: 10;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    color: #fff;
    background: var(--sp-danger);
    border-radius: 50px;
    box-shadow: 0 4px 16px rgba(229, 57, 53, 0.4);
    font-size: 11px;
    font-weight: 700;
    animation: sp-urgent-pulse 2s ease-in-out infinite;
}

@keyframes sp-urgent-pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.sp-detail-info-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 480px;
    padding: 20px 24px;
    overflow-y: auto;
}

.sp-detail-title {
    margin: 0;
    color: var(--sp-text);
    font-size: 28px;
    font-weight: 800;
    line-height: 1.5;
}

.sp-detail-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 14px;
    padding: 10px 0;
    border-top: 2px solid #F1F5F9;
    border-bottom: 2px solid #F1F5F9;
}

.sp-detail-price-value {
    color: var(--sp-primary);
    font-size: 32px;
    font-weight: 800;
}

.sp-detail-price-currency {
    color: var(--sp-text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.sp-detail-negotiable {
    padding: 3px 14px;
    color: #1565C0;
    background: #E3F2FD;
    border: 1px solid #90CAF9;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
}

/* ==========================================
   Image Actions - دکمه‌های روی تصویر
   ========================================== */

.sp-detail-image-actions {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 15;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sp-detail-img-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #fff;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    padding: 0;
}

    .sp-detail-img-action-btn:hover {
        background: var(--sp-primary);
        border-color: var(--sp-primary);
        transform: scale(1.1);
        box-shadow: 0 6px 24px rgba(30, 136, 229, 0.45);
    }

    .sp-detail-img-action-btn:active {
        transform: scale(0.95);
    }

    .sp-detail-img-action-btn.saved {
        background: var(--sp-success);
        border-color: var(--sp-success);
    }

        .sp-detail-img-action-btn.saved:hover {
            background: #2E7D32;
            box-shadow: 0 6px 24px rgba(67, 160, 71, 0.45);
        }

    .sp-detail-img-action-btn svg {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

/* ==========================================
   Meta & Detail Grid
   ========================================== */

.sp-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sp-detail-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    color: #475569;
    background: #f7fbff;
    border: 1px solid #dbeafe;
    border-radius: 50px;
    font-size: 13px;
}

    .sp-detail-meta-item svg {
        color: var(--sp-primary);
    }

.sp-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    margin-bottom: 18px;
}

.sp-detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e6eef6;
    border-radius: var(--sp-radius-sm);
    box-shadow: 0 4px 16px rgba(21, 101, 192, 0.04);
    font-size: 13px;
}

.sp-detail-item-full {
    grid-column: 1 / -1;
}

.sp-detail-item-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    color: var(--sp-text-secondary);
}

.sp-detail-item-value {
    color: var(--sp-text);
    font-size: 14px;
    font-weight: 600;
    word-break: break-word;
}

/* ==========================================
   Product Specifications
   ========================================== */

.sp-detail-specs {
    width: 100%;
    padding: 16px 20px;
    margin-bottom: 18px;
    background: #fff;
    border: 1px solid #e6eef6;
    border-radius: var(--sp-radius);
    box-shadow: 0 4px 16px rgba(21, 101, 192, 0.05);
}

.sp-detail-specs-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
}

.sp-detail-specs-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    color: #1e293b;
    background: #fff;
    border: 1px solid #E8EAED;
    border-right: 3px solid var(--sp-primary);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.25s ease;
}

    .sp-detail-specs-item:hover {
        background: #eff6ff;
        border-color: #93c5fd;
        border-right-color: var(--sp-primary-dark);
        transform: translateY(-1px);
    }

.sp-detail-specs-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    padding: 4px;
    color: var(--sp-primary);
    background: rgba(30, 136, 229, 0.08);
    border-radius: 6px;
}

.sp-detail-specs-text {
    color: #0f172a !important;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.7;
}

/* ==========================================
   Description
   ========================================== */

.sp-detail-desc {
    width: 100%;
    padding: 16px 20px 20px;
    margin-bottom: 18px;
    background: #fff;
    border: 1px solid #e6eef6;
    border-radius: var(--sp-radius);
    box-shadow: 0 4px 16px rgba(21, 101, 192, 0.05);
}

.sp-detail-desc-title {
    margin-bottom: 10px;
    color: var(--sp-text);
    font-size: 20px;
    font-weight: 800;
}

.sp-detail-desc-text {
    color: var(--sp-text-secondary);
    font-size: 16px;
    font-weight: 700;
    line-height: 2;
    white-space: pre-wrap;
    word-break: break-word;
}

/* ==========================================
   Safety & Share
   ========================================== */

.sp-detail-actions {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dbeafe;
    border-radius: var(--sp-radius);
    box-shadow: 0 8px 24px rgba(21, 101, 192, 0.05);
}

.sp-detail-safety,
.sp-detail-share {
    width: 100%;
    background: transparent;
    border: none;
    border-radius: 0;
}

.sp-detail-safety {
    overflow: hidden;
}

.sp-detail-safety-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    cursor: pointer;
    user-select: none;
    background: linear-gradient(180deg, #f7fbff 0%, #fff 100%);
    transition: var(--sp-transition);
}

    .sp-detail-safety-header:hover {
        background: #f3f8ff;
    }

.sp-detail-safety-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0f2744;
    font-size: 15px;
    font-weight: 700;
}

    .sp-detail-safety-title svg {
        color: var(--sp-primary);
    }

.sp-detail-safety-arrow {
    flex-shrink: 0;
    color: var(--sp-text-secondary);
    transition: transform 0.3s ease;
}

    .sp-detail-safety-arrow.rotated {
        transform: rotate(180deg);
    }

.sp-detail-safety-body {
    max-height: 0;
    padding: 0 18px;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

    .sp-detail-safety-body.open {
        max-height: 400px;
        padding: 0 18px 14px;
    }

    .sp-detail-safety-body ul {
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .sp-detail-safety-body li {
        position: relative;
        padding: 8px 16px 8px 0;
        color: #475569;
        border-bottom: 1px solid #eef4fb;
        font-size: 13px;
        line-height: 1.7;
    }

        .sp-detail-safety-body li:last-child {
            border-bottom: none;
        }

        .sp-detail-safety-body li::before {
            content: "";
            position: absolute;
            top: 16px;
            right: 0;
            width: 6px;
            height: 6px;
            background: var(--sp-primary);
            border-radius: 50%;
        }

.sp-detail-share {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 16px 12px;
    background: #fbfdff;
    border-top: 1px solid #e8f1fb;
}

.sp-detail-report-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    padding: 8px 16px;
    color: #5c6b7a;
    background: transparent;
    border: 1px solid #d6e4f0;
    border-radius: 999px;
    cursor: pointer;
    font-family: 'Shabnam', 'vazir','IranSans';
    font-size: 13px;
    font-weight: 600;
    transition: var(--sp-transition);
    box-shadow: none;
}

    .sp-detail-report-btn:hover {
        color: var(--sp-primary-dark);
        background: var(--sp-primary-light);
        border-color: #90caf9;
        transform: none;
        box-shadow: none;
    }

    .sp-detail-report-btn svg {
        flex-shrink: 0;
    }

/* ==========================================
   Sticky Contact Bar - فقط نمایش شماره تماس
   ========================================== */

.sp-detail-sticky-bar {
    position: fixed;
    z-index: 1000;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px;
    background: #fff;
    border-top: 1px solid var(--sp-border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.sp-detail-sticky-price {
    flex-shrink: 0;
    color: var(--sp-primary);
    font-size: 15px;
    font-weight: 800;
}

.sp-detail-sticky-call,
.sp-detail-sticky-login,
.sp-detail-contact-btn {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 320px;
    min-height: 48px;
    padding: 12px 24px;
    color: #fff;
    background: linear-gradient(180deg, #1E88E5 0%, #1565C0 100%);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    font-family: 'Shabnam', 'vazir','IranSans';
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(21, 101, 192, 0.24);
    transition: all 0.25s ease;
}

    .sp-detail-sticky-call:hover,
    .sp-detail-sticky-login:hover,
    .sp-detail-contact-btn:hover {
        color: #fff;
        background: linear-gradient(180deg, #1976D2 0%, #0D47A1 100%);
        transform: translateY(-1px);
        box-shadow: 0 8px 20px rgba(21, 101, 192, 0.3);
        text-decoration: none;
    }

.sp-detail-sticky-call svg,
.sp-detail-sticky-login svg,
.sp-detail-contact-btn svg {
    flex-shrink: 0;
}

.sp-detail-phone-loading,
.sp-detail-phone-loading:hover {
    cursor: wait;
    pointer-events: none;
    transform: none;
    opacity: 0.85;
    font-size: clamp(12px, 3.5vw, 15px);
}

.sp-detail-phone-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    box-sizing: border-box;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: currentColor;
    border-radius: 50%;
    animation: sp-detail-phone-spin 0.75s linear infinite;
}

@keyframes sp-detail-phone-spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .sp-detail-phone-spinner {
        animation: none;
    }
}

.sp-detail-sticky-call--active,
.sp-detail-sticky-call--active:hover {
    background: linear-gradient(180deg, #1E88E5 0%, #1565C0 100%);
    box-shadow: 0 6px 16px rgba(21, 101, 192, 0.24);
}

    .sp-detail-sticky-call--active:hover {
        background: linear-gradient(180deg, #1976D2 0%, #0D47A1 100%);
    }

.sp-detail-contact {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
}

.sp-detail-contact-btn {
    flex: none;
    width: 100%;
    max-width: none;
}

.sp-detail-contact .sp-detail-sticky-call,
.sp-detail-contact .sp-detail-phone-display,
.sp-detail-contact .sp-detail-phone-display--sticky {
    flex: none;
    width: 100%;
    max-width: none;
}

.sp-detail-sticky-bar--solo {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px 12px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid #dbeafe;
    box-shadow: 0 -8px 24px rgba(21, 101, 192, 0.08);
    backdrop-filter: blur(10px);
}

.sp-detail-sticky-bar--solo .sp-detail-sticky-call,
.sp-detail-sticky-bar--solo .sp-detail-sticky-login,
.sp-detail-sticky-bar--solo .sp-detail-phone-display,
.sp-detail-sticky-bar--solo .sp-detail-phone-display--sticky {
    flex: none;
    width: 100%;
    max-width: none;
    min-height: 48px;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 15px;
}

.sp-detail-sticky-bar--solo .sp-detail-phone-display,
.sp-detail-sticky-bar--solo .sp-detail-phone-display--sticky {
    padding: 12px 14px;
    font-size: 18px;
}

.sp-detail-sticky-bar--solo .sp-detail-copy-btn {
    padding: 6px 12px;
    font-size: 12px;
}

/* نمایش شماره تماس */
.sp-detail-phone-display,
.sp-detail-phone-display--sticky {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    direction: ltr;
    color: #0d47a1;
    background: linear-gradient(180deg, #ffffff 0%, #f3f9ff 100%);
    border: 1px solid #bbdefb;
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 2px rgba(21, 101, 192, 0.06);
    font-family: 'Shabnam', 'vazir','IranSans';
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.2px;
    animation: fadeSlideIn 0.4s ease-out;
}

    .sp-detail-phone-display span,
    .sp-detail-phone-display--sticky span {
        direction: ltr;
        unicode-bidi: embed;
    }

    .sp-detail-phone-display .sp-detail-copy-btn,
    .sp-detail-phone-display--sticky .sp-detail-copy-btn {
        display: flex;
        align-items: center;
        gap: 4px;
        padding: 6px 12px;
        color: var(--sp-primary-dark);
        background: #fff;
        border: 1px solid #90caf9;
        border-radius: 10px;
        cursor: pointer;
        font-family: 'Shabnam', 'vazir','IranSans';
        font-size: 12px;
        font-weight: 700;
        transition: all 0.2s ease;
    }

        .sp-detail-phone-display .sp-detail-copy-btn:hover,
        .sp-detail-phone-display--sticky .sp-detail-copy-btn:hover {
            color: #fff;
            background: var(--sp-primary);
            border-color: var(--sp-primary);
            transform: none;
        }

.sp-detail-remaining {
    width: 100%;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

/* ==========================================
   Image Modal / Lightbox
   ========================================== */

.sp-modal-overlay {
    position: fixed;
    z-index: 99999;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

    .sp-modal-overlay.active {
        display: flex;
        animation: sp-fade-in 0.25s ease;
    }

@keyframes sp-fade-in {
    from {
        opacity: 0;
        transform: scale(0.98);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.sp-modal-lightbox {
    position: relative;
    width: 100%;
    max-width: 92vw;
    max-height: 85vh;
    border-radius: var(--sp-radius);
    overflow: hidden;
    background: #1a1a1a;
}

    .sp-modal-lightbox .swiper-slide {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 300px;
    }

        .sp-modal-lightbox .swiper-slide img {
            max-width: 100%;
            max-height: 75vh;
            object-fit: contain !important;
        }

    .sp-modal-lightbox .swiper-button-next,
    .sp-modal-lightbox .swiper-button-prev {
        width: 40px;
        height: 40px;
        color: #fff;
        background: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        backdrop-filter: blur(8px);
    }

        .sp-modal-lightbox .swiper-button-next::after,
        .sp-modal-lightbox .swiper-button-prev::after {
            font-size: 16px;
        }

/* دکمه بستن مودال - در پایین */
.sp-modal-close-btn {
    position: absolute;
    bottom: -52px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 28px;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Shabnam', 'vazir','IranSans';
    font-size: 14px;
    font-weight: 600;
    transition: var(--sp-transition);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    white-space: nowrap;
}

    .sp-modal-close-btn:hover {
        background: var(--sp-danger);
        border-color: var(--sp-danger);
        transform: translateX(-50%) scale(1.05);
    }

    .sp-modal-close-btn svg {
        width: 16px;
        height: 16px;
    }

/* ==========================================
   Share Modal
   ========================================== */

.sp-share-modal-container {
    position: relative;
    width: 92%;
    max-width: 400px;
    padding: 24px;
    direction: rtl;
    text-align: center;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
    animation: spModalIn 0.25s ease;
}

@keyframes spModalIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.sp-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.sp-share-modal-title {
    margin: 0;
    color: var(--sp-text);
    font-size: 18px;
    font-weight: 700;
}

.sp-modal-close-icon {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #666;
    transition: color 0.2s;
}

    .sp-modal-close-icon:hover {
        color: #1a1a1a;
    }

.sp-share-modal-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sp-share-link {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 14px 18px;
    color: #1a1a1a;
    background: #f5f7fa;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-family: 'Shabnam', 'vazir','IranSans';
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

    .sp-share-link:hover {
        color: var(--sp-primary);
        background: #eef1f5;
        transform: translateX(4px);
        text-decoration: none;
    }

    .sp-share-link svg {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
    }

    .sp-share-link img {
        width: 24px;
        height: 24px;
    }

/* ==========================================
   Report Modal
   ========================================== */

.sp-report-modal-container {
    position: relative;
    width: 92%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 28px 24px 24px;
    direction: rtl;
    text-align: right;
    background: #fff;
    border-radius: var(--sp-radius);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.15);
    animation: spModalIn 0.25s ease;
}

.sp-report-modal-title {
    margin: 0 0 4px;
    color: var(--sp-text);
    font-size: 20px;
    font-weight: 800;
}

.sp-report-modal-subtitle {
    margin: 0;
    color: var(--sp-text-secondary);
    font-size: 14px;
}

.sp-report-reasons {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 18px 0;
}

.sp-report-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #F8FAFC;
    border: 2px solid #E8EAED;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
}

    .sp-report-option:hover {
        background: #F1F5F9;
        border-color: #CBD5E1;
    }

    .sp-report-option input[type="radio"] {
        flex-shrink: 0;
        width: 18px;
        height: 18px;
        margin: 0;
        cursor: pointer;
        accent-color: var(--sp-primary);
    }

    .sp-report-option:has(input:checked) {
        background: #EFF6FF;
        border-color: var(--sp-primary);
        box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.15);
    }

.sp-report-option-icon {
    flex-shrink: 0;
    font-size: 20px;
    line-height: 1;
}

.sp-report-option-text {
    color: var(--sp-text);
    font-size: 15px;
    font-weight: 500;
}

.sp-report-description {
    margin-bottom: 4px;
}

    .sp-report-description label {
        display: block;
        margin-bottom: 6px;
        color: var(--sp-text);
        font-size: 14px;
        font-weight: 600;
    }

.sp-report-required {
    color: var(--sp-danger);
    font-weight: 400;
    font-size: 12px;
}

.sp-report-description textarea {
    width: 100%;
    min-height: 80px;
    padding: 10px 14px;
    color: var(--sp-text);
    background: #F8FAFC;
    border: 2px solid #E8EAED;
    border-radius: 10px;
    font-family: 'Shabnam', 'vazir','IranSans';
    font-size: 14px;
    resize: vertical;
    transition: var(--sp-transition);
}

    .sp-report-description textarea:focus {
        outline: none;
        border-color: var(--sp-primary);
        box-shadow: 0 0 0 4px rgba(30, 136, 229, 0.1);
        background: #fff;
    }

.sp-report-char-counter {
    margin-top: 4px;
    color: var(--sp-text-light);
    font-size: 12px;
    text-align: left;
    direction: ltr;
}

    .sp-report-char-counter span {
        color: var(--sp-text-secondary);
        font-weight: 600;
    }

.sp-report-footer-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}

.sp-report-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 24px;
    color: #fff;
    background: var(--sp-primary);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Shabnam', 'vazir','IranSans';
    font-size: 15px;
    font-weight: 700;
    transition: var(--sp-transition);
}

    .sp-report-submit-btn:hover:not(:disabled) {
        background: #C62828;
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(229, 57, 53, 0.35);
    }

    .sp-report-submit-btn:disabled {
        opacity: 0.7;
        cursor: not-allowed;
    }

    .sp-report-submit-btn svg {
        flex-shrink: 0;
    }

/* دکمه بستن فوتر در مودال‌ها */
.sp-modal-close-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    margin-top: 16px;
    color: #fff;
    background: #6B7280;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Shabnam', 'vazir','IranSans';
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .sp-modal-close-footer:hover {
        background: #DC2626;
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(220, 38, 38, 0.3);
    }

    .sp-modal-close-footer:active {
        transform: scale(0.98);
    }

    .sp-modal-close-footer svg {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }

/* ==========================================
   Toast
   ========================================== */

.sp-toast {
    position: fixed;
    z-index: 99999;
    bottom: 90px;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 90%;
    padding: 12px 24px;
    color: #fff;
    background: #1a1a1a;
    border-radius: 50px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
    font-family: 'Shabnam', 'vazir','IranSans';
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(80px);
    transition: all 0.4s ease;
}

    .sp-toast.show {
        opacity: 1;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }

    .sp-toast.warning {
        background: #ff9800;
    }

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   Related Ads
   ========================================== */

.sp-detail-related {
    width: 100%;
    box-sizing: border-box;
    margin-top: 32px;
    padding: 24px;
    border: 1px solid #dbe7f3;
    border-radius: 20px;
    background: linear-gradient(180deg, #f0f7ff 0, #fff 160px);
    box-shadow: 0 8px 28px rgba(21, 101, 192, 0.05);
}

.sp-detail-related-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid #dbe7f3;
}

.sp-detail-related-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    border: 1px solid #d1e6fb;
    border-radius: 15px;
    color: var(--sp-primary-dark);
    background: #fff;
}

.sp-detail-related-heading {
    min-width: 0;
}

.sp-detail-related-title {
    margin: 0;
    color: var(--sp-text);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.6;
}

.sp-detail-related-subtitle {
    margin: 4px 0 0;
    color: var(--sp-text-secondary);
    font-size: 13px;
    line-height: 1.9;
}

@media (max-width: 600px) {
    .sp-detail-related {
        margin-top: 24px;
        padding: 16px 10px;
        border-radius: 16px;
    }

    .sp-detail-related-header {
        gap: 10px;
        margin-bottom: 16px;
        padding-bottom: 14px;
    }

    .sp-detail-related-icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .sp-detail-related-subtitle {
        font-size: 12px;
    }
}

.sp-ad-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.sp-detail-related-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 112px;
    max-height: none;
    height: auto;
    overflow: hidden;
    color: inherit;
    background: #fff;
    border: 1px solid #E6E8EC;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

    .sp-detail-related-card:hover {
        color: inherit;
        border-color: #CBD5E1;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
        text-decoration: none;
    }

    .sp-detail-related-card .sp-ad-image {
        align-self: stretch;
        width: 140px;
        min-width: 140px;
        max-width: 140px;
        height: auto;
        min-height: 0;
        aspect-ratio: auto;
        margin: 6px;
        position: relative;
        flex-shrink: 0;
        border-radius: 14px;
        overflow: hidden;
        background: #E8ECF1;
    }

        .sp-detail-related-card .sp-ad-image img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }

    .sp-detail-related-card:hover .sp-ad-image img {
        transform: scale(1.05);
    }

    .sp-detail-related-card .sp-ad-body {
        display: flex;
        flex: 1;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        min-width: 0;
        padding: 12px 12px 12px 4px;
        justify-content: center;
    }

    .sp-detail-related-card .sp-ad-title {
        display: -webkit-box;
        overflow: hidden;
        min-height: 0;
        margin: 0;
        color: #111111;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        font-size: 18px;
        font-weight: 800;
        line-height: 1.35;
        transition: color 0.2s ease;
        width: 100%;
    }

    .sp-detail-related-card:hover .sp-ad-title {
        color: var(--sp-primary);
    }

    .sp-detail-related-card .sp-ad-meta-row {
        margin-top: 0;
    }

    .sp-detail-related-card .sp-ad-meta-tag {
        display: inline-flex;
        align-items: center;
        gap: 3px;
        padding: 2px 8px;
        color: #64748B;
        background: #F8FAFC;
        border: 1px solid var(--sp-border);
        border-radius: 50px;
        font-size: 12px;
        font-weight: 500;
    }

    .sp-detail-related-card .sp-ad-specs-mini {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        margin-top: 0;
    }

    .sp-detail-related-card .sp-ad-spec-tag {
        display: inline-flex;
        align-items: center;
        gap: 3px;
        padding: 1px 8px;
        background: #F1F5F9;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 600;
        color: #475569;
    }

        .sp-detail-related-card .sp-ad-spec-tag svg {
            width: 11px;
            height: 11px;
        }

    .sp-detail-related-card .sp-ad-spec-brand {
        color: var(--sp-primary);
        background: #EFF6FF;
    }

    .sp-detail-related-card .sp-ad-spec-size {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        width: fit-content;
        max-width: 100%;
        margin: 0;
        padding: 5px 12px;
        color: #5B21B6;
        background: #F5F3FF;
        border: 1px solid #DDD6FE;
        border-radius: 999px;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
        font-size: 16px;
        font-weight: 800;
        line-height: 1.3;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

        .sp-detail-related-card .sp-ad-spec-size svg {
            width: 15px;
            height: 15px;
            color: #7C3AED;
        }

    .sp-detail-related-card .sp-ad-price-row {
        padding-top: 0;
        margin-top: 0;
        border-top: none;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .sp-detail-related-card .sp-ad-price {
        display: flex;
        align-items: baseline;
        gap: 4px;
    }

    .sp-detail-related-card .sp-price-amount {
        color: var(--sp-primary);
        font-size: 15px;
        font-weight: 800;
    }

    .sp-detail-related-card .sp-price-currency {
        color: var(--sp-text-secondary);
        font-size: 10px;
        font-weight: 500;
    }

    .sp-detail-related-card .sp-price-negotiable {
        color: #1565C0;
        background: #E3F2FD;
        padding: 1px 10px;
        border-radius: 50px;
        font-size: 11px;
        font-weight: 700;
    }

    .sp-detail-related-card .sp-price-none {
        color: var(--sp-text-light);
        font-size: 12px;
    }

/* ==========================================
   Responsive
   ========================================== */

@media (min-width: 769px) {
    .sp-detail-page {
        padding-bottom: 0;
    }
}

@media (max-width: 1024px) {
    .sp-container {
        padding: 16px 16px 30px;
    }

    .sp-detail-main {
        grid-template-columns: 1fr;
        max-height: none;
    }

    .sp-detail-image-col {
        min-height: 320px;
        aspect-ratio: 16 / 9;
        border-bottom: 1px solid var(--sp-border-light);
        border-left: none;
    }

    .sp-detail-info-col {
        max-height: none;
        padding: 16px 18px 20px;
        overflow-y: visible;
    }

    .sp-detail-title {
        font-size: 24px;
    }

    .sp-detail-price-value {
        font-size: 28px;
    }

    .sp-detail-image-actions {
        top: 10px;
        left: 10px;
        gap: 8px;
    }

    .sp-detail-img-action-btn {
        width: 40px;
        height: 40px;
    }

        .sp-detail-img-action-btn svg {
            width: 18px;
            height: 18px;
        }

    .sp-ad-related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .sp-detail-related-card {
        min-height: 112px;
        max-height: none;
    }

        .sp-detail-related-card .sp-ad-image {
            align-self: stretch;
            width: 128px;
            min-width: 128px;
            max-width: 128px;
            height: auto;
            min-height: 0;
            aspect-ratio: auto;
            margin: 6px;
        }

        .sp-detail-related-card .sp-ad-title {
            font-size: 17px;
            min-height: 0;
        }
}

@media (max-width: 768px) {
    .sp-container {
        padding: 8px 10px 20px;
    }

    .sp-detail-main {
        border-radius: var(--sp-radius-sm);
    }

    .sp-detail-image-col {
        min-height: 260px;
        aspect-ratio: 4 / 3;
    }

    .sp-detail-slider .swiper-slide img {
        height: 100%;
    }

    .sp-detail-info-col {
        gap: 10px;
        padding: 14px 16px 18px;
    }

    .sp-detail-title {
        font-size: 22px;
    }

    .sp-detail-price-value {
        font-size: 26px;
    }

    .sp-detail-grid {
        gap: 6px;
    }

    .sp-detail-actions {
        gap: 0;
    }

    .sp-detail-contact {
        display: none;
    }

    .sp-detail-image-actions {
        top: 8px;
        left: 8px;
        gap: 6px;
    }

    .sp-detail-img-action-btn {
        width: 38px;
        height: 38px;
    }

        .sp-detail-img-action-btn svg {
            width: 16px;
            height: 16px;
        }

    .sp-detail-sticky-bar {
        display: flex;
    }

    .sp-detail-sticky-call,
    .sp-detail-sticky-login {
        padding: 10px 18px;
        font-size: 13px;
    }

    .sp-detail-phone-display--sticky {
        font-size: 16px;
        padding: 8px 12px;
    }

    .sp-ad-related-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .sp-detail-related-card {
        min-height: 112px;
        max-height: none;
        border-radius: 8px;
    }

        .sp-detail-related-card .sp-ad-image {
            align-self: stretch;
            width: 124px;
            min-width: 124px;
            max-width: 124px;
            height: auto;
            min-height: 0;
            aspect-ratio: auto;
            margin: 6px;
        }

        .sp-detail-related-card .sp-ad-body {
            padding: 12px 14px 12px 4px;
            gap: 8px;
        }

        .sp-detail-related-card .sp-ad-title {
            font-size: 18px;
            min-height: 0;
            line-height: 1.35;
            -webkit-line-clamp: 2;
        }

        .sp-detail-related-card .sp-ad-spec-size {
            font-size: 16px;
        }

        .sp-detail-related-card .sp-ad-meta-tag {
            font-size: 10px;
            padding: 1px 8px;
        }

        .sp-detail-related-card .sp-price-amount {
            font-size: 14px;
        }

    .sp-modal-overlay {
        padding: 16px;
    }

    .sp-modal-lightbox {
        max-width: 98vw;
        max-height: 80vh;
    }

        .sp-modal-lightbox .swiper-button-next,
        .sp-modal-lightbox .swiper-button-prev {
            width: 32px;
            height: 32px;
        }

    .sp-modal-close-btn {
        bottom: -48px;
        padding: 8px 20px;
        font-size: 13px;
    }

    .sp-share-modal-container {
        width: 96%;
        padding: 22px 18px 18px;
    }

    .sp-report-modal-container {
        width: 96%;
        max-width: 500px;
        padding: 22px 18px 18px;
    }

    .sp-report-modal-title {
        font-size: 18px;
    }

    .sp-report-option {
        padding: 9px 12px;
        gap: 10px;
    }

    .sp-report-footer-buttons {
        gap: 8px;
    }

    .sp-report-submit-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .sp-modal-close-footer {
        padding: 10px 16px;
        font-size: 14px;
        border-radius: 8px;
    }

    .sp-detail-desc-title {
        font-size: 18px;
    }

    .sp-detail-related-title {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .sp-container {
        padding: 6px 6px 14px;
    }

    .sp-detail-title {
        font-size: 18px;
    }

    .sp-detail-price-value {
        font-size: 22px;
    }

    .sp-detail-image-actions {
        top: 6px;
        left: 6px;
        gap: 5px;
    }

    .sp-detail-img-action-btn {
        width: 34px;
        height: 34px;
    }

        .sp-detail-img-action-btn svg {
            width: 15px;
            height: 15px;
        }

    .sp-detail-sticky-call,
    .sp-detail-sticky-login {
        padding: 10px 16px;
        font-size: 12px;
        gap: 6px;
    }

        .sp-detail-sticky-call svg,
        .sp-detail-sticky-login svg {
            width: 15px;
            height: 15px;
        }

    .sp-detail-phone-display--sticky {
        font-size: 14px;
        padding: 8px 10px;
    }

        .sp-detail-phone-display--sticky .sp-detail-copy-btn {
            padding: 4px 8px;
            font-size: 11px;
        }

    .sp-detail-specs {
        padding: 12px 14px;
    }

    .sp-detail-specs-grid {
        flex-direction: column;
        gap: 8px;
    }

    .sp-detail-specs-item {
        justify-content: space-between;
        width: 100%;
        padding: 8px 12px;
        font-size: 14px;
    }

        .sp-detail-specs-item .sp-detail-specs-icon {
            display: none !important;
        }

        .sp-detail-specs-item::before {
            content: attr(data-label);
            font-size: 14px;
            font-weight: 700;
            color: var(--sp-text-secondary);
            flex-shrink: 0;
        }

        .sp-detail-specs-item .sp-detail-specs-text {
            font-size: 14px;
            font-weight: 600;
            text-align: left;
            direction: ltr;
            unicode-bidi: embed;
            flex-shrink: 0;
        }

    .sp-detail-desc-title {
        font-size: 16px;
    }

    .sp-detail-related-title {
        font-size: 16px;
    }

    .sp-detail-related-grid {
        gap: 10px;
    }

    .sp-detail-related-card {
        min-height: 108px;
        max-height: none;
        border-radius: 8px;
    }

        .sp-detail-related-card .sp-ad-image {
            align-self: stretch;
            width: 112px;
            min-width: 112px;
            max-width: 112px;
            height: auto;
            min-height: 0;
            aspect-ratio: auto;
            margin: 6px;
            border-radius: 12px;
        }

        .sp-detail-related-card .sp-ad-body {
            padding: 10px 10px 10px 4px;
            gap: 8px;
        }

        .sp-detail-related-card .sp-ad-title {
            font-size: 17px;
            min-height: 0;
            line-height: 1.35;
            -webkit-line-clamp: 2;
        }

        .sp-detail-related-card .sp-ad-spec-size {
            font-size: 15px;
        }

        .sp-detail-related-card .sp-ad-specs-mini {
            gap: 3px;
        }

        .sp-detail-related-card .sp-ad-spec-tag:not(.sp-ad-spec-size) {
            font-size: 12px;
            padding: 1px 8px;
        }

            .sp-detail-related-card .sp-ad-spec-tag svg {
                width: 11px;
                height: 11px;
            }

        .sp-detail-related-card .sp-price-amount {
            font-size: 13px;
        }

    .sp-modal-overlay {
        padding: 12px;
    }

    .sp-modal-lightbox {
        max-width: 100vw;
        border-radius: var(--sp-radius-sm);
    }

    .sp-modal-close-btn {
        bottom: -44px;
        padding: 6px 16px;
        font-size: 12px;
        gap: 6px;
    }

        .sp-modal-close-btn svg {
            width: 14px;
            height: 14px;
        }

    .sp-share-modal-container {
        width: 98%;
        padding: 18px 14px 16px;
        border-radius: var(--sp-radius-sm);
    }

    .sp-share-modal-title {
        font-size: 16px;
        margin-bottom: 14px;
    }

    .sp-share-link {
        font-size: 14px;
        padding: 10px 14px;
        min-height: 44px;
    }

        .sp-share-link svg,
        .sp-share-link img {
            width: 20px;
            height: 20px;
        }

    .sp-report-modal-container {
        width: 98%;
        max-width: 100%;
        padding: 18px 14px 16px;
        max-height: 92vh;
        border-radius: var(--sp-radius-sm);
    }

    .sp-report-modal-title {
        font-size: 16px;
    }

    .sp-report-modal-subtitle {
        font-size: 12px;
        margin-bottom: 14px;
    }

    .sp-report-reasons {
        gap: 4px;
        margin-bottom: 14px;
    }

    .sp-report-option {
        padding: 7px 10px;
        gap: 8px;
        border-radius: 8px;
    }

        .sp-report-option input[type="radio"] {
            width: 16px;
            height: 16px;
        }

    .sp-report-option-text {
        font-size: 13px;
    }

    .sp-report-option-icon {
        font-size: 16px;
    }

    .sp-report-description {
        margin-bottom: 14px;
    }

        .sp-report-description label {
            font-size: 13px;
        }

        .sp-report-description textarea {
            font-size: 13px;
            padding: 8px 12px;
            border-radius: 8px;
        }

    .sp-report-footer-buttons {
        gap: 8px;
    }

    .sp-report-submit-btn {
        font-size: 13px;
        padding: 10px 16px;
        border-radius: 8px;
    }

    .sp-report-char-counter {
        font-size: 11px;
    }

    .sp-modal-close-footer {
        padding: 8px 14px;
        font-size: 13px;
        border-radius: 8px;
    }

        .sp-modal-close-footer svg {
            width: 14px;
            height: 14px;
        }
}

@media (max-width: 380px) {
    .sp-detail-related-grid {
        gap: 8px;
    }

    .sp-detail-related-card {
        min-height: 108px;
        max-height: none;
        border-radius: 8px;
    }

        .sp-detail-related-card .sp-ad-image {
            align-self: stretch;
            width: 112px;
            min-width: 112px;
            max-width: 112px;
            height: auto;
            min-height: 0;
            aspect-ratio: auto;
            margin: 6px;
            border-radius: 12px;
        }

        .sp-detail-related-card .sp-ad-body {
            padding: 10px 10px 10px 4px;
            gap: 8px;
        }

        .sp-detail-related-card .sp-ad-title {
            font-size: 16px;
            min-height: 0;
            line-height: 1.35;
            -webkit-line-clamp: 2;
        }

        .sp-detail-related-card .sp-ad-specs-mini {
            display: flex;
        }

        .sp-detail-related-card .sp-ad-spec-size {
            font-size: 15px;
        }

        .sp-detail-related-card .sp-price-amount {
            font-size: 12px;
        }

    .sp-modal-overlay {
        padding: 8px;
    }

    .sp-modal-close-btn {
        bottom: -40px;
        padding: 5px 14px;
        font-size: 11px;
        gap: 4px;
    }

        .sp-modal-close-btn svg {
            width: 12px;
            height: 12px;
        }

    .sp-share-modal-container {
        padding: 14px 10px 12px;
    }

    .sp-share-modal-title {
        font-size: 14px;
    }

    .sp-share-link {
        font-size: 12px;
        padding: 8px 12px;
        min-height: 38px;
        gap: 10px;
    }

        .sp-share-link svg,
        .sp-share-link img {
            width: 18px;
            height: 18px;
        }

    .sp-report-modal-container {
        padding: 14px 10px 12px;
        max-height: 95vh;
    }

    .sp-report-modal-title {
        font-size: 14px;
    }

    .sp-report-modal-subtitle {
        font-size: 11px;
        margin-bottom: 10px;
    }

    .sp-report-reasons {
        gap: 3px;
        margin-bottom: 10px;
    }

    .sp-report-option {
        padding: 5px 8px;
        gap: 6px;
        border-radius: 6px;
        border-width: 1.5px;
    }

        .sp-report-option input[type="radio"] {
            width: 14px;
            height: 14px;
        }

    .sp-report-option-text {
        font-size: 12px;
    }

    .sp-report-option-icon {
        font-size: 14px;
    }

    .sp-report-description {
        margin-bottom: 10px;
    }

        .sp-report-description label {
            font-size: 12px;
        }

        .sp-report-description textarea {
            font-size: 12px;
            padding: 6px 10px;
            border-radius: 6px;
            min-height: 60px;
        }

    .sp-report-footer-buttons {
        gap: 6px;
    }

    .sp-report-submit-btn {
        font-size: 12px;
        padding: 8px 14px;
        border-radius: 6px;
        gap: 6px;
    }

        .sp-report-submit-btn svg {
            width: 14px;
            height: 14px;
        }

    .sp-report-char-counter {
        font-size: 10px;
    }

    .sp-modal-close-footer {
        padding: 6px 12px;
        font-size: 12px;
        border-radius: 6px;
    }

        .sp-modal-close-footer svg {
            width: 12px;
            height: 12px;
        }
}

/* Spinner و Badge (اختیاری - استفاده در آینده) */
.sp-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #1a73e8;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.sp-badge {
    background: #ff6b6b;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    margin-right: 8px;
}
