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 2px 10px rgba(0,0,0,0.1);
}

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

.input-section {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    align-items: end;
}

.input-group {
    display: flex;
    flex-direction: column;
    min-width: 150px;
}

label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #555;
}

input, select {
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

input:focus, select:focus {
    outline: none;
    border-color: #4CAF50;
}

button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    height: fit-content;
}

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

.button-secondary {
    background-color: #2196F3;
}

.button-secondary:hover {
    background-color: #1976D2;
}

.button-danger {
    background-color: #f44336;
}

.button-danger:hover {
    background-color: #d32f2f;
}

.button-small {
    padding: 5px 10px;
    font-size: 14px;
}

.chart-container {
    position: relative;
    height: 600px;
    margin-top: 20px;
}

.info-box {
    background-color: #e8f5e8;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    border-left: 4px solid #4CAF50;
}

.error {
    background-color: #ffebee;
    border-left-color: #f44336;
    color: #c62828;
}

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

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.legend-color {
    width: 20px;
    height: 3px;
}

/* Saved Points Styles */
.saved-points-section {
    margin-top: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 5px;
    border-left: 4px solid #2196F3;
}

.saved-points-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.saved-points-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.saved-point-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background-color: white;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
}

.saved-point-info {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.saved-point-label {
    font-weight: bold;
    color: #333;
    min-width: 120px;
}

.saved-point-details {
    color: #666;
    font-size: 14px;
}

.saved-point-marker {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}

.no-saved-points {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 20px;
}

.saved-points-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.saved-points-actions .button-small {
    font-size: 12px;
    padding: 4px 8px;
}

/* Usage Guide Section */
.usage-guide {
    margin-top: 30px;
    padding: 20px;
    background-color: #f0f8ff;
    border-radius: 5px;
    border-left: 4px solid #007bff;
}

.usage-guide h2 {
    margin-top: 0;
    color: #333;
    font-size: 18px;
}

.usage-guide ol {
    color: #555;
    line-height: 1.6;
}

/* Info Section */
.info-section {
    margin-top: 20px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 5px;
    font-size: 14px;
}

.info-section h3 {
    margin-top: 0;
    color: #555;
}

/* Disclaimer Section */
.disclaimer {
    background-color: #fff3cd;
    padding: 15px;
    border-radius: 4px;
    border-left: 4px solid #ffc107;
}

.disclaimer h3 {
    color: #856404;
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 8px;
}

.disclaimer p {
    color: #856404;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .container {
        padding: 20px;
    }
    
    .input-section {
        gap: 15px;
    }
    
    .input-group {
        min-width: 120px;
    }
    
    .saved-point-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .saved-point-label {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .input-section {
        flex-direction: column;
        align-items: stretch;
    }
    
    .input-group {
        min-width: auto;
    }
    
    button {
        width: 100%;
        margin-top: 10px;
    }
} 