/* -------------------------------------------------------
   CHART PAGE LAYOUT
------------------------------------------------------- */

.chart-container {
    max-width: 900px;
    margin: 0 auto;
}

.chart-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 6px;
}

.chart-subtitle {
    font-size: 15px;
    color: #555;
    margin-bottom: 24px;
}

/* -------------------------------------------------------
   CHART CARDS
------------------------------------------------------- */

.chart-card {
    background: white;
    border-radius: 14px;
    margin-bottom: 18px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    overflow: hidden;
}

.chart-card-header {
    padding: 16px 20px;
    font-size: 18px;
    font-weight: 600;
    background: #eef2ff;
    color: #4f46e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.chart-card-header:hover {
    background: #e0e7ff;
}

.chevron {
    transition: transform 0.25s ease;
    font-size: 18px;
}

.chevron.rotated {
    transform: rotate(180deg);
}

.chart-card-body {
    padding: 16px 20px;
    display: none;
    border-top: 1px solid #eee;
}

.chart-card-body.open {
    display: block;
}

/* -------------------------------------------------------
   FIELDS & LISTS
------------------------------------------------------- */

.chart-field {
    margin-bottom: 10px;
    font-size: 15px;
}

.chart-list-item {
    background: #f9fafb;
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 14px;
    border: 1px solid #eee;
}

.thumbnail {
    width: 300px;
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
    display: block;
}

.empty {
    font-size: 14px;
    color: #777;
    padding: 6px 0;
}

/* -------------------------------------------------------
   RESPONSIVE
------------------------------------------------------- */

@media (max-width: 700px) {
    .chart-title {
        font-size: 24px;
    }
    .chart-card-header {
        font-size: 16px;
    }
}
