/* Project Reports Listing Styles */

.project-reports-listing-section {
    padding: 45px 0;
    background: #f8f9fa;
}

.dark-theme .project-reports-listing-section {
    background: #1a1a1a;
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.report-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.report-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.dark-theme .report-card {
    background: #2d2d2d;
}

/* Report Card Header */
.report-card-header {
    padding: 20px 25px 15px 25px;
    background: linear-gradient(135deg, rgba(81, 177, 70, 0.1), rgba(0, 75, 107, 0.1));
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.report-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #51b146, #004b6b);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.report-card:hover .report-card-icon {
    transform: scale(1.05) rotate(3deg);
}

.report-card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.report-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.report-type,
.report-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666666;
    font-size: 0.85rem;
    font-weight: 500;
}

.report-type i,
.report-date i {
    color: #51b146;
    font-size: 0.7rem;
}

.report-card-title {
    margin: 0 0 15px 0;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
}

.report-card-title a {
    color: #004b6b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.dark-theme .report-card-title a {
    color: #eeeff1;
}

.report-card-title a:hover {
    color: #51b146;
}

.report-card-excerpt {
    color: #666666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.dark-theme .report-card-excerpt {
    color: #cccccc;
}

.report-card-footer {
    display: flex;
    gap: 10px;
    margin-top: auto;
    flex-wrap: wrap;
}

.report-card-footer .download-btn,
.report-card-footer .view-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    flex: 1;
    min-width: 140px;
    justify-content: center;
}

.report-card-footer .download-btn {
    background: linear-gradient(135deg, #51b146, #004b6b);
    color: #ffffff;
}

.report-card-footer .download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(81, 177, 70, 0.4);
}

.report-card-footer .view-btn {
    background: transparent;
    color: #51b146;
    border: 2px solid #51b146;
    padding: 8px 16px;
    font-size: 0.8rem;
}

.report-card-footer .view-btn:hover {
    background: #51b146;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(81, 177, 70, 0.3);
}

.report-card-footer .download-btn i,
.report-card-footer .view-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.report-card-footer .download-btn:hover i,
.report-card-footer .view-btn:hover i {
    transform: translateX(3px);
}

/* Dark Theme */
.dark-theme .report-card-header {
    background: linear-gradient(135deg, rgba(81, 177, 70, 0.1), rgba(0, 75, 107, 0.1));
}

.dark-theme .report-type,
.dark-theme .report-date {
    color: #cccccc;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .reports-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 767.98px) {
    .project-reports-listing-section {
        padding: 40px 0;
    }
    
    .reports-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .report-card-content {
        padding: 20px;
    }
    
    .report-card-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .report-card-footer {
        flex-direction: column;
        gap: 10px;
    }
    
    .report-card-footer .download-btn,
    .report-card-footer .view-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .report-card-title {
        font-size: 1.1rem;
    }
    
    .report-card-excerpt {
        font-size: 0.9rem;
    }
}

