/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
/* Create this file in /wp-content/plugins/eisentherapie/css/chart-styles.css */
.chart-header {
    margin-bottom: 20px;
}

.chart-controls {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
    margin-bottom: 20px;
}

.date-range-filter {
    display: flex;
    gap: 10px;
}
.reference-line .color-section {
  height: 100%;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.date-range-filter .btn.active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.metric-filter select {
    min-width: 200px;
}

.slider-container {
    margin-top: 20px;
}

.slider-labels {
    font-size: 12px;
    color: #666;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .chart-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .date-range-filter {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .metric-filter select {
        width: 100%;
    }
    
    .chart-header h3 {
        font-size: 1.2rem;
    }
    
    #ironTherapyChart {
        min-height: 350px;
        overflow: visible;
    }
    
    .apexcharts-canvas {
        overflow: visible !important;
    }
    
    .apexcharts-tooltip {
        font-size: 12px !important;
        max-width: 200px;
    }
    
    .slider-container {
        padding: 0 10px;
    }
    
    .slider-labels {
        font-size: 10px;
    }
    
    input[type="range"] {
        height: 30px;
    }
}

/* Slider styling */
input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 5px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    transition: opacity .2s;
}

input[type="range"]:hover {
    opacity: 1;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
}

input[type="range"]::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
}