.containerInsights {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    padding-bottom: 100px;
}

.containerInsights h1 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
}

.insights-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.insight-item {
    margin-bottom: 15px;
    padding: 15px;
    background: #f9f9f9;
    border-left: 4px solid #007bff;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.insight-item:hover {
    background: #f0f0f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.insight-title {
    text-decoration: none;
    color: #007bff;
    font-weight: 600;
    font-size: 1.1rem;
}

.insight-title:hover {
    text-decoration: underline;
    color: #0056b3;
}

.no-insights {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 1.1rem;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    margin: 20px 0;
}

/* Filter Styles */
.insights-filter-container {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.filter-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 8px 16px;
    border: 2px solid #007bff;
    background: #fff;
    color: #007bff;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-btn:hover {
    background: #e7f1ff;
    border-color: #0056b3;
}

.filter-btn.active {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

.filter-btn.active:hover {
    background: #0056b3;
    border-color: #0056b3;
}

/* Individual Insight Page Styles */
.containerInsight {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    padding-bottom: 100px;
}

.insight {
    line-height: 1.6;
    color: #333;
}

.insight > h1.insight-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #222;
    line-height: 1.3;
}

.insight-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    flex-wrap: wrap;
}

.insight-category {
    display: inline-block;
    background: #e7f3ff;
    color: #0056b3;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.insight-date {
    color: #666;
    font-size: 0.95rem;
    font-weight: 500;
}

.insight-cover {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 30px;
    display: block;
}

/* Content Blocks */
.content-block {
    margin-bottom: 30px;
}

.text-block {
    font-size: 1rem;
    line-height: 1.8;
}

.text-block h1 {
    font-size: 2rem;
    margin: 30px 0 15px 0;
    color: #222;
}

.text-block h2 {
    font-size: 1.6rem;
    margin: 25px 0 12px 0;
    color: #333;
}

.text-block h3 {
    font-size: 1.3rem;
    margin: 20px 0 10px 0;
    color: #444;
}

.text-block p {
    margin-bottom: 15px;
}

.text-block strong {
    font-weight: 700;
}

/* Table Block */
.table-block {
    overflow-x: auto;
}

.content-table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.content-table thead {
    background: #f8f9fa;
    font-weight: 700;
}

.content-table th {
    padding: 15px;
    text-align: left;
    border-bottom: 2px solid #dee2e6;
    color: #333;
}

.content-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #dee2e6;
}

.content-table tbody tr:hover {
    background: #f9f9f9;
}

/* Chart Block */
.chart-block {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.chart-container {
    position: relative;
    width: 100%;
}

/* SQL Loading Block */
.sql-loading {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 2px dashed #007bff;
}

/* Stat Block */
.stat-block {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.95;
    margin-bottom: 10px;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

/* Insight Block (Templated) */
.insight-block {
    background: #e7f3ff;
    border-left: 4px solid #0056b3;
    padding: 20px;
    border-radius: 4px;
    font-weight: 500;
    color: #0056b3;
}

.insight-block strong {
    font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
    .containerInsight {
        padding: 15px;
    }

    .insight > h1.insight-title {
        font-size: 1.8rem;
    }

    .insight-meta {
        flex-direction: column;
        gap: 10px;
    }

    .content-table {
        font-size: 0.9rem;
    }

    .content-table th,
    .content-table td {
        padding: 10px;
    }

    .stat-value {
        font-size: 2rem;
    }
}