body {
    font-family: Arial, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f5f5f5;
}

.container {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h1 {
    color: #333;
    text-align: center;
}

.upload-area {
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    margin: 20px 0;
    transition: border-color 0.3s;
}

.upload-area:hover {
    border-color: #999;
}

.upload-area.highlight {
    border-color: #4CAF50;
    background-color: #f8fff8;
}

.file-input {
    display: none;
}

.upload-btn {
    background-color: #4CAF50;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin: 10px;
}

.upload-btn:hover {
    background-color: #45a049;
}

.file-info {
    margin: 15px 0;
    padding: 10px;
    background-color: #e9f7ef;
    border-radius: 5px;
    display: none;
}

.process-btn {
    background-color: #2196F3;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin: 10px;
    display: none;
}

.process-btn:hover {
    background-color: #0b7dda;
}

.download-btn {
    background-color: #FF9800;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin: 10px;
    display: none;
}

.download-btn:hover {
    background-color: #e68a00;
}

.status {
    margin: 15px 0;
    padding: 10px;
    border-radius: 5px;
    display: none;
}

.status.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.instructions {
    background-color: #e3f2fd;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
}

.instructions h3 {
    margin-top: 0;
}

.instructions ol {
    margin-bottom: 0;
}

.chart-container {
    margin: 30px 0;
    display: none;
    position: relative;
}

#chart {
    width: 100%;
    height: 500px;
    cursor: crosshair;
}

.chart-tooltip {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px;
    border-radius: 5px;
    pointer-events: none;
    display: none;
    font-size: 14px;
    z-index: 1000;
    min-width: 150px;
}

.chart-tooltip::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    transform: rotate(45deg);
    bottom: -5px;
    left: 50%;
    margin-left: -5px;
}

.chart-tooltip-header {
    font-weight: bold;
    margin-bottom: 5px;
    border-bottom: 1px solid #fff;
    padding-bottom: 3px;
}