/* Global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f0f0f0;
    color: #333;
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

.container {
    width: 80%;
    max-width: 1200px;
    margin: auto;
}

header {
    text-align: center;
    margin-bottom: 40px;
    color: #4CAF50;
    animation: fadeIn 2s ease-in-out;
}

header h1 {
    font-size: 36px;
}

header p {
    font-size: 18px;
    color: #555;
}

/* Dashboard styles */
.dashboard {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    animation: slideIn 1s ease-out;
}

.dashboard h2 {
    margin-bottom: 20px;
    color: #333;
}

.dashboard-item {
    margin: 20px 0;
    font-size: 18px;
    color: #333;
}

.dashboard-item strong {
    color: #4CAF50;
}

input[type="range"] {
    width: 100%;
    margin-top: 10px;
    background: #e0e0e0;
    border-radius: 5px;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
}

input[type="range"]:focus {
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 20px;
    width: 20px;
    background: #4CAF50;
    border-radius: 50%;
    cursor: pointer;
}

/* Controls panel styles */
.controls {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    text-align: center;
}

button {
    background-color: #4CAF50;
    color: white;
    font-size: 18px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

button:hover {
    background-color: #45a049;
}

/* Chart container */
.chart-container {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}
