/* Styles de rapports-activites.php (extraits de la page, même ordre) */

    /* ===========================
   GLOBAL
=========================== */
    .page-bg {
        background: #f4f6fb;
    }

    /* ===========================
   HERO
=========================== */
    .rectorate-hero {
        background:
            linear-gradient(135deg, rgba(12, 28, 60, 0.97) 0%, rgba(8, 42, 110, 0.9) 100%),
            url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?w=1920') center/cover no-repeat;
        color: white;
        padding: 4.5rem 0 6rem;
        position: relative;
        overflow: hidden;
    }

    .rectorate-hero::before {
        content: '';
        position: absolute;
        top: -80px;
        right: -80px;
        width: 320px;
        height: 320px;
        border-radius: 50%;
        border: 50px solid rgba(255, 255, 255, 0.03);
        pointer-events: none;
    }

    .rectorate-hero::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 100%;
        height: 70px;
        background: #f4f6fb;
        clip-path: ellipse(55% 100% at 50% 100%);
    }

    .hero-pill {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.18);
        padding: 0.4rem 1rem;
        border-radius: 50px;
        font-size: 0.73rem;
        font-weight: 600;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        margin-bottom: 1.75rem;
    }

    .hero-pill a {
        color: rgba(255, 255, 255, 0.75);
        text-decoration: none;
        transition: color .2s;
    }

    .hero-pill a:hover {
        color: white;
    }

    .hero-pill .sep {
        opacity: 0.35;
        margin: 0 0.15rem;
    }

    .hero-title {
        font-size: clamp(1.9rem, 4.5vw, 3.2rem);
        font-weight: 800;
        line-height: 1.1;
        letter-spacing: -0.025em;
        margin-bottom: 1rem;
    }

    .hero-title .accent {
        color: var(--secondary-color);
    }

    .hero-sub {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.68);
        line-height: 1.75;
        max-width: 520px;
    }

    /* ===========================
   SIDEBAR
=========================== */
    .rector-sidebar {
        background: white;
        border-radius: 16px;
        border: 1px solid #e5e9f0;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
        overflow: hidden;
        position: sticky;
        top: 88px;
    }

    .sidebar-head {
        background: var(--dark-color);
        padding: 1.2rem 1.5rem;
    }

    .sidebar-head h2 {
        color: white;
        font-size: 0.78rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        margin: 0;
    }

    .sidebar-head p {
        color: var(--secondary-color);
        font-size: 0.7rem;
        margin: 0.2rem 0 0;
        font-weight: 500;
        opacity: 0.85;
    }

    .snav {
        padding: 0.6rem;
    }

    .snav a {
        display: flex;
        align-items: center;
        gap: 0.65rem;
        padding: 0.6rem 0.75rem;
        border-radius: 9px;
        font-size: 0.77rem;
        font-weight: 500;
        color: #4b5563;
        text-decoration: none;
        transition: all 0.2s;
        margin-bottom: 1px;
        border-left: 3px solid transparent;
    }

    .snav a .ni {
        width: 28px;
        height: 28px;
        border-radius: 7px;
        background: #f3f4f6;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.75rem;
        flex-shrink: 0;
        transition: all 0.2s;
    }

    .snav a:hover {
        background: #f8faff;
        color: var(--dark-color);
    }

    .snav a:hover .ni {
        background: #e8eeff;
    }

    .snav a.active {
        background: #eff4ff;
        color: var(--dark-color);
        font-weight: 700;
        border-left-color: var(--secondary-color);
    }

    .snav a.active .ni {
        background: var(--secondary-color);
        color: white;
    }

    .snav a .nc {
        margin-left: auto;
        font-size: 0.6rem;
        opacity: 0.35;
        transition: all 0.2s;
    }

    .snav a:hover .nc,
    .snav a.active .nc {
        opacity: 0.9;
        transform: translateX(2px);
    }

    .sidebar-foot {
        padding: 0.85rem 1rem;
        border-top: 1px solid #f0f2f8;
    }

    /* ===========================
   FEATURED REPORT
=========================== */
    .featured-report {
        background: white;
        border-radius: 20px;
        border: 1px solid #e5e9f0;
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
        overflow: hidden;
    }

    .featured-top {
        background: linear-gradient(135deg, var(--dark-color) 0%, #0d3870 100%);
        padding: 2rem 2.25rem;
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: center;
        gap: 2rem;
    }

    .featured-top::before {
        content: '';
        position: absolute;
        top: -40px;
        right: -40px;
        width: 160px;
        height: 160px;
        border-radius: 50%;
        border: 28px solid rgba(255, 255, 255, 0.05);
        pointer-events: none;
    }

    .featured-top::after {
        content: '';
        position: absolute;
        bottom: -20px;
        left: 30%;
        width: 100px;
        height: 100px;
        border-radius: 50%;
        border: 18px solid rgba(255, 255, 255, 0.04);
        pointer-events: none;
    }

    .featured-doc-icon {
        width: 80px;
        height: 96px;
        background: rgba(255, 255, 255, 0.1);
        border: 2px solid rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        position: relative;
        z-index: 1;
    }

    .featured-doc-icon i {
        font-size: 2rem;
        color: var(--secondary-color);
    }

    .featured-doc-icon .doc-ext {
        position: absolute;
        bottom: -1px;
        right: -1px;
        background: var(--secondary-color);
        color: white;
        font-size: 0.55rem;
        font-weight: 800;
        padding: 0.15rem 0.35rem;
        border-radius: 4px 0 12px 0;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .featured-meta {
        position: relative;
        z-index: 1;
        flex: 1;
    }

    .featured-label {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        background: rgba(228, 178, 113, 0.2);
        color: var(--secondary-color);
        border: 1px solid rgba(228, 178, 113, 0.35);
        padding: 0.22rem 0.7rem;
        border-radius: 50px;
        font-size: 0.67rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        margin-bottom: 0.6rem;
    }

    .featured-title {
        color: white;
        font-size: 1.2rem;
        font-weight: 800;
        letter-spacing: -0.02em;
        line-height: 1.25;
        margin-bottom: 0.3rem;
    }

    .featured-subtitle {
        color: rgba(255, 255, 255, 0.65);
        font-size: 0.82rem;
        margin: 0;
    }

    .featured-body {
        padding: 1.75rem 2.25rem;
    }

    .featured-desc {
        font-size: 0.88rem;
        color: #374151;
        line-height: 1.8;
        margin-bottom: 1.5rem;
    }

    .featured-highlights {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
        margin-bottom: 1.75rem;
    }

    .highlight-chip {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        background: #f8faff;
        border: 1px solid #e5e9f0;
        border-radius: 10px;
        padding: 0.55rem 0.9rem;
        font-size: 0.78rem;
    }

    .highlight-chip .hc-num {
        font-size: 1.1rem;
        font-weight: 800;
        color: var(--dark-color);
        line-height: 1;
    }

    .highlight-chip .hc-lbl {
        font-size: 0.68rem;
        font-weight: 600;
        color: #9ca3af;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        display: block;
    }

    .featured-actions {
        display: flex;
        gap: 0.75rem;
        flex-wrap: wrap;
        align-items: center;
    }

    .btn-download-primary {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        background: var(--dark-color);
        color: white;
        padding: 0.7rem 1.5rem;
        border-radius: 10px;
        font-size: 0.82rem;
        font-weight: 700;
        text-decoration: none;
        transition: all 0.2s;
        border: none;
    }

    .btn-download-primary:hover {
        background: #0d3870;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    }

    .btn-preview {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        background: white;
        color: var(--dark-color);
        padding: 0.7rem 1.5rem;
        border-radius: 10px;
        font-size: 0.82rem;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.2s;
        border: 1px solid #e5e9f0;
    }

    .btn-preview:hover {
        border-color: var(--dark-color);
        color: var(--dark-color);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
    }

    .report-pages-tag {
        font-size: 0.73rem;
        color: #9ca3af;
        font-weight: 500;
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        margin-left: auto;
    }

    /* ===========================
   FILTER BAR
=========================== */
    .filter-bar {
        background: white;
        border-radius: 14px;
        border: 1px solid #e5e9f0;
        padding: 0.85rem 1.25rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .filter-label {
        font-size: 0.72rem;
        font-weight: 700;
        color: #9ca3af;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        flex-shrink: 0;
        margin-right: 0.25rem;
    }

    .filter-btn {
        padding: 0.38rem 0.9rem;
        border-radius: 8px;
        font-size: 0.75rem;
        font-weight: 600;
        border: 1px solid #e5e9f0;
        background: white;
        color: #6b7280;
        cursor: pointer;
        transition: all 0.2s;
        text-decoration: none;
    }

    .filter-btn:hover {
        border-color: var(--dark-color);
        color: var(--dark-color);
    }

    .filter-btn.active {
        background: var(--dark-color);
        color: white;
        border-color: var(--dark-color);
    }

    /* ===========================
   REPORT CARD
=========================== */
    .report-card {
        background: white;
        border-radius: 16px;
        border: 1px solid #e5e9f0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
        overflow: hidden;
        height: 100%;
        transition: all 0.28s ease;
        display: flex;
        flex-direction: column;
    }

    .report-card:hover {
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
        transform: translateY(-4px);
        border-color: #c8d4ee;
    }

    .report-card-header {
        padding: 1.5rem 1.5rem 1rem;
        display: flex;
        align-items: flex-start;
        gap: 1rem;
    }

    .rc-icon {
        width: 52px;
        height: 62px;
        border-radius: 10px;
        border: 1px solid #e5e9f0;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        flex-shrink: 0;
        position: relative;
        overflow: hidden;
        background: #f8f9fc;
    }

    .rc-icon i {
        font-size: 1.4rem;
        color: var(--dark-color);
    }

    .rc-icon .rc-ext {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--dark-color);
        color: var(--secondary-color);
        font-size: 0.5rem;
        font-weight: 800;
        text-align: center;
        padding: 0.1rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .rc-year-badge {
        display: inline-flex;
        background: #fef9ee;
        color: #92680a;
        border: 1px solid #f5dfa0;
        padding: 0.18rem 0.6rem;
        border-radius: 6px;
        font-size: 0.65rem;
        font-weight: 700;
        letter-spacing: 0.05em;
        margin-bottom: 0.35rem;
    }

    .rc-title {
        font-size: 0.9rem;
        font-weight: 800;
        color: var(--dark-color);
        line-height: 1.3;
        margin-bottom: 0.2rem;
    }

    .rc-subtitle {
        font-size: 0.73rem;
        color: #9ca3af;
        font-weight: 500;
        margin: 0;
    }

    .report-card-body {
        padding: 0 1.5rem;
        flex: 1;
    }

    .rc-desc {
        font-size: 0.8rem;
        color: #6b7280;
        line-height: 1.65;
        margin: 0;
    }

    .report-card-footer {
        padding: 1rem 1.5rem 1.25rem;
        display: flex;
        align-items: center;
        gap: 0.6rem;
        border-top: 1px solid #f3f4f6;
        margin-top: 1rem;
    }

    .rc-stat {
        display: flex;
        align-items: center;
        gap: 0.35rem;
        font-size: 0.72rem;
        color: #9ca3af;
    }

    .rc-stat i {
        font-size: 0.7rem;
        color: var(--secondary-color);
    }

    .rc-download-btn {
        margin-left: auto;
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        background: var(--dark-color);
        color: white;
        padding: 0.42rem 0.9rem;
        border-radius: 8px;
        font-size: 0.73rem;
        font-weight: 700;
        text-decoration: none;
        transition: all 0.2s;
        white-space: nowrap;
    }

    .rc-download-btn:hover {
        background: #0d3870;
        color: white;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    }

    /* ===========================
   STATS BANNER
=========================== */
    .stats-banner {
        background: linear-gradient(135deg, var(--dark-color) 0%, #0d3870 100%);
        border-radius: 18px;
        padding: 2rem;
        position: relative;
        overflow: hidden;
    }

    .stats-banner::before {
        content: '';
        position: absolute;
        top: -30px;
        right: -30px;
        width: 140px;
        height: 140px;
        border-radius: 50%;
        border: 24px solid rgba(255, 255, 255, 0.05);
    }

    .stats-banner::after {
        content: '';
        position: absolute;
        bottom: -20px;
        left: 20%;
        width: 90px;
        height: 90px;
        border-radius: 50%;
        border: 16px solid rgba(255, 255, 255, 0.04);
    }

    .banner-stat {
        text-align: center;
        padding: 0.5rem 1rem;
        position: relative;
        z-index: 1;
    }

    .banner-stat+.banner-stat {
        border-left: 1px solid rgba(255, 255, 255, 0.12);
    }

    .banner-num {
        font-size: 2rem;
        font-weight: 800;
        color: white;
        line-height: 1;
        margin-bottom: 0.2rem;
    }

    .banner-num span {
        color: var(--secondary-color);
    }

    .banner-lbl {
        font-size: 0.68rem;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.5);
        text-transform: uppercase;
        letter-spacing: 0.08em;
    }

    /* ===========================
   ARCHIVE TABLE
=========================== */
    .archive-table {
        background: white;
        border-radius: 16px;
        border: 1px solid #e5e9f0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
        overflow: hidden;
    }

    .archive-header {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 1.1rem 1.5rem;
        background: #fafbff;
        border-bottom: 1px solid #f0f2f8;
    }

    .archive-header-icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        background: var(--dark-color);
        color: var(--secondary-color);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.8rem;
        flex-shrink: 0;
    }

    .archive-header-title {
        font-size: 0.78rem;
        font-weight: 700;
        color: var(--dark-color);
        text-transform: uppercase;
        letter-spacing: 0.07em;
        margin: 0;
    }

    .archive-row {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 0.9rem 1.5rem;
        border-bottom: 1px solid #f7f8fb;
        transition: background 0.15s;
    }

    .archive-row:last-child {
        border-bottom: none;
    }

    .archive-row:hover {
        background: #f8faff;
    }

    .ar-year {
        font-size: 0.78rem;
        font-weight: 800;
        color: var(--dark-color);
        min-width: 60px;
        flex-shrink: 0;
    }

    .ar-title {
        font-size: 0.82rem;
        color: #374151;
        font-weight: 500;
        flex: 1;
        line-height: 1.4;
    }

    .ar-meta {
        display: flex;
        align-items: center;
        gap: 1rem;
        flex-shrink: 0;
    }

    .ar-pages {
        font-size: 0.7rem;
        color: #9ca3af;
        display: flex;
        align-items: center;
        gap: 0.3rem;
    }

    .ar-pages i {
        font-size: 0.65rem;
    }

    .ar-btn {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        background: #f3f4f6;
        color: var(--dark-color);
        border: 1px solid #e5e9f0;
        padding: 0.32rem 0.75rem;
        border-radius: 7px;
        font-size: 0.7rem;
        font-weight: 700;
        text-decoration: none;
        transition: all 0.2s;
        white-space: nowrap;
    }

    .ar-btn:hover {
        background: var(--dark-color);
        color: white;
        border-color: var(--dark-color);
    }

    /* ===========================
   SECTION LABEL
=========================== */
    .sec-eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        background: #fef9ee;
        color: #92680a;
        border: 1px solid #f5dfa0;
        padding: 0.3rem 0.9rem;
        border-radius: 50px;
        font-size: 0.68rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.09em;
        margin-bottom: 0.5rem;
    }

    .sec-title {
        font-size: clamp(1.1rem, 2.5vw, 1.5rem);
        font-weight: 800;
        color: var(--dark-color);
        letter-spacing: -0.02em;
        line-height: 1.15;
        margin-bottom: 0;
    }

    /* ===========================
   ANIMATIONS
=========================== */
    @keyframes fadeUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .fu {
        animation: fadeUp 0.55s ease both;
    }

    .d1 {
        animation-delay: 0.08s;
    }

    .d2 {
        animation-delay: 0.18s;
    }

    .d3 {
        animation-delay: 0.28s;
    }

    .d4 {
        animation-delay: 0.36s;
    }

    /* ===========================
   RESPONSIVE
=========================== */
    @media (max-width: 991px) {
        .rector-sidebar {
            position: static;
        }
    }

    @media (max-width: 767px) {
        .featured-top {
            flex-direction: column;
            gap: 1rem;
        }

        .featured-actions {
            flex-direction: column;
            align-items: flex-start;
        }

        .report-pages-tag {
            margin-left: 0;
        }

        .banner-stat+.banner-stat {
            border-left: none;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .ar-meta {
            gap: 0.5rem;
        }

        .ar-pages {
            display: none;
        }
    }
