body {
    font-family: Arial, sans-serif;
    background-color: white;
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
}

.bodycontainer {
    display: grid;
    grid-template-rows: auto 1fr auto; /* header | map | footer */
    height: 100vh;
    overflow-x: hidden;
}

.headerpart {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-color: white;
    padding: 12px 12px;
}

.center {
    position: relative;
}

.map {
    width: 100%;
    height: 100%;
}

.logoimg {
    width: 120px;
    height: auto;
    object-fit: contain;
}

.mapsearch {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.locationdiv {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
}

.locationsearch {
    width: 100%;
}

#locationDropdownitems {
    max-width: 100vw;            
    box-sizing: border-box;
    white-space: normal;        
    word-break: break-word; 
    overflow-x: hidden;
    padding-left: 5px;
    overflow-y: auto;
}

#locationDropdownitems span {
    display: block;
    white-space: normal;
    word-break: break-word;
}

.currentlocationspan,#currentlocationbtn {
    font-size: 15px;
}

#currentlocationbtn{
    width: 100%;
}

.mapalerthere {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.alert {
    min-width: 250px;
    height: 40px;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.footerpart {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: rgb(66, 66, 66);
}

.leftpart {
    display: flex;
    flex-direction: column;
    color: white;
    font-size: 13px;
}

.switchdetailsdiv {
    position: absolute;
    bottom: 65px;
    left: 20px;
    display: none;
    flex-direction: column;
    width: 400px;
    gap: 8px;
    z-index: 1000;
    background-color: white;
    border-radius: 6px;
    padding: 12px 12px 12px 12px;
    box-shadow: 0px 0px 5px rgb(235, 235, 235);
    max-height: 200px;
    overflow-y: auto;
}

.switchdetailsdiv span {
    font-size: 15px;
}

.switchname {
    font-weight: bold;
    font-size: 18px;
    color: #273C88;
}

.maximizeinfo {
    position: absolute;
    bottom: 25px;
    width: 35px;
    height: 35px;
    left: 10px;
    z-index: 2000;
    border-radius: 50%;
    font-size: 24px;
    background-color: white;
    color: #273C88;
    outline: none;
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
}

.rotate {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

.maximizeinfo i {
    transition: transform 0.3s ease;
}

.switchdetailsheader {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.switchdetailsheader i {
    cursor: pointer;
    color: #273C88;
}

.coordinatesmodalcolumn {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.coordinatesmodalform {
    width: 100%;
}

.coordinatesmodalformcolumn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}

.coordinatesmodalinput {
    width: 100%;
    height: 50px;
    font-size: 18px;
    border-radius: 6px;
    outline: 0;
    border: 1px solid #ccc;
    padding-left: 10px;
}

.divider {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    gap: 5px;
}

.divider hr {
    flex: 1;
    border: 1px solid darkgray;
}

.topbardiv {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-right: 5px;
}

.inputdiv {
    width: 100%;
    position: relative;
}

.inputdiv input {
    padding-right: 30px;
}

.inputdiv i {
    display: none;
    position: absolute;
    right: 10px;
    top: 25%;
    cursor: pointer;
}

@media (max-width:550px){
    #locationDropdownitems span {
        margin-bottom: 8px;
    }

    .locationdiv {
        flex-direction: column;
        align-items: flex-start;
    }
    #currentlocationbtn {
        font-size: 14px;
    }

    .switchdetailsdiv {
        left: 10px;
        width: 95%;
    }

    .footerpart {
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        width: 100%;
        gap: 5px;
    }

    .leftpart {
        width: 100%;
        margin-top: 10px;
        font-size: 12px;
    }
}

@media (max-width:403px){
    .leftpart {
        width: 100%;
        margin-top: 10px;
        font-size: 10px;
    }
}