/* 
This CSS file contains styling rules for an autocomplete bar, loading indicator, and progress bar.

CSS Rules:
1. .autocomplete-bar-container
   - Styles the container for the autocomplete bar, setting its maximum width, margin, and padding.

2. #autocomplete-address
   - Styles the input field for entering a location, adjusting its width, padding, margin, border radius, and box shadow.

3. #autocomplete-address::placeholder
   - Styles the placeholder text within the input field, specifying the font family.

4. #submit-address
   - Styles the submit button, setting its padding, border radius, box shadow, border, and font family, with a hover effect.

5. #loading-indicator
   - Styles the loading indicator for displaying a loading overlay on the page.

6. .loading-text
   - Styles the loading text within the loading indicator, specifying font size, weight, color, and text alignment.

7. .progress-bar
   - Styles the outer container of the progress bar, setting its width, height, background color, border radius, and margin.

8. .progress-bar-inner
   - Styles the inner part of the progress bar, specifying its height, background color, border radius, and initial width, with a keyframe animation to increase width.

9. @keyframes increaseWidth
   - Defines a keyframe animation to increase the width of the progress bar over time.
*/
.autocomplete-bar-container {
    max-width: 500px;
    margin: auto;
    padding: 20px;
}

#autocomplete-address {
    width: 70%;
    padding: 10px;
    margin-right: 10px;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    font-family: 'Awesome Font', sans-serif;
}

#autocomplete-address::placeholder {
    font-family: 'Awesome Font', sans-serif;
}

#submit-address {
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    border: none;
    font-family: 'Awesome Font', sans-serif;
}

#submit-address:hover {
    background-color: darkgrey;
}

#loading-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    flex-direction: column;
}

.loading-text {
    font-size: 36px;
    font-weight: bold;
    color: white;
    text-align: center;
}

.progress-bar {
    width: 80%;
    height: 20px;
    background-color: #ddd;
    border-radius: 5px;
    margin: 20px auto; /* Margin for top/bottom and auto for left/right */
    display: flex; /* Using flexbox for the progress bar */
    align-items: center; /* Centering the inner bar vertically */
}

.progress-bar-inner {
    height: 100%;
    background-color: #4CAF50; /* Green color for the progress */
    border-radius: 5px;
    width: 0%; /* Start with 0% width */
    animation: increaseWidth 2s linear infinite;
}

@keyframes increaseWidth {
    0%, 100% { width: 0%; }
    50% { width: 100%; }
}