
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f8f9fa;
    color: #333;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #2e7d32;
}

.controls {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 15px;
    margin-bottom: 20px;
}

.width-control {
    margin-bottom: 15px;
}

#width-slider {
    width: 100%;
    margin-top: 10px;
}

.buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
}

button {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 4px;
    background-color: #2e7d32;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    min-width: 120px;
}

button:hover {
    background-color: #1b5e20;
}

button.active {
    background-color: #d32f2f;
}

#map-container {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

#status {
    text-align: center;
    padding: 10px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

@media (max-width: 600px) {
    .buttons {
        flex-wrap: wrap;
    }
    
    button {
        min-width: auto;
        font-size: 14px;
        padding: 8px;
    }
    
    #map-container {
        height: 300px;
    }
}
