.crm-frontend-wrap {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
.crm-reports-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
gap: 25px;
margin-top: 20px;
}
.crm-report-card {
background: #fff;
border-radius: 10px;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
padding: 25px;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.crm-report-card:hover {
transform: translateY(-3px);
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.report-title {
margin: 0 0 15px 0;
font-size: 1.6em;
color: #2271b1;
line-height: 1.3;
}
.report-meta {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
padding-bottom: 15px;
border-bottom: 1px solid #eee;
}
.report-date,
.report-files {
font-size: 0.9em;
color: #666;
}
.report-description {
color: #444;
line-height: 1.6;
margin-bottom: 25px;
}
.report-description p {
margin: 0 0 15px 0;
}
.report-description p:last-child {
margin-bottom: 0;
}
.report-files-list {
border-top: 1px solid #eee;
padding-top: 20px;
margin-top: 20px;
}
.report-files-list h4 {
margin: 0 0 15px 0;
font-size: 1.2em;
color: #333;
}
.report-files-grid {
display: grid;
gap: 12px;
}
.report-file-item {
display: flex;
align-items: center;
padding: 12px 15px;
background: #f8f9fa;
border-radius: 6px;
transition: background-color 0.2s ease;
}
.report-file-item:hover {
background: #f0f6fc;
}
.file-icon {
font-size: 1.3em;
margin-right: 12px;
color: #2271b1;
width: 24px;
text-align: center;
}
.report-file-link {
flex: 1;
display: flex;
justify-content: space-between;
align-items: center;
color: #2271b1;
text-decoration: none;
font-size: 0.95em;
line-height: 1.4;
}
.report-file-link:hover {
color: #135e96;
}
.file-date {
color: #666;
font-size: 0.9em;
margin-left: 15px;
white-space: nowrap;
}
.crm-no-reports {
text-align: center;
color: #666;
font-style: italic;
padding: 50px 0;
font-size: 1.1em;
} .fa-file-pdf {
color: #dc3545;
}
.fa-file-word {
color: #2b579a;
}
.fa-file-excel {
color: #217346;
}
.fa-file-powerpoint {
color: #d24726;
}
.fa-file-image {
color: #fd7e14;
}
.fa-file-archive {
color: #6f42c1;
}
.fa-file-video {
color: #e83e8c;
}
.fa-file-audio {
color: #20c997;
}
.fa-file-code {
color: #17a2b8;
}
@media (max-width: 768px) {
.crm-reports-grid {
grid-template-columns: 1fr;
gap: 20px;
}
.crm-report-card {
padding: 20px;
}
.report-title {
font-size: 1.4em;
}
.report-meta {
flex-direction: column;
align-items: flex-start;
gap: 8px;
}
.report-file-link {
flex-direction: column;
align-items: flex-start;
gap: 5px;
}
.file-date {
margin-left: 36px;
}
}