/* Statistics View Styles for Broadway Producers Database */

/* Chart container */
.chart-container {
    position: relative;
    height: 400px;
    margin: 20px 0;
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
}

/* Chart placeholder */
.chart-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

/* Chart controls */
.chart-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f0f0f0;
    border-radius: 8px;
}

.chart-selector, .chart-options {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chart-selector label, .chart-options label {
    font-weight: bold;
    color: #333;
}

.chart-selector select, .chart-options select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    font-size: 14px;
}

/* Chart insights */
.chart-insights {
    margin-top: 20px;
    padding: 15px;
    background-color: #f0f0f0;
    border-radius: 8px;
}

.chart-insights h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
}

.chart-insights ul {
    margin: 0;
    padding-left: 20px;
}

.chart-insights li {
    margin-bottom: 5px;
}

/* Data summary */
.data-summary {
    margin-top: 20px;
    width: 100%;
    max-width: 300px;
}

.data-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    justify-content: space-between;
}

.data-item-label {
    display: flex;
    align-items: center;
}

.color-box {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 8px;
    border-radius: 2px;
}

/* Chart section */
.chart-section {
    margin-bottom: 40px;
}

.chart-section h3 {
    margin-bottom: 15px;
    color: #0066cc;
}

/* Statistics tabs */
.stats-tabs {
    display: flex;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

.stats-tab {
    padding: 10px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    color: #666;
}

.stats-tab.active {
    color: #0066cc;
    border-bottom: 3px solid #0066cc;
}

/* Statistics content */
.stats-content {
    display: none;
}

.stats-content.active {
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .chart-controls {
        flex-direction: column;
        gap: 10px;
    }
    
    .chart-container {
        height: 300px;
    }
}

/* Color scheme for data visualization */
.color-1 { background-color: #ff6384; }
.color-2 { background-color: #36a2eb; }
.color-3 { background-color: #ffce56; }
.color-4 { background-color: #4bc0c0; }
.color-5 { background-color: #9966ff; }
.color-6 { background-color: #ff9f40; }
.color-7 { background-color: #c9cbcf; }
.color-8 { background-color: #8bc34a; }