/* ==========================================
   Sitemap Page — خريطة الموقع
   ========================================== */

.sitemap-hero {
    background: linear-gradient(135deg, #123a8f 0%, #0b1b3a 55%, #050b1a 100%);
    position: relative;
    overflow: hidden;
}

.sitemap-hero::before,
.sitemap-hero::after {
    content: '';
    position: absolute;
    border-radius: 9999px;
    filter: blur(90px);
    pointer-events: none;
}

.sitemap-hero::before {
    width: 340px;
    height: 340px;
    top: -120px;
    right: -80px;
    background: rgba(37, 99, 235, 0.45);
}

.sitemap-hero::after {
    width: 300px;
    height: 300px;
    bottom: -140px;
    left: -60px;
    background: rgba(59, 130, 246, 0.35);
}

.sitemap-badge {
    background: rgba(37, 99, 235, 0.25);
    border: 1px solid rgba(96, 165, 250, 0.4);
    color: #bfdbfe;
}

.sitemap-stat {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
}

.sitemap-section-title {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 900;
    color: #0f172a;
}

.sitemap-section-title .icon-wrap {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.sitemap-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 1.5rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    transition: box-shadow 0.3s ease;
}

.sitemap-card:hover {
    box-shadow: 0 14px 40px -12px rgba(15, 23, 42, 0.14);
}

.sitemap-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.7rem 0.9rem;
    border-radius: 0.9rem;
    color: #334155;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.sitemap-link:hover {
    background: #eff6ff;
    color: #1d4ed8;
    transform: translateX(2px);
}

.sitemap-link .sitemap-link-icon {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 0.7rem;
    background: #f1f5f9;
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.sitemap-link:hover .sitemap-link-icon {
    background: #2563eb;
    color: #ffffff;
}

.sitemap-count-badge {
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    margin-inline-start: auto;
    white-space: nowrap;
}

.sitemap-date {
    font-size: 0.72rem;
    color: #94a3b8;
    font-weight: 700;
    white-space: nowrap;
    margin-inline-start: auto;
}

.sitemap-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.25rem;
    border-radius: 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-weight: 800;
    font-size: 0.9rem;
    color: #334155;
    transition: all 0.2s ease;
}

.sitemap-chip:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -10px rgba(37, 99, 235, 0.5);
}

.sitemap-chip i {
    color: #2563eb;
    font-size: 0.8rem;
    transition: color 0.2s ease;
}

.sitemap-chip:hover i {
    color: #ffffff;
}

.sitemap-chip-count {
    background: rgba(37, 99, 235, 0.12);
    color: #2563eb;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.2rem 0.55rem;
    border-radius: 9999px;
    transition: all 0.2s ease;
}

.sitemap-chip:hover .sitemap-chip-count {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

.sitemap-empty {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    background: #f8fafc;
    border: 1px dashed #e2e8f0;
    color: #94a3b8;
    font-weight: 700;
    font-size: 0.85rem;
}
