/* custom-map-style.css */
.main-container {
    display: flex;
    flex-direction: column;
    font-size: 14px;
}

.row {
    display: flex;
    flex-direction: row;
    margin-bottom: 10px;
}

.row.first {
    padding: 15px 20px;
    background-color: #012b49;
    margin-left: 10px;
}

.column1, .column2 {
    flex: 1;
}

.column1 {
    max-width: 300px;
    overflow-y: auto;
    padding: 0 10px;
    height: 500px;
}

.map {
    width: 100%;
    height: 500px;
}

.location-list {
    padding-bottom: 20px;
}

.list-block {
    border: 1px solid #ccc;
    padding: 10px;
    margin-bottom: 20px;
    background-color: #fff;
}

.textfield {
    padding: 10px 30px !important;
    margin-right: 10px;
    border: 1px solid rgba(0, 0, 0, .1);
    box-shadow: 0 1px 5px rgba(0, 0, 0, .0);
    border-radius: 4px;
    font-size: 14px;
    color: #111;
    font-family: 'Roboto',Helvetica,Arial,Lucida,sans-serif; 
    box-sizing: border-box;
}

.textfield::placeholder {
    color: #4e4e4e; /* Placeholder color */
}

.info-address,
.info-link,
.info-button {
    padding: 4px 0;
    display: inline-block;
}

.info-button {
    margin-top: 2px;
    margin-bottom: 2px;
}

.button {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 3px;
    color: white;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
}

.select-location, .choose-location {
    margin-bottom: 4px;
}

.select-location {
    background-color: #215384;;
}

.choose-location {
    background-color: #F6871F;
}

.direction-link {
    background-color: #215384;
    color: white;
    font-weight: 500;
    border-radius: 4px;
    padding: 5px 10px;
}

.firstHeading {
    color: #111;
    margin-bottom: 2px;
}

.gm-style-iw-d {
    max-width: 230px;
}

.scroll-notice {
    display: none;
}

/* For desktop view, align the button to the right of the text field */
.use-location-btn {
    margin-left: auto;
    padding: 10px 20px;
    background-color: #F6871F;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

/* Responsive Design */
@media only screen and (max-width: 768px) {
    .row {
        flex-direction: column;
    }
    .row.first {
        flex-direction: column;
        margin-left: 0;
        padding: 10px;
    }
    .textfield {
        width: 100%;
        margin-right: 0;
    }
    .textfield {
        padding: 10px 30px !important;
    }

    .column1 {
        max-width: 320px;
        overflow-y: auto;
        padding: 0 0;
        height: auto;
    }
    .map {
        height: 200px;
        margin-top: 20px !important;
    }

    .location-list {
        max-height: 300px;
        overflow-y: auto;
    }

    #error-message {
        margin-left: 0px !important;
        font-size: small;
        margin-top: 5px;
    }

    .list-block {
        font-size: small;
    }

    .scroll-notice {
        display: block;
        color: white;
        padding: 20px 0px 5px 5px;
        font-size: small;
        background-color: #012b49;
    }

    .use-location-btn {
        width: 100%;
        margin-top: 10px;
    }
}