/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    text-align: center;
    margin: 0;
    padding: 20px;
    background-color: #f9f9f9;
    color: #333;
}

/* Header */
h2 {
    color: #222;
    margin-bottom: 15px;
    font-size: 24px;
}

/* Map Container */
#map {
    height: 500px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    border: 2px solid #ddd;
}

/* Status Messages */
#result, #uploadStatus {
    font-size: 18px;
    margin-top: 15px;
    padding: 12px;
    border-radius: 5px;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Success and Error Messages */
#result {
    background: #fff;
    border: 1px solid #ddd;
}

#uploadStatus.success {
    color: green;
}

#uploadStatus.error {
    color: red;
}

/* Buttons */
button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 14px 22px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.15);
}

button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* File Input Styling */
#fileInput {
    display: none;
}

/* Footer */
footer {
    margin-top: 30px;
    padding: 15px;
    background-color: #333;
    color: white;
    font-size: 14px;
    text-align: center;
    border-top: 3px solid #007bff;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #map {
        height: 350px;
    }

    button {
        width: 90%;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    #map {
        height: 300px;
    }

    h2 {
        font-size: 20px;
    }

    #result, #uploadStatus {
        font-size: 16px;
    }

    button {
        width: 100%;
    }

    footer {
        font-size: 12px;
    }
}
