/* styles.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f0f2f5;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.controls {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

#startBtn {
    background-color: #4CAF50;
    color: white;
}

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

#stopBtn {
    background-color: #f44336;
    color: white;
}

#stopBtn:hover {
    background-color: #da190b;
}

#stopBtn:disabled,
#startBtn:disabled,
#exportBtn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.status {
    padding: 8px 16px;
    border-radius: 4px;
    background-color: #f0f2f5;
    font-size: 14px;
}

.map-container {
    height: 500px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.info-panel {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.info-panel h3 {
    margin-bottom: 15px;
    color: #333;
}

#routeInfo {
    margin-bottom: 20px;
    font-size: 14px;
}

#routeInfo p {
    margin: 8px 0;
    color: #666;
}

.export-section {
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: 15px;
}

#exportBtn {
    background-color: #2196F3;
    color: white;
}

#exportBtn:hover {
    background-color: #1976D2;
}

@media (max-width: 768px) {
    .controls {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        width: 100%;
    }
    
    .map-container {
        height: 400px;
    }
}
