/* Section */
.fuel-finder-section {
    padding: 40px 0;
}

.section-title {
    color: #1D4288;
    font-family: Helvetica, sans-serif;
    font-style: normal;
    font-weight: 400;
    line-height: 1.25;
    /* 125% */
    letter-spacing: -2px;
    margin-bottom: 40px;
    font-size: 36px;
}

/* App */
#map {
    height: 100%;
    width: 100%;
    border-radius: 2.5rem;
    min-height: 255px;
}

.search-group {
    position: relative;
    flex: 1 1 auto;
}

.search-group input {
    padding-left: 52px;
    padding-right: 52px;
    border-radius: 30px;
    font-size: 16px;
    height: 100%;
}

.search-group .search-icon {
    position: absolute;
    display: block;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
}

#find-stations-btn {
    color: #181D27;

    font-family: Helvetica, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.5;
    /* 155.556% */
    letter-spacing: 0;
    padding: 14px 24px;
    background-color: #B4D918;
    border-radius: 30px;
    border: 0;
    margin-left: 16px;
}

#use-location-btn {
    position: absolute;
    display: block;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    border: 0;
}

/* Custom scrollbar for station list */

#station-list-wrap {
    border: 1px solid #D5D7DA;
    visibility: hidden;
    padding: 8px;
    border-radius: 12px;
}

#station-list {
    overflow-y: auto;
    /* padding-right: 0.5rem; */
    max-height: 415px;
    padding: 8px;
}

#station-list::-webkit-scrollbar {
    width: 8px;
}

#station-list::-webkit-scrollbar-track {
    background: transparent;
}

#station-list::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

#station-list::-webkit-scrollbar-thumb:hover {
    background: #555;
}

#status-message {
    font-size: 14px;
    color: #717680;
    padding-top: 16px;
}

.station-list-item {
    padding: 24px 0;
    border-bottom: 1px solid #D5D7DA;
    position: relative;
}

.station-list-item:first-child {
    padding-top: 12px;
}

.station-list-item h3 {
    margin-bottom: 8px;
    color: #000;
    font-family: Helvetica, sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.5;
    /* 150% */
}

.navigate-to {
    position: absolute;
    top: 0;
    right: 0;
}

.station-list-item .navigate-to {
    top: 24px;
}

.station-list-item:first-child .navigate-to {
    top: 12px;
}

.station-address {
    color: #717680;
    font-family: Helvetica, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 0;
    margin-top: 0;
}

/* Style for the autocomplete dropdown */
.pac-container {
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    z-index: 1050;
    /* Ensure it's above other elements */
}

.pac-item {
    padding: 0.5rem;
    font-size: 0.875rem;
}

.pac-item:hover {
    background-color: #f0f0f0;
}

.pac-item-query {
    font-weight: 500;
}

@media(min-width: 992px) {
    #station-list {
        height: 415px;
    }

    .fuel-finder-section {
        padding: 80px 0;
    }
    .section-title {
        margin-bottom: 80px;
        font-size: 48px;
    }
}