/* Dashboard Enhancements CSS */

/* Top Intro Banner */
.dashboard-intro-banner {
    background-color: #0056b3;
    color: white;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dashboard-intro-banner h2 {
    margin: 0 0 10px 0;
    font-size: 24px;
    font-weight: 600;
}

.dashboard-intro-banner p {
    margin: 0;
    font-size: 16px;
    opacity: 0.9;
}

/* Compliance Alignment Snapshot */
.compliance-matrix {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.compliance-matrix h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    color: #333;
}

.compliance-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

.compliance-table th, 
.compliance-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.compliance-table th {
    background-color: #e9ecef;
    font-weight: 600;
}

.compliance-matrix p {
    margin: 10px 0 0 0;
    font-style: italic;
    color: #555;
}

/* Insight Tags */
.insight-tag {
    background-color: #e9f7fe;
    border-left: 4px solid #0056b3;
    padding: 10px 15px;
    margin-top: 10px;
    font-size: 14px;
    color: #333;
    border-radius: 0 4px 4px 0;
}

/* Data Source Labels */
.data-source {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #6c757d;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px dashed #ddd;
}

.data-source .info-icon {
    margin-right: 5px;
    color: #0056b3;
}

/* Report Preview Section */
.report-preview {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.report-preview h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 20px;
    color: #333;
    display: flex;
    align-items: center;
}

.report-preview h3 .report-icon {
    margin-right: 10px;
}

.report-preview-content {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.report-metric {
    flex: 1;
    min-width: 200px;
    background-color: white;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.report-metric h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #555;
}

.report-metric .value {
    font-size: 24px;
    font-weight: 600;
    color: #0056b3;
}

.generate-report-btn {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.3s;
}

.generate-report-btn:hover {
    background-color: #218838;
}

.generate-report-btn .btn-icon {
    margin-right: 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .compliance-table {
        font-size: 14px;
    }
    
    .report-metric {
        min-width: 100%;
    }
}
