/* ریست و تنظیمات پایه */
.ad-user-dashboard-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    direction: rtl;
    
}

/* ========== هدر داشبورد - ریسپانسیو ========== */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
}

.header-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-title i {
    font-size: 28px;
    color: #4361ee;
}

.header-title h2 {
    margin: 0;
    font-size: 24px;
    color: #2d3748;
}

/* استایل‌های تصویر کاربر در هدر */
.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f8f9fa;
    padding: 8px 20px;
    border-radius: 50px;
    flex-wrap: wrap;
     border-right: 5px solid #ce1a74;
}

.user-profile-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
  
}

.user-avatar-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #4361ee;
    background: #fff;
}

.user-avatar-icon {
    font-size: 42px;
    color: #4361ee;
}

.user-details {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.user-name {
    font-weight: 600;
    color: #2d3748;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-email {
    font-size: 11px;
    color: #6c757d;
    direction: ltr;
    display: inline-block;
}

.plans-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 15px;
    background: #063377;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.plans-link:hover {
    background: #3a56d4;
    color: white;
    transform: translateY(-2px);
}

/* هدر در موبایل */
@media (max-width: 768px) {

    .dashboard-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .user-info {
        width: 100%;
        padding: 15px;
        border-radius: 20px;
        justify-content: center;
        flex-wrap: nowrap;
    }

    .user-profile-wrapper {
        width: 100%;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 10px;
    }

    .user-avatar-img {
        width: 70px;
        height: 70px;
    }

    .user-details {
        align-items: center;
    }

    .user-name {
        font-size: 14px;
        justify-content: center;
    }

    .user-email {
        font-size: 12px;
        text-align: center;
    }

    .plans-link {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .user-info {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .header-title i {
        font-size: 22px;
    }
    
    .header-title h2 {
        font-size: 18px;
    }
}

/* کارت وضعیت پلان */
.plan-status-card {
    background: linear-gradient(100deg, #a54416 0%, #0f1657 70%);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.plan-status-card.inactive {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.plan-status-icon i {
    font-size: 48px;
}

.plan-status-info {
    flex: 1;
}

.plan-status-info h4 {
    margin: 0 0 10px 0;
    font-size: 20px;
}

.plan-details {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 15px;
    font-size: 14px;
}

.quota-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.quota-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
}

@media (max-width: 768px) {
    .plan-status-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .plan-status-icon i {
        font-size: 40px;
    }
    
    .plan-status-info h4 {
        font-size: 18px;
    }
    
    .plan-details {
        justify-content: center;
        gap: 12px;
    }
    
    .quota-badges {
        justify-content: center;
    }
    
    .quota-badge {
        font-size: 11px;
        padding: 4px 10px;
    }
}

/* ========== بخش آمار و گزارشات ========== */
.stats-section {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
     border-right: 5px solid #ce1a74;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.section-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.2rem;
}

.section-header h3 i {
    color: #0073aa;
    margin-left: 8px;
}

.refresh-stats-btn {
    background: #f0f0f0;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.refresh-stats-btn:hover {
    background: #0073aa;
    color: white;
    transform: rotate(180deg);
}

/* کارت‌های آماری - آیکون بالا، متن پایین در موبایل */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.stat-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.stat-card .stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(0,115,170,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-card .stat-icon i {
    font-size: 24px;
}

.stat-card .stat-info {
    flex: 1;
}

.stat-card .stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    line-height: 1.2;
}

.stat-card .stat-label {
    font-size: 0.85rem;
    color: #666;
}

/* حالت موبایل برای کارت‌های آمار - آیکون بالا، متن پایین */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
        padding: 5px 5px;
        gap: 5px;
    }
    
    .stat-card .stat-icon {
        width: 55px;
        height: 55px;
    }
    
    .stat-card .stat-icon i {
        font-size: 26px;
    }
    
    .stat-card .stat-value {
        font-size: 1.4rem;
    }
    
    .stat-card .stat-label {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .stat-card {
        padding: 12px 8px;
    }
    
    .stat-card .stat-icon {
        width: 45px;
        height: 45px;
    }
    
    .stat-card .stat-icon i {
        font-size: 22px;
    }
    
    .stat-card .stat-value {
        font-size: 1.2rem;
    }
    
    .stat-card .stat-label {
        font-size: 0.7rem;
    }
}

/* رنگ‌های کارت‌های آمار */
.stat-card.primary .stat-icon i { color: #0073aa; }
.stat-card.success .stat-icon i { color: #46b450; }
.stat-card.warning .stat-icon i { color: #ffb900; }
.stat-card.danger .stat-icon i { color: #dc3232; }
.stat-card.info .stat-icon i { color: #00a0d2; }
.stat-card.purple .stat-icon i { color: #826eb4; }
.stat-card.teal .stat-icon i { color: #008080; }
.stat-card.orange .stat-icon i { color: #f39c12; }

.chart-container {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
    margin-top: 15px;
     border-right: 5px solid #ce1a74;
}

.chart-container canvas {
    max-height: 250px;
    width: 100%;
}

/* استایل‌های انتخابگر نوع نمودار */
.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.chart-type-selector {
    display: flex;
    gap: 8px;
    background: #f0f0f0;
    padding: 4px;
    border-radius: 30px;
}

.chart-type-btn {
    background: transparent;
    border: none;
    padding: 8px 14px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    color: #666;
}

.chart-type-btn i {
    font-size: 1.1rem;
}

.chart-type-btn.active {
    background: #0073aa;
    color: white;
    box-shadow: 0 2px 6px rgba(0,115,170,0.3);
}

.chart-type-btn:hover:not(.active) {
    background: #e0e0e0;
    color: #0073aa;
}

/* بهبود نمایش در موبایل */
@media (max-width: 480px) {
    .chart-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .chart-type-selector {
        width: 100%;
        justify-content: center;
    }
    
    .chart-type-btn {
        flex: 1;
        text-align: center;
        padding: 6px 10px;
    }
    
    .chart-type-btn i {
        font-size: 0.9rem;
    }
}

.active-features-section {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.active-features-section h4 {
    margin-bottom: 15px;
    color: #333;
}

.features-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.feature-stat {
    background: #f0f0f0;
    border-radius: 20px;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-stat i {
    color: #0073aa;
}

.feature-stat .feature-count {
    background: #0073aa;
    color: white;
    border-radius: 20px;
    padding: 2px 8px;
    font-size: 12px;
}

@media (max-width: 480px) {
    .features-stats {
        gap: 10px;
    }
    
    .feature-stat {
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* نوار ابزار */
.dashboard-toolbar {
     border-right: 5px solid #ce1a74;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 15px;
}

.toolbar-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.select-wrapper {
    position: relative;
}

.select-wrapper select {
    padding: 10px 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    background: white;
    font-size: 14px;
    cursor: pointer;
    appearance: none;
    padding-left: 35px;
}

.select-wrapper::after {
    content: '\f0d7';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.search-input-wrapper {
    position: relative;
}

.search-input-wrapper input {
    padding: 10px 40px 10px 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    width: 250px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-input-wrapper input:focus {
    outline: none;
    border-color: #4361ee;
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: #4361ee;
    color: white;
}

.btn-primary:hover {
    background: #3a56d4;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

.btn-secondary {
    background: #e9ecef;
    color: #495057;
}

.btn-secondary:hover {
    background: #dee2e6;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .dashboard-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .toolbar-group {
        width: 100%;
        justify-content: center;
    }
    
    .select-wrapper select,
    .search-input-wrapper input {
        width: 100%;
    }
    
    .btn-primary, .btn-secondary {
        justify-content: center;
    }
}

/* فیلترهای سریع */
.quick-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    
}

.filter-chip {
    padding: 8px 20px;
    border: 2px solid #e9ecef;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.filter-chip:hover {
    border-color: #4361ee;
    color: #4361ee;
}

.filter-chip.active {
    background: #4361ee;
    border-color: #4361ee;
    color: white;
}

@media (max-width: 768px) {
    .quick-filters {
        justify-content: center;
    }
    
    .filter-chip {
        font-size: 12px;
        padding: 6px 15px;
    }
}

/* Grid کارت‌ها */
.ads-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .ads-grid-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* کارت آگهی */
.ad-card {
    background: rgb(255, 255, 255);
    border-radius: 20px;
    border-right: 5px solid #f0359c;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.ad-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.card-checkbox {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

.card-checkbox input {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.expired-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.expired-overlay span {
    background: #dc3545;
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: bold;
    transform: rotate(-15deg);
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f8f9fa;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 48px;
    color: #dee2e6;
}

.feature-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 5px;
}

.badge {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 14px;
}

.badge.featured { background: #ffd700; color: #000; }
.badge.urgent { background: #ff4757; }
.badge.ladder { background: #2ed573; }
.badge.lelam { background: #a55eea; }

.card-content {
    padding: 20px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.category-badge {
    background: #e7f3ff;
    color: #4361ee;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.status-badge.approved {
    background: #d4edda;
    color: #155724;
}

.status-badge.pending {
    background: #fff3cd;
    color: #856404;
}

.status-badge.rejected {
    background: #f8d7da;
    color: #721c24;
}

.status-badge.expired {
    background: #e2e3e5;
    color: #383d41;
}

.card-title {
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 600;
}

.card-title a {
    color: #2d3748;
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: #4361ee;
}

.card-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    padding: 10px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6c757d;
}

.stat-item i {
    font-size: 14px;
}

.stat-item small {
    font-size: 11px;
    color: #adb5bd;
}

@media (max-width: 480px) {
    .card-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .card-stats {
        flex-direction: column;
        gap: 8px;
    }
    
    .stat-item {
        justify-content: space-between;
    }
}

.expiry-info {
    margin-top: 10px;
}

.expired-badge, .expiring-soon-badge, .valid-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 12px;
}

.expired-badge {
    background: #f8d7da;
    color: #721c24;
}

.expiring-soon-badge {
    background: #fff3cd;
    color: #856404;
}

.valid-badge {
    background: #d4edda;
    color: #155724;
}

/* دکمه‌های اقدام در کارت */
.card-actions {
    display: flex;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
}

.card-actions .action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    color: #6c757d;
}

.card-actions .action-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.card-actions .action-btn.edit:hover { color: #4361ee; }
.card-actions .action-btn.apply-feature:hover { color: #a55eea; }
.card-actions .action-btn.renew:hover { color: #2ed573; }
.card-actions .action-btn.delete:hover { color: #ff4757; }

@media (max-width: 768px) {
    .card-actions .action-btn span {
        display: none;
    }
    
    .card-actions .action-btn i {
        font-size: 18px;
    }
}

/* نوار انتخاب دسته‌جمعی موبایل */
.bulk-selection-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.bulk-selection-bar.active {
    transform: translateY(0);
}

.selection-info {
    font-size: 14px;
    font-weight: 500;
}

.selected-count {
    color: #4361ee;
    font-weight: bold;
    font-size: 18px;
}

.selection-actions button {
    background: #ff4757;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
}

.cancel-selection {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #6c757d;
}

/* وضعیت بدون آگهی */
.no-ads-state {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 20px;
}

.no-ads-icon i {
    font-size: 64px;
    color: #dee2e6;
    margin-bottom: 20px;
}

.no-ads-state h3 {
    margin: 0 0 10px 0;
    color: #495057;
}

.no-ads-state p {
    color: #6c757d;
    margin-bottom: 20px;
}

/* مودال */
.ad-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
}

.modal-header h3 {
    margin: 0;
}

.modal-close {
    font-size: 28px;
    cursor: pointer;
    color: #adb5bd;
}

.modal-body {
    padding: 20px;
}

.feature-options-grid {
    display: grid;
    gap: 12px;
    margin: 20px 0;
}

.feature-option-card {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.feature-option-card input {
    display: none;
}

.feature-option-card input:checked + .feature-card-content {
    background: #e7f3ff;
    border-color: #4361ee;
}

.feature-card-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
}

.feature-icon i {
    font-size: 24px;
    color: #4361ee;
}

.feature-info {
    flex: 1;
}

.feature-name {
    display: block;
    font-weight: 500;
    margin-bottom: 4px;
}

.feature-desc {
    font-size: 12px;
    color: #6c757d;
}

.modal-footer {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding: 20px;
    border-top: 1px solid #e9ecef;
}

@media (max-width: 480px) {
    .feature-options-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card-content {
        padding: 12px;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .modal-footer button {
        width: 100%;
        justify-content: center;
    }
}

/* پیام عدم ورود */
.dashboard-login-required {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 20px;
}

.dashboard-login-required i {
    font-size: 64px;
    color: #4361ee;
    margin-bottom: 20px;
}

/* انیمیشن‌ها */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ad-card {
    animation: fadeIn 0.5s ease;
}

/* لینک‌های سریع */
.quick-links-section {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 5px 8px rgba(196, 37, 37, 0.164);
     border-right: 5px solid #ce1a74;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.quick-link:hover {
    background: #0073aa;
    color: white;
    transform: translateX(-5px);
}

.quick-link i {
    font-size: 18px;
}

.quick-link span {
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .quick-link {
        padding: 10px;
        justify-content: center;
    }
    
    .quick-link span {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .quick-links-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-link {
        justify-content: flex-start;
    }
}
@media (max-width: 480px) {
    /* هدر کارت - حفظ حالت افقی */
    .card-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    /* دسته‌بندی و وضعیت در کنار هم */
    .category-badge,
    .status-badge {
        font-size: 11px;
        padding: 3px 10px;
    }
    
    /* آمارها به صورت عمودی */
    .card-stats {
        flex-direction: column;
        gap: 8px;
    }
    
    .stat-item {
        justify-content: space-between;
    }
    
    /* عنوان آگهی */
    .card-title {
        font-size: 16px;
        margin-bottom: 10px;
    }
}

/* استایل مخصوص آگهی‌های بدون تصویر */
.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f8f9fa;
}

.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
}

.no-image-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.no-image-content i {
    font-size: 48px;
    color: #adb5bd;
}

.no-image-content span {
    font-size: 14px;
    color: #6c757d;
    background: rgba(255, 255, 255, 0.8);
    padding: 4px 12px;
    border-radius: 20px;
}

/* حالت موبایل */
@media (max-width: 768px) {
    .no-image-content i {
        font-size: 36px;
    }
    
    .no-image-content span {
        font-size: 12px;
    }
}