body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-image: url('bg.jpg'); /* Background image */
    background-size: contain;
    background-position: center;
    background-attachment: fixed; /* Ensure the background stays fixed */
}

.container {
    height: 100vh; /* Full height */
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-container {
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1); /* Soft shadow */
    text-align: center;
}

#place-input {
    width: 300px;
    padding: 10px;
    border-radius: 25px;
    border: none;
    font-size: 18px;
    margin-bottom: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); /* Add some depth */
}

#fetch-button {
    width: 300px;
    padding: 10px;
    border-radius: 25px;
    border: none;
    background-color: #007BFF;
    color: white;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); /* Match input style */
    transition: background-color 0.3s ease; /* Smooth hover transition */
}

#fetch-button:hover {
    background-color: #01d20f;
}

.hidden {
    display: none;
}

#progress-dialog {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Dark transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensure it's on top of everything */
}

.dialog-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2); /* Slightly stronger shadow */
}


@media (max-width: 600px) {
    #place-input {
        font-size: 14px; /* Smaller font size on mobile */
        padding: 8px;
    }

    #fetch-button {
        font-size: 14px; /* Smaller font size on mobile */
        padding: 8px;
    }

    .form-container {
        padding: 15px; /* Less padding on mobile */
        width: 95%; /* Full width on mobile */
    }
}


@media (max-width: 600px) {
    body {
        background-image: url('mobile_bg.jpg');
        background-size: cover;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    body {
        background-size: cover; /* Ensure the background image covers the screen on tablets */
        background-image: url('mobile_bg.jpg');
    }
}