body {

    margin: 0;
    font-family: Arial, sans-serif;


}

.searchCirclePackHeader {
    z-index: 100;

    display: flex;
    flex-direction: column;
    /*justify-content: start;*/
    align-items: center;
    gap: 2px;
    padding-top: 1vh;

}

input {
    font-size: 1.2em;
    width: 500px;
}

.typeAheadResultsDiv {
    /* same as input width*/
    width: 500px;
    font-size: .8em;
    background-color: lightgray;
    max-height: 30vh;
    overflow: scroll;

}

.typeAheadResult {
    cursor: pointer;
    margin: 3px;
    padding: 3px;

    border-bottom: 1px dashed gray;
}

.circleHighlight {
    fill: lightgreen !important;
    fill-opacity: .5 !important;
}

#legend {

    display: flex;
    flex-direction: column;
    align-items: center;

    border: thin gray solid;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: white;

    font-size: smaller;

    position: fixed;
    left: 2vw;
    top: 5vh;
    max-width: 300px;
    z-index: 1000;
    padding: 16px;

    #specificWelcome {
        font-size: smaller;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 2px;


    }

    #specificWelcome div:first-of-type{
        font-weight: bold;
        font-size: 1.2em;
    }

    #sharedInstructions {
        font-size: smaller;
        line-height: 1.5;

        div {
            padding: 1px;
        }
    }


    .title {
        font-weight: bold;
    }


}


.peopleDrillDownWrapper {

    background: whitesmoke;


    position: absolute;
    padding: 8px;
    border: thin gray dotted;
    border-radius: 8px;
    font-size: .8em;


    .peopleDrillDownDataWrapper {


        margin-top: 12px;
        overflow: scroll;
        max-height: 200px;
        max-width: 30vw;

        div {
            padding: 1px;
        }
    }

}

.closerX {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 32px;
    height: 32px;
    background: #ff5f57;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background 0.2s, transform 0.1s;
}

.closerX::before,
.closerX::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 16px;
    background-color: #fff;
    transform-origin: center;
}

.closerX::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.closerX::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.closerX:hover,
.closerX:focus {
    background: #ff7875;
    outline: none;
}

.closerX:active {
    transform: scale(0.9);
}

.notDesktop {
    display: none;
}


@media (max-width: 600px) {
    body {
        /* Styles for small screens go here */
    }

    input {
        width: 75vw;
    }

    .notMobile {
        display: none;
    }

    .notDesktop {
        display: block;
    }

    .typeAheadResultsDiv {
        width: 75vw;
    }

    #legend {
        position: relative;
        left: unset;
        top: unset;
        max-width: unset;
        z-index: 100;
        padding: 4vmin;
        width: 80%;
        margin-top: 12px;

        .closerX {
            display: none;
        }

        #sharedInstructions {
            display: none;
        }


    }
}




