﻿/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #303030;
    color: white;
}

h1 {
    text-align: center;
    margin: 20px 0;
    color: white;
}

/* Map Container */
#map {
    width: 90%;
    height: 400px;
    margin: 20px auto;
    border: 3px solid #3498db;
    border-radius: 12px;
    background: linear-gradient(135deg, #e0f7fa, #b3e5fc);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19);
    position: relative;
    overflow: hidden;
}


/* Controls Section */
#controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

    #controls label {
        font-weight: bold;
        margin-right: 5px;
    }

#radius {
    width: 80px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#controls button {
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    background-color: #3498db;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
}

    #controls button:hover {
        background-color: #2980b9;
    }

/* Results Section */
#results {
    padding: 20px;
    margin: 20px auto;
    max-width: 800px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

    #results h2 {
        text-align: center;
        color: #2c3e50;
    }

    #results p {
        margin: 10px 0;
        line-height: 1.6;
    }

#place-search {
    width: 300px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
}

    #place-search:focus {
        border-color: #3498db;
        box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
    }


/* Responsive Design */
@media (max-width: 768px) {
    #controls {
        flex-direction: column;
        gap: 15px;
    }

        #controls label {
            margin: 0;
        }

        #controls button {
            width: 100%;
            font-size: 16px;
        }
}
