﻿#map {
    height: 800px;
    width: 100%;
    margin-top: 20px;
}

.mainmap {
    position: relative;
}

.element-with-timer {
    position: absolute;
    z-index: 10;
    margin-top: 75px;
    margin-left: 8px;
}

#pac-input {
    background-image: url('../../assets/img/search_icon.svg');
    background-repeat: no-repeat;
    background-position: 8px 18px;
    box-sizing: border-box;
    border-radius: 8px;
    border: none;
    box-shadow: 3px 3px 10px 0 #64646440;
    background-color: #f4f4f7;
    box-shadow: -1px -1px 10px 0 #64646440;
    padding: 12px 20px 12px 30px;
}

.map-main-container {
    /*width: 21.875rem;*/
    max-height: calc(81vh - 31vh);
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 8px;
    box-shadow: -1px -1px 10px 0 #64646440;
}

.map-card-container {
    background: #fff;
    padding: 12px 15px;
    border-radius: 8px;
    box-shadow: -1px -1px 10px 0 #64646440;
    margin-bottom: 5px;
    cursor: pointer;
}

.map-station-name-wrapper {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 13px;
}

.station-rating-container {
    text-align: right;
    font-size: 12px;
}

.map-station-name {
    text-overflow: ellipsis;
    overflow: hidden;
    width: 200px;
    font-size: smaller;
}

.map-card-connector-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.map-station-status {
    font-size: 10px;
    font-weight: 500;
    color: #17C653;
}

::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #5c9f24;
    border-radius: 10px;
}


/* Media-specific styles for large mobile devices (between 769px and 992px) */
@media only screen and (min-width: 200px) and (max-width: 494px) {

    .element-with-timer {
        width: 96%;
        margin-top: 10px;
    }

    .map-main-container {
        overflow-x: auto;
    }


    #component_pyAMvLCIBlht {
        display: none;
    }

    .map-main-container {
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        /*padding-bottom: 15px;*/
    }

    .map-station-list {
        display: inline-block;
    }


    .map-station-card-container {
        width: 303px;
        margin-right: 10px;
        display: inline-block;
    }

    .station-rating-container {
        display: flex;
        align-items: center;
        font-size: 12px;
    }

    .map-card-container {
        background-color: #ffffff;
        padding: 12px;
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        white-space: break-spaces;
    }

    .map-station-name-wrapper {
        font-size: 12px;
        font-weight: bold;
        margin-bottom: 5px;
    }

    .map-location {
        font-size: 12px; /* Smaller font size for mobile view */
    }

    .map-card-connector-container {
        margin-top: 8px;
        font-size: 12px;
        color: #12d377;
    }
}

/* Media-specific styles for tablet screens (between 494px and 768px) */
@media only screen and (min-width: 494px) and (max-width: 768px) {
    .element-with-timer {
        width: 96%;
        margin-top: 10px;
    }

    .map-main-container {
        overflow-x: auto;
    }

    #component_pyAMvLCIBlht {
        display: none;
    }

    .map-main-container {
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        /*padding-bottom: 15px;*/
    }

    .map-station-list {
        display: inline-block;
    }

    .map-station-card-container {
        width: 361px;
        margin-right: 10px;
        display: inline-block;
    }

    .station-rating-container {
        display: flex;
        align-items: center;
        font-size: 12px;
    }

    .map-card-container {
        background-color: #ffffff;
        padding: 12px;
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        white-space: break-spaces;
    }

    .map-station-name-wrapper {
        font-size: 12px;
        font-weight: bold;
        margin-bottom: 5px;
    }

    .map-location {
        font-size: 12px; /* Smaller font size for mobile view */
    }

    .map-card-connector-container {
        margin-top: 8px;
        font-size: 12px;
        color: #12d377;
    }
}

.input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.gm-fullscreen-control {
    display: none;
}

.custom-margin {
    margin-right: 1px;
    margin-left: 1px;
    display: inline-block;
}

.custom-row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
}

    .custom-row > .col-sm-12 {
        flex: 0 0 auto;
    }

@media (max-width: 768px) {
    .custom-row > .col-sm-12 {
        min-width: 100%;
    }
}

.map-card-container {
    background-color: #ffffff;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    white-space: normal; /* Ensure text wraps within the card */
    font-size: small;
}

.clsdirection {
    margin-bottom: 0px !important;
    font-weight: 800 !important;
    color: #007aff !important;
    border: none !important;
    outline: none !important;
    font-weight:500 !important;
}