/* ============================================
   REPORTS PAGE - LIGHT THEME
   Wikin Municipality Template
   ============================================ */

:root {
    --moif-blue-dark: #0D1B3E;
    --moif-blue: #1A2B4A;
    --moif-gold: #C9A227;
    --moif-gold-bright: #F4D03F;
    --moif-white: #FFFFFF;
    --moif-light-bg: #F8F9FA;
    --moif-border: #E9ECEF;
    --moif-text: #495057;
    --moif-text-light: #6C757D;
}

/* ============================================
   PAGE TITLE AREA
   ============================================ */
 
/* ============================================
   STATS OVERVIEW
   ============================================ */
.reports-stats-wrapper {
    margin-bottom: 40px;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.stat-card {
    background: var(--moif-white);
    border: 1px solid var(--moif-border);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--moif-gold);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, 
        rgba(201, 162, 39, 0.1), 
        rgba(244, 208, 63, 0.1));
    border: 2px solid var(--moif-gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 28px;
    color: var(--moif-gold);
}

.stat-content h4 {
    color: var(--moif-blue-dark);
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 5px;
    line-height: 1;
}

.stat-content span {
    color: var(--moif-text-light);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   FILTER SECTION
   ============================================ */
.reports-filter-section {
    background: var(--moif-white);
    border: 1px solid var(--moif-border);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--moif-border);
    flex-wrap: wrap;
    gap: 15px;
}

.filter-title-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-title-wrapper i {
    font-size: 24px;
    color: var(--moif-gold);
}

.filter-title-wrapper h5 {
    color: var(--moif-blue-dark);
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.btn-clear-filters {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(220, 53, 69, 0.1);
    border: 2px solid transparent;
    color: #dc3545;
    padding: 8px 18px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-clear-filters:hover {
    background: #dc3545;
    border-color: #dc3545;
    color: var(--moif-white);
    transform: translateY(-2px);
}

.btn-clear-filters i {
    font-size: 16px;
}

/* Filter Form */
.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--moif-blue-dark);
    font-size: 13px;
    font-weight: 600;
    margin: 0;
}

.filter-label i {
    color: var(--moif-gold);
    font-size: 16px;
}

.select-wrapper {
    position: relative;
}

.form-select-custom {
    width: 100%;
    padding: 12px 18px;
    background: var(--moif-white);
    border: 2px solid var(--moif-border);
    border-radius: 10px;
    font-size: 14px;
    color: var(--moif-blue-dark);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

[dir="rtl"] .form-select-custom {
    padding-left: 40px;
    padding-right: 18px;
}

[dir="ltr"] .form-select-custom {
    padding-right: 40px;
    padding-left: 18px;
}

.form-select-custom:hover {
    border-color: var(--moif-gold);
    background: rgba(244, 208, 63, 0.03);
}

.form-select-custom:focus {
    outline: none;
    border-color: var(--moif-gold);
    box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.1);
}

.select-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--moif-gold);
    font-size: 20px;
    pointer-events: none;
    transition: transform 0.3s ease;
}

[dir="rtl"] .select-arrow {
    left: 12px;
}

[dir="ltr"] .select-arrow {
    right: 12px;
}

.form-select-custom:focus ~ .select-arrow {
    transform: translateY(-50%) rotate(180deg);
}

/* Active Filters Display */
.active-filters-display {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px dashed var(--moif-border);
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.active-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--moif-blue-dark);
    font-size: 13px;
    font-weight: 600;
}

.active-label i {
    color: var(--moif-gold);
    font-size: 16px;
}

.filter-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex: 1;
}

.filter-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--moif-blue-dark);
    color: var(--moif-white);
    padding: 6px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-badge:hover {
    background: #dc3545;
    transform: translateY(-2px);
}

.filter-badge i {
    font-size: 14px;
}

/* ============================================
   RESULTS INFO BAR
   ============================================ */
.results-info-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--moif-light-bg);
    border: 1px solid var(--moif-border);
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.results-count {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--moif-text);
    font-size: 14px;
}

.results-count i {
    font-size: 20px;
    color: var(--moif-gold);
}

.results-count strong {
    color: var(--moif-blue-dark);
    font-weight: 700;
}

.view-options {
    display: flex;
    gap: 8px;
}

.view-btn {
    width: 40px;
    height: 40px;
    background: var(--moif-white);
    border: 2px solid var(--moif-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--moif-text);
}

.view-btn:hover {
    border-color: var(--moif-gold);
    color: var(--moif-gold);
}

.view-btn.active {
    background: var(--moif-gold);
    border-color: var(--moif-gold);
    color: var(--moif-white);
}

.view-btn i {
    font-size: 18px;
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination-wrapper {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid var(--moif-border);
}

.pagination-nav {
    margin-bottom: 20px;
}

.pagination-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: var(--moif-white);
    border: 2px solid var(--moif-border);
    border-radius: 8px;
    color: var(--moif-blue-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pagination-link:hover {
    background: var(--moif-gold);
    border-color: var(--moif-gold);
    color: var(--moif-white);
    transform: translateY(-2px);
}

.pagination-link.active {
    background: var(--moif-blue-dark);
    border-color: var(--moif-blue-dark);
    color: var(--moif-white);
    cursor: default;
}

.pagination-link.prev-link,
.pagination-link.next-link {
    padding: 0 16px;
}

.pagination-dots {
    display: flex;
    align-items: center;
    color: var(--moif-text-light);
    font-weight: 700;
    padding: 0 8px;
}

.pagination-info {
    text-align: center;
    color: var(--moif-text-light);
    font-size: 13px;
    font-weight: 500;
}

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state-wrapper {
    padding: 80px 20px;
}

.empty-state-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.empty-icon {
    width: 120px;
    height: 120px;
    background: var(--moif-light-bg);
    border: 3px solid var(--moif-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.empty-icon i {
    font-size: 50px;
    color: var(--moif-text-light);
}

.empty-state-content h3 {
    color: var(--moif-blue-dark);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.empty-state-content p {
    color: var(--moif-text-light);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-empty-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--moif-white);
    border: 2px solid var(--moif-gold);
    color: var(--moif-gold);
    padding: 12px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-empty-action:hover {
    background: var(--moif-gold);
    color: var(--moif-white);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(201, 162, 39, 0.3);
}

.btn-empty-action i {
    font-size: 18px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    .page-main-title {
        font-size: 36px;
    }

    .title-icon {
        width: 70px;
        height: 70px;
    }

    .title-icon i {
        font-size: 35px;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-icon {
        width: 55px;
        height: 55px;
    }

    .stat-icon i {
        font-size: 26px;
    }

    .stat-content h4 {
        font-size: 28px;
    }
}

/* Mobile (576px - 767px) */
@media (max-width: 767px) {
    .page-title-reports {
        padding: 100px 0 60px;
    }

    .page-main-title {
        font-size: 28px;
    }

    .page-description {
        font-size: 15px;
    }

    .title-icon {
        width: 60px;
        height: 60px;
    }

    .title-icon i {
        font-size: 30px;
    }

    .reports-stats-wrapper {
        margin-top: -30px;
    }

    .stat-card {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }

    .reports-filter-section {
        padding: 25px 20px;
    }

    .filter-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-clear-filters {
        width: 100%;
        justify-content: center;
    }

    .results-info-bar {
        flex-direction: column;
        text-align: center;
    }

    .view-options {
        width: 100%;
        justify-content: center;
    }

    .active-filters-display {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-badges {
        width: 100%;
    }

    .pagination-link {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .pagination-link.prev-link span,
    .pagination-link.next-link span {
        display: none;
    }
}

/* Small Mobile (< 576px) */
@media (max-width: 575px) {
    .page-main-title {
        font-size: 24px;
    }

    .breadcrumb-nav {
        flex-wrap: wrap;
    }

    .stat-content h4 {
        font-size: 24px;
    }

    .stat-content span {
        font-size: 12px;
    }

    .filter-title-wrapper h5 {
        font-size: 18px;
    }
}

/* Print Styles */
@media print {
    .breadcrumb-nav,
    .reports-filter-section,
    .results-info-bar,
    .view-options,
    .pagination-wrapper {
        display: none;
    }

    .reports-stats-wrapper {
        margin-top: 0;
    }

    .stat-card {
        break-inside: avoid;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}






/* ============================================
   REPORT CARD - ENHANCED STYLES
   Beautiful, Modern Card Design
   ============================================ */

:root {
    --moif-blue-dark: #0D1B3E;
    --moif-blue: #1A2B4A;
    --moif-gold: #C9A227;
    --moif-gold-bright: #F4D03F;
    --moif-white: #FFFFFF;
    --moif-light-bg: #F8F9FA;
    --moif-border: #E9ECEF;
    --moif-text: #495057;
    --moif-text-light: #6C757D;
    --moif-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --moif-shadow-md: 0 8px 20px rgba(0, 0, 0, 0.1);
    --moif-shadow-lg: 0 12px 35px rgba(13, 27, 62, 0.12);
}

/* ============================================
   REPORT CARD CONTAINER
   ============================================ */
.report-card {
    background: var(--moif-white);
    border: 1px solid var(--moif-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--moif-shadow-sm);
}

    .report-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--moif-gold), var(--moif-gold-bright));
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.4s ease;
    }

[dir="rtl"] .report-card::before {
    transform-origin: left;
}

.report-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--moif-shadow-lg);
    border-color: var(--moif-gold);
}

    .report-card:hover::before {
        transform: scaleX(1);
    }

/* ============================================
   QUICK ACTIONS
   ============================================ */
.report-quick-actions {
    position: absolute;
    top: 15px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 10;
}

[dir="rtl"] .report-quick-actions {
    right: 15px;
}

[dir="ltr"] .report-quick-actions {
    left: 15px;
}

.report-card:hover .report-quick-actions {
    opacity: 1;
    transform: translateY(0);
}

.quick-action-btn {
    width: 36px;
    height: 36px;
    background: var(--moif-white);
    border: 1px solid var(--moif-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

    .quick-action-btn:hover {
        background: var(--moif-gold);
        border-color: var(--moif-gold);
        color: var(--moif-white);
        transform: scale(1.15) rotate(10deg);
    }

    .quick-action-btn i {
        font-size: 16px;
        transition: transform 0.3s ease;
    }

/* ============================================
   NEW INDICATOR
   ============================================ */
.new-indicator {
    position: absolute;
    top: -6px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: var(--moif-white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
    animation: bounceIn 1s ease, pulse 2s infinite 1s;
    z-index: 10;
}

[dir="rtl"] .new-indicator {
    left: 15px;
}

[dir="ltr"] .new-indicator {
    right: 15px;
}

@keyframes bounceIn {
    0% {
        transform: scale(0) translateY(-20px);
        opacity: 0;
    }

    50% {
        transform: scale(1.1) translateY(0);
    }

    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* ============================================
   CARD HEADER
   ============================================ */
.report-card-header {
    position: relative;
    padding: 30px 25px 25px;
    background: linear-gradient(135deg, rgba(13, 27, 62, 0.03) 0%, rgba(26, 43, 74, 0.02) 100%);
    border-bottom: 1px solid var(--moif-border);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Report Icon */
.report-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.12), rgba(244, 208, 63, 0.08));
    border: 3px solid var(--moif-gold);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(201, 162, 39, 0.15);
}

    .report-icon i {
        font-size: 32px;
        color: var(--moif-gold);
        transition: all 0.4s ease;
    }

.report-card:hover .report-icon {
    background: linear-gradient(135deg, var(--moif-gold), var(--moif-gold-bright));
    transform: scale(1.1) rotate(8deg);
    box-shadow: 0 8px 25px rgba(201, 162, 39, 0.35);
}

    .report-card:hover .report-icon i {
        color: var(--moif-white);
        transform: rotate(-8deg);
    }

/* Report Type Badge */
.report-type-badge {
    background: var(--moif-blue-dark);
    color: var(--moif-white);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 3px 10px rgba(13, 27, 62, 0.2);
    transition: all 0.3s ease;
}

.report-card:hover .report-type-badge {
    background: var(--moif-gold);
    transform: scale(1.05);
}

/* ============================================
   CARD BODY
   ============================================ */
.report-card-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Report Title */
.report-title {
    margin: 0 0 15px;
    min-height: 56px;
}

    .report-title a {
        color: var(--moif-blue-dark);
        font-size: 18px;
        font-weight: 700;
        line-height: 1.4;
        text-decoration: none;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        transition: color 0.3s ease;
    }

        .report-title a:hover {
            color: var(--moif-gold);
        }

/* Report Description */
.report-description {
    color: var(--moif-text-light);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

/* ============================================
   REPORT META INFO
   ============================================ */
.report-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--moif-border);
}

.report-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--moif-text);
    font-size: 12px;
    font-weight: 600;
    background: var(--moif-light-bg);
    padding: 5px 12px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

    .report-meta-item:hover {
        background: rgba(201, 162, 39, 0.1);
        color: var(--moif-gold);
    }

    .report-meta-item i {
        color: var(--moif-gold);
        font-size: 15px;
    }

/* ============================================
   STATS BADGES
   ============================================ */
.report-stats-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 18px;
    font-size: 11px;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: default;
}

    .stat-badge i {
        font-size: 14px;
    }

    .stat-badge.downloads {
        background: rgba(40, 167, 69, 0.1);
        color: #28a745;
        border: 1px solid rgba(40, 167, 69, 0.2);
    }

        .stat-badge.downloads:hover {
            background: rgba(40, 167, 69, 0.15);
            transform: scale(1.05);
        }

    .stat-badge.views {
        background: rgba(0, 123, 255, 0.1);
        color: #007bff;
        border: 1px solid rgba(0, 123, 255, 0.2);
    }

        .stat-badge.views:hover {
            background: rgba(0, 123, 255, 0.15);
            transform: scale(1.05);
        }

    .stat-badge.size {
        background: rgba(201, 162, 39, 0.1);
        color: var(--moif-gold);
        border: 1px solid rgba(201, 162, 39, 0.2);
    }

        .stat-badge.size:hover {
            background: rgba(201, 162, 39, 0.15);
            transform: scale(1.05);
        }

/* ============================================
   CARD FOOTER
   ============================================ */
.report-card-footer {
    padding: 20px 25px;
    background: var(--moif-light-bg);
    border-top: 1px solid var(--moif-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

/* Details Button */
.report-details-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--moif-white);
    border: 2px solid var(--moif-gold);
    color: var(--moif-gold);
    padding: 11px 22px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(201, 162, 39, 0.15);
}

    .report-details-btn:hover {
        background: var(--moif-gold);
        color: var(--moif-white);
        transform: translateX(-5px);
        box-shadow: 0 4px 15px rgba(201, 162, 39, 0.3);
    }

[dir="rtl"] .report-details-btn:hover {
    transform: translateX(5px);
}

.report-details-btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.report-details-btn:hover i {
    transform: translateX(-3px);
}

[dir="rtl"] .report-details-btn:hover i {
    transform: translateX(3px);
}

/* Download Button */
.report-download-btn {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--moif-blue-dark), var(--moif-blue));
    border: none;
    border-radius: 50%;
    color: var(--moif-white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(13, 27, 62, 0.2);
    position: relative;
    overflow: hidden;
}

    .report-download-btn::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: width 0.6s ease, height 0.6s ease;
    }

    .report-download-btn:hover::before {
        width: 120%;
        height: 120%;
    }

    .report-download-btn:hover {
        background: linear-gradient(135deg, var(--moif-gold), var(--moif-gold-bright));
        transform: scale(1.15) rotate(360deg);
        box-shadow: 0 8px 20px rgba(201, 162, 39, 0.4);
    }

    .report-download-btn i {
        font-size: 20px;
        position: relative;
        z-index: 1;
    }

/* ============================================
   CATEGORY-SPECIFIC STYLING
   ============================================ */
.report-card[data-category="financial"] .report-icon {
    border-color: #28a745;
}

    .report-card[data-category="financial"] .report-icon i {
        color: #28a745;
    }

.report-card[data-category="financial"]:hover .report-icon {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.report-card[data-category="economic"] .report-icon {
    border-color: #007bff;
}

    .report-card[data-category="economic"] .report-icon i {
        color: #007bff;
    }

.report-card[data-category="economic"]:hover .report-icon {
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.report-card[data-category="social"] .report-icon {
    border-color: #dc3545;
}

    .report-card[data-category="social"] .report-icon i {
        color: #dc3545;
    }

.report-card[data-category="social"]:hover .report-icon {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

/* ============================================
   LIST VIEW MODE
   ============================================ */
.report-card.list-view {
    flex-direction: row;
}

    .report-card.list-view .report-card-header {
        width: 150px;
        flex-shrink: 0;
        border-bottom: none;
        justify-content: center;
    }

[dir="rtl"] .report-card.list-view .report-card-header {
    border-left: 1px solid var(--moif-border);
}

[dir="ltr"] .report-card.list-view .report-card-header {
    border-right: 1px solid var(--moif-border);
}

.report-card.list-view .report-card-body {
    padding: 25px 30px;
}

.report-card.list-view .report-title {
    font-size: 20px;
    min-height: auto;
}

.report-card.list-view .report-meta {
    margin-bottom: 15px;
}

.report-card.list-view .report-card-footer {
    width: 200px;
    flex-shrink: 0;
    flex-direction: column;
    border-top: none;
}

[dir="rtl"] .report-card.list-view .report-card-footer {
    border-right: 1px solid var(--moif-border);
}

[dir="ltr"] .report-card.list-view .report-card-footer {
    border-left: 1px solid var(--moif-border);
}

.report-card.list-view .report-details-btn,
.report-card.list-view .report-download-btn {
    width: 100%;
    border-radius: 10px;
}

.report-card.list-view .report-download-btn {
    height: 48px;
}

/* ============================================
   LOADING SKELETON
   ============================================ */
.report-card-skeleton {
    background: var(--moif-white);
    border: 1px solid var(--moif-border);
    border-radius: 16px;
    padding: 30px 25px;
    height: 450px;
}

.skeleton {
    background: linear-gradient( 90deg, var(--moif-light-bg) 25%, #f0f0f0 50%, var(--moif-light-bg) 75% );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.skeleton-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 16px;
}

.skeleton-badge {
    width: 100px;
    height: 24px;
    margin: 0 auto 25px;
    border-radius: 20px;
}

.skeleton-title {
    height: 24px;
    margin-bottom: 15px;
}

.skeleton-text {
    height: 14px;
    margin-bottom: 10px;
}

    .skeleton-text:last-child {
        width: 70%;
    }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Desktop Large (1200px+) */
@media (min-width: 1200px) {
    .report-card:hover {
        transform: translateY(-12px) scale(1.02);
    }
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    .report-icon {
        width: 65px;
        height: 65px;
    }

        .report-icon i {
            font-size: 30px;
        }

    .report-title a {
        font-size: 17px;
    }

    .report-card.list-view {
        flex-direction: column;
    }

        .report-card.list-view .report-card-header {
            width: 100%;
            border-right: none;
            border-left: none;
            border-bottom: 1px solid var(--moif-border);
        }

        .report-card.list-view .report-card-footer {
            width: 100%;
            flex-direction: row;
            border-left: none;
            border-right: none;
            border-top: 1px solid var(--moif-border);
        }
}

/* Mobile (576px - 767px) */
@media (max-width: 767px) {
    .report-card {
        border-radius: 14px;
    }

    .report-card-header {
        padding: 25px 20px 20px;
    }

    .report-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 12px;
    }

        .report-icon i {
            font-size: 28px;
        }

    .report-type-badge {
        font-size: 10px;
        padding: 5px 14px;
    }

    .report-card-body {
        padding: 20px;
    }

    .report-title {
        min-height: auto;
    }

        .report-title a {
            font-size: 16px;
        }

    .report-description {
        font-size: 13px;
        -webkit-line-clamp: 2;
        margin-bottom: 15px;
    }

    .report-meta {
        gap: 8px;
        margin-bottom: 15px;
        padding-bottom: 15px;
    }

    .report-meta-item {
        font-size: 11px;
        padding: 4px 10px;
    }

    .report-card-footer {
        padding: 15px 20px;
        flex-direction: column;
        gap: 10px;
    }

    .report-details-btn,
    .report-download-btn {
        width: 100%;
        border-radius: 10px;
    }

    .report-download-btn {
        height: 48px;
    }

    .report-quick-actions {
        position: static;
        opacity: 1;
        transform: translateY(0);
        margin-top: 10px;
        justify-content: center;
    }

    .new-indicator {
        top: -4px;
        font-size: 10px;
        padding: 5px 12px;
    }
}

/* Small Mobile (<576px) */
@media (max-width: 575px) {
    .report-icon {
        width: 55px;
        height: 55px;
    }

        .report-icon i {
            font-size: 26px;
        }

    .report-title a {
        font-size: 15px;
    }

    .report-meta-item {
        font-size: 10px;
    }

    .stat-badge {
        font-size: 10px;
        padding: 5px 10px;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .report-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }

        .report-card::before,
        .report-quick-actions,
        .new-indicator,
        .report-card-footer {
            display: none;
        }

    .report-card-body {
        padding: 15px;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .report-card,
    .report-icon,
    .report-details-btn,
    .report-download-btn,
    .quick-action-btn,
    .new-indicator,
    .skeleton {
        animation: none;
        transition: none;
    }
}

/* Focus Styles */
.report-details-btn:focus-visible,
.report-download-btn:focus-visible,
.quick-action-btn:focus-visible {
    outline: 3px solid var(--moif-gold);
    outline-offset: 3px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .report-card {
        border: 2px solid currentColor;
    }

        .report-card:hover {
            border-width: 3px;
        }
}






/* ============================================
   REPORT DETAILS PAGE - ENHANCED STYLES
   Wikin Municipality Template
   ============================================ */

:root {
    --moif-blue-dark: #0D1B3E;
    --moif-blue: #1A2B4A;
    --moif-gold: #C9A227;
    --moif-gold-bright: #F4D03F;
    --moif-white: #FFFFFF;
    --moif-light-bg: #F8F9FA;
    --moif-border: #E9ECEF;
    --moif-text: #495057;
    --moif-text-light: #6C757D;
}

/* ============================================
   PAGE TITLE AREA
   ============================================ */
.page-title-report-details {
    position: relative;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--moif-blue-dark), var(--moif-blue));
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.page-title-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 27, 62, 0.90) 0%, rgba(26, 43, 74, 0.85) 100%);
    z-index: 1;
}

.title-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.title-icon {
    width: 80px;
    height: 80px;
    background: rgba(244, 208, 63, 0.15);
    border: 3px solid var(--moif-gold-bright);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

    .title-icon i {
        font-size: 40px;
        color: var(--moif-gold-bright);
    }

/* ============================================
   REPORT DETAILS CONTENT
   ============================================ */
.report-details-section {
    background: var(--moif-light-bg);
}

.report-details-content {
    background: var(--moif-white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

/* ============================================
   REPORT HEADER
   ============================================ */
.report-header-section {
    padding-bottom: 30px;
    border-bottom: 2px solid var(--moif-border);
    margin-bottom: 30px;
}

.report-badges-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.report-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

    .report-badge:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    }

    .report-badge i {
        font-size: 15px;
    }

.badge-type {
    background: linear-gradient(135deg, var(--moif-gold), var(--moif-gold-bright));
    color: var(--moif-white);
}

.badge-category {
    background: linear-gradient(135deg, var(--moif-blue-dark), var(--moif-blue));
    color: var(--moif-white);
}

.badge-year {
    background: rgba(201, 162, 39, 0.1);
    color: var(--moif-gold);
    border: 2px solid var(--moif-gold);
}

.quarter-indicator {
    background: var(--moif-gold);
    color: var(--moif-white);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 5px;
}

[dir="rtl"] .quarter-indicator {
    margin-left: 0;
    margin-right: 5px;
}

.report-main-title {
    color: var(--moif-blue-dark);
    font-size: 32px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 15px;
}

.report-subtitle {
    color: var(--moif-text-light);
    font-size: 18px;
    font-weight: 500;
    font-style: italic;
}

/* ============================================
   REPORT META SECTION
   ============================================ */
.report-meta-section {
    margin-bottom: 35px;
}

.meta-card {
    background: linear-gradient(135deg, rgba(13, 27, 62, 0.03) 0%, rgba(26, 43, 74, 0.02) 100%);
    border: 1px solid var(--moif-border);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

    .meta-card:hover {
        background: var(--moif-white);
        border-color: var(--moif-gold);
        transform: translateY(-3px);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    }

.meta-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.1), rgba(244, 208, 63, 0.08));
    border: 2px solid var(--moif-gold);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

    .meta-icon i {
        font-size: 24px;
        color: var(--moif-gold);
        transition: all 0.3s ease;
    }

.meta-card:hover .meta-icon {
    background: var(--moif-gold);
    transform: scale(1.08);
}

    .meta-card:hover .meta-icon i {
        color: var(--moif-white);
    }

.meta-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.meta-label {
    color: var(--moif-text-light);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-value {
    color: var(--moif-blue-dark);
    font-size: 15px;
    font-weight: 700;
}

/* ============================================
   SECTION TITLES
   ============================================ */
.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--moif-blue-dark);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--moif-gold);
}

.title-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--moif-gold), var(--moif-gold-bright));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .title-icon i {
        font-size: 20px;
        color: var(--moif-white);
    }

.title-text {
    flex: 1;
}

.files-count-badge {
    background: rgba(201, 162, 39, 0.1);
    color: var(--moif-gold);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 700;
}

/* ============================================
   REPORT DESCRIPTION
   ============================================ */
.report-description-section {
    margin-bottom: 35px;
}

.description-content {
    color: var(--moif-text);
    font-size: 15px;
    line-height: 1.9;
    padding: 20px;
    background: var(--moif-light-bg);
    border-radius: 10px;
    border-left: 4px solid var(--moif-gold);
}

[dir="rtl"] .description-content {
    border-left: none;
    border-right: 4px solid var(--moif-gold);
}

.description-content p {
    margin-bottom: 15px;
}

    .description-content p:last-child {
        margin-bottom: 0;
    }

/* ============================================
   REPORT FILES SECTION
   ============================================ */
.report-files-section {
    margin-bottom: 35px;
}

.files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.file-card {
    background: var(--moif-white);
    border: 2px solid var(--moif-border);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

    .file-card:hover {
        border-color: var(--moif-gold);
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }

.file-card-header {
    padding: 20px;
    background: linear-gradient(135deg, rgba(13, 27, 62, 0.03) 0%, rgba(26, 43, 74, 0.02) 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.file-type-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .file-type-icon i {
        font-size: 32px;
        transition: all 0.3s ease;
    }

.file-card:hover .file-type-icon {
    transform: scale(1.1) rotate(5deg);
}

/* File Type Colors */
.file-type-pdf {
    background: rgba(220, 53, 69, 0.1);
    border: 2px solid #dc3545;
}

    .file-type-pdf i {
        color: #dc3545;
    }

.file-type-word {
    background: rgba(0, 123, 255, 0.1);
    border: 2px solid #007bff;
}

    .file-type-word i {
        color: #007bff;
    }

.file-type-excel {
    background: rgba(40, 167, 69, 0.1);
    border: 2px solid #28a745;
}

    .file-type-excel i {
        color: #28a745;
    }

.file-type-ppt {
    background: rgba(255, 193, 7, 0.1);
    border: 2px solid #ffc107;
}

    .file-type-ppt i {
        color: #ffc107;
    }

.file-type-zip {
    background: rgba(108, 117, 125, 0.1);
    border: 2px solid #6c757d;
}

    .file-type-zip i {
        color: #6c757d;
    }

.file-type-image {
    background: rgba(156, 39, 176, 0.1);
    border: 2px solid #9c27b0;
}

    .file-type-image i {
        color: #9c27b0;
    }

.file-type-default {
    background: rgba(201, 162, 39, 0.1);
    border: 2px solid var(--moif-gold);
}

    .file-type-default i {
        color: var(--moif-gold);
    }

.file-extension-badge {
    background: var(--moif-blue-dark);
    color: var(--moif-white);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 700;
}

.file-card-body {
    padding: 20px;
    flex: 1;
}

.file-name {
    color: var(--moif-blue-dark);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.file-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--moif-text-light);
    font-size: 13px;
    font-weight: 600;
}

.file-size i {
    color: var(--moif-gold);
    font-size: 14px;
}

.file-card-footer {
    padding: 15px 20px;
    background: var(--moif-light-bg);
    border-top: 1px solid var(--moif-border);
    display: flex;
    gap: 10px;
}

.btn-file-action {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-view {
    background: var(--moif-white);
    border: 2px solid var(--moif-blue-dark);
    color: var(--moif-blue-dark);
}

    .btn-view:hover {
        background: var(--moif-blue-dark);
        color: var(--moif-white);
    }

.btn-download {
    background: linear-gradient(135deg, var(--moif-gold), var(--moif-gold-bright));
    border: 2px solid transparent;
    color: var(--moif-white);
}

    .btn-download:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(201, 162, 39, 0.4);
    }

/* ============================================
   SHARE SECTION
   ============================================ */
.report-share-section {
    padding: 30px;
    background: linear-gradient(135deg, rgba(13, 27, 62, 0.03) 0%, rgba(26, 43, 74, 0.02) 100%);
    border: 1px solid var(--moif-border);
    border-radius: 12px;
    margin-bottom: 25px;
}

.share-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--moif-blue-dark);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

    .share-title i {
        color: var(--moif-gold);
        font-size: 22px;
    }

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.share-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 22px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

    .share-btn:hover {
        transform: translateY(-5px) scale(1.1);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    }

    .share-btn.facebook {
        background: #1877f2;
        color: var(--moif-white);
    }

    .share-btn.twitter {
        background: #000000;
        color: var(--moif-white);
    }

    .share-btn.linkedin {
        background: #0077b5;
        color: var(--moif-white);
    }

    .share-btn.whatsapp {
        background: #25d366;
        color: var(--moif-white);
    }

    .share-btn.copy {
        background: var(--moif-gold);
        color: var(--moif-white);
    }

/* ============================================
   REPORT ACTIONS
   ============================================ */
.report-actions {
    display: flex;
    justify-content: center;
}

.btn-back-reports {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--moif-blue-dark), var(--moif-blue));
    color: var(--moif-white);
    padding: 14px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(13, 27, 62, 0.2);
}

    .btn-back-reports:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(13, 27, 62, 0.3);
    }

    .btn-back-reports i {
        font-size: 18px;
    }

/* ============================================
   SIDEBAR
   ============================================ */
.report-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: var(--moif-white);
    border: 1px solid var(--moif-border);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

    .sidebar-widget:hover {
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }

.widget-header {
    padding: 20px;
     border-bottom: 3px solid var(--moif-gold);
}

.widget-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--moif-white);
    font-size: 17px;
    font-weight: 700;
    margin: 0;
}

    .widget-title i {
        font-size: 20px;
        color: var(--moif-gold-bright);
    }

.widget-body {
    padding: 20px;
}

.widget-description {
    color: var(--moif-text-light);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Quick Info List */
.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed var(--moif-border);
}

    .info-item:last-child {
        border-bottom: none;
    }

.info-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--moif-text-light);
    font-size: 13px;
    font-weight: 600;
}

    .info-label i {
        color: var(--moif-gold);
        font-size: 16px;
    }

.info-value {
    color: var(--moif-blue-dark);
    font-size: 14px;
    font-weight: 700;
    text-align: right;
}

[dir="rtl"] .info-value {
    text-align: left;
}

/* Related Reports */
.related-reports-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.related-report-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--moif-light-bg);
    border: 1px solid var(--moif-border);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .related-report-item:hover {
        background: var(--moif-white);
        border-color: var(--moif-gold);
        transform: translateX(-5px);
    }

[dir="rtl"] .related-report-item:hover {
    transform: translateX(5px);
}

.related-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--moif-gold), var(--moif-gold-bright));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .related-icon i {
        font-size: 20px;
        color: var(--moif-white);
    }

.related-content {
    flex: 1;
}

.related-title {
    color: var(--moif-blue-dark);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-year {
    color: var(--moif-text-light);
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

    .related-year i {
        color: var(--moif-gold);
    }

.related-arrow {
    color: var(--moif-gold);
    font-size: 20px;
    transition: transform 0.3s ease;
}

.related-report-item:hover .related-arrow {
    transform: translateX(-5px);
}

[dir="rtl"] .related-report-item:hover .related-arrow {
    transform: translateX(5px);
}

/* Download Files List */
.download-files-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.download-file-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--moif-light-bg);
    border: 1px solid var(--moif-border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--moif-blue-dark);
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .download-file-item:hover {
        background: var(--moif-gold);
        border-color: var(--moif-gold);
        color: var(--moif-white);
        transform: translateX(-5px);
    }

[dir="rtl"] .download-file-item:hover {
    transform: translateX(5px);
}

.download-file-item i:first-child {
    font-size: 18px;
    color: var(--moif-gold);
}

.download-file-item:hover i:first-child {
    color: var(--moif-white);
}

.file-name-truncate {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.download-file-item i:last-child {
    font-size: 16px;
    color: var(--moif-gold);
}

.download-file-item:hover i:last-child {
    color: var(--moif-white);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 991px) {
    .report-details-content {
        padding: 30px 25px;
    }

    .report-main-title {
        font-size: 26px;
    }

    .files-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .report-sidebar {
        position: static;
        margin-top: 30px;
    }
}

@media (max-width: 767px) {
    .page-title-report-details {
        padding: 100px 0 60px;
    }

    .report-details-content {
        padding: 25px 20px;
    }

    .report-main-title {
        font-size: 22px;
    }

    .report-subtitle {
        font-size: 16px;
    }

    .files-grid {
        grid-template-columns: 1fr;
    }

    .file-card-footer {
        flex-direction: column;
    }

    .btn-file-action {
        width: 100%;
    }

    .share-buttons {
        justify-content: center;
    }

    .meta-card {
        flex-direction: column;
        text-align: center;
    }

    .meta-content {
        align-items: center;
    }
}

@media (max-width: 575px) {
    .report-badges-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .report-badge {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 18px;
        flex-wrap: wrap;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .page-title-report-details,
    .breadcrumb-nav,
    .report-share-section,
    .report-actions,
    .report-sidebar,
    .btn-file-action {
        display: none;
    }

    .report-details-content {
        box-shadow: none;
        padding: 0;
    }

    .file-card {
        break-inside: avoid;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.btn-file-action:focus-visible,
.share-btn:focus-visible,
.btn-back-reports:focus-visible {
    outline: 3px solid var(--moif-gold);
    outline-offset: 3px;
}