* {
    font-family: 'Vazirmatn', sans-serif !important;
}

body {
    background-color: #f8f9fa;
    direction: rtl;
}

.filter-sidebar {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 20px;
}

.filter-sidebar h5 {
    color: #333;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}

.stats-box {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.simcards-grid {
    min-height: 600px;
}

.simcard-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #e0e0e0;
    height: 200px;
    display: flex;
    flex-direction: column;
}

.simcard-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}



.simcard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.simcard-item.special .simcard-header {
    background: rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.sim-icon {
    width: 40px;
    height: 30px;
}

.sim-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.operator-info {
    font-size: 12px;
    font-weight: 500;
}

.simcard-body {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.sim-number {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.simcard-item.special .sim-number {
    color: white;
}

.sim-description {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.simcard-item.special .sim-description {
    color: rgba(255,255,255,0.9);
}

.sim-code {
    font-size: 11px;
    color: #888;
    background: #f8f9fa;
    padding: 3px 8px;
    border-radius: 15px;
    display: inline-block;
}

.simcard-item.special .sim-code {
    background: rgba(255,255,255,0.2);
    color: white;
}

.simcard-footer {
    padding: 10px 15px;
    background: rgba(0,0,0,0.02);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.simcard-item.special .simcard-footer {
    background: rgba(255,255,255,0.1);
    border-top: 1px solid rgba(255,255,255,0.2);
}

.price {
    font-weight: 600;
    color: #007bff;
    font-size: 14px;
}

.simcard-item.special .price {
    color: white;
}

.badges .badge {
    font-size: 10px;
    margin-right: 3px;
}

.special-badge {
    position: absolute;
    top: -5px;
    left: -5px;
    background: #ffc107;
    color: #333;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    margin: 20px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .col-md-3 {
        margin-bottom: 20px;
    }

    .simcard-item {
        height: auto;
        min-height: 180px;
    }

    .sim-number {
        font-size: 16px;
    }

    .filter-sidebar {
        position: relative;
        top: auto;
    }
}

@media (max-width: 576px) {
    .simcards-grid .col-12 {
        padding: 0 5px;
    }

    .simcard-item {
        min-height: 160px;
    }
}

/* برجسته‌سازی اعداد رند */
.sim-number span[style*="color: red"] {
    background: linear-gradient(45deg, #ff4757, #ff3838);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    text-shadow: 0 0 10px rgba(255, 71, 87, 0.3);
}

.simcard-item.special .sim-number span[style*="color: red"] {
    -webkit-text-fill-color: #ffeb3b;
    text-shadow: 0 0 10px rgba(255, 235, 59, 0.5);
}

/* انیمیشن لودینگ */
.simcards-grid {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}
/* SimCard Items */
.simcard-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    height: 280px;
    display: flex;
    flex-direction: column;
    border: 3px solid transparent;
}

.simcard-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* Operator Colors */
.simcard-item.mci-card {
    border-color: #0066cc;
    background: #4ee7da;
}

.simcard-item.irancell-card {
    border-color: #c4900d;
    background: #fc0;
}

.simcard-item.rightel-card {
    border-color: #8a2be2;
    background: rgba(134, 18, 147, 0.86);
}



/* استایل pagination */
.pagination .page-link {
    color: #007bff;
    border: 1px solid #dee2e6;
    padding: 8px 16px;
    margin: 0 2px;
    border-radius: 6px;
}

.pagination .page-item.active .page-link {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
}

.pagination .page-link:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
}
