body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}

h2 {
    color: #2c3e50;
    margin-top: 0;
}

.chart-container {
    width: 100%;
    height: 400px;
    margin-bottom: 20px;
}

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

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

button:hover {
    background-color: #3e8e41;
}

.primary-button {
    background-color: #2980b9;
}

.primary-button:hover {
    background-color: #2471a3;
}

/* Dashboard layout */
.dashboard {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .dashboard {
        grid-template-columns: 1fr;
    }
}

.card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.preview-chart {
    width: 100%;
    height: 250px;
    border-radius: 4px;
    margin-bottom: 15px;
    background-color: #f7f9fc;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chart-placeholder {
    width: 90%;
    height: 80%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.graph-line {
    height: 2px;
    width: 100%;
    position: relative;
    margin: 10px 0;
}

.graph-line::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    border-radius: 2px;
}

.graph-line.blue::before {
    background: linear-gradient(90deg, rgba(54, 162, 235, 0.2) 0%, rgba(54, 162, 235, 1) 50%, rgba(54, 162, 235, 0.2) 100%);
    animation: pulse 3s infinite;
}

.graph-line.green::before {
    background: linear-gradient(90deg, rgba(75, 192, 192, 0.2) 0%, rgba(75, 192, 192, 1) 50%, rgba(75, 192, 192, 0.2) 100%);
    animation: pulse 3s infinite 0.5s;
}

.graph-line.red::before {
    background: linear-gradient(90deg, rgba(255, 99, 132, 0.2) 0%, rgba(255, 99, 132, 1) 50%, rgba(255, 99, 132, 0.2) 100%);
    animation: pulse 3s infinite 1s;
}

.chart-placeholder .label {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-top: 15px;
}

@keyframes pulse {
    0% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.6;
    }
}

.footer {
    margin-top: 40px;
    text-align: center;
    color: #7f8c8d;
    font-size: 14px;
    border-top: 1px solid #ecf0f1;
    padding-top: 20px;
}