/* Interactive Chart Styles */
.chart-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 30px;
    margin: 20px 0;
}

.chart-controls {
    margin-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 20px;
}

.time-info h3 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
}

.time-info p {
    margin: 0;
    color: #7f8c8d;
    font-size: 1.1rem;
}

.control-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.slider-container {
    flex: 1;
}

.slider-container label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #34495e;
}

.time-slider {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #ddd;
    outline: none;
    -webkit-appearance: none;
    margin: 15px 0;
    z-index: 10;
    position: relative;
}

.time-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3498db;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
}

.time-slider::-webkit-slider-thumb:hover {
    background: #2980b9;
    transform: scale(1.1);
}

.time-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3498db;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-top: 5px;
    width: 100%;
}

.slider-labels span:first-child {
    flex: 0 0 auto;
}

.slider-labels span:last-child {
    flex: 0 0 auto;
}

.play-controls {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.control-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(52, 152, 219, 0.3);
}

.control-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

.control-btn:active {
    transform: translateY(0);
}

/* Charts Grid Layout */
.charts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 20px;
}

.chart-item {
    background: #fafafa;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #ecf0f1;
}

.chart-item h4 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    border-bottom: 2px solid #e3e3e3;
    padding-bottom: 8px;
}

.chart-wrapper {
    position: relative;
    height: 200px;
    margin: 10px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .chart-container {
        padding: 20px;
        margin: 10px 0;
    }
    
    .charts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .control-panel {
        gap: 15px;
    }
    
    .play-controls {
        justify-content: center;
        gap: 10px;
    }
    
    .control-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .chart-wrapper {
        height: 180px;
    }
    
    .chart-item {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .time-info h3 {
        font-size: 1.2rem;
    }
    
    .chart-wrapper {
        height: 160px;
    }
    
    .chart-item h4 {
        font-size: 1rem;
    }
} 