html {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    height: 100%;
}

#cwg-odoo-google-map {
    width: 100%;
    height: 100%;
}

/* Define the fade-in animation */
@keyframes o_anim_fade_in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#cwg-map-search-container {
    position: absolute;
    z-index: 1;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 270px;
    margin-right: 80px;
}

#cwg-map-search-input {
    font-family: "Co Headline", sans-serif;
    box-sizing: border-box;
    width: 270px;
    margin: 10px;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    font-size: 14px;
    outline: none;
    text-overflow: ellipsis;
    background-color: white;

    /* Initially hide the search box completely to prevent layout shifts */
    display: none;

    /* Apply animation */
    animation-duration: 2s;
    animation-name: o_anim_fade_in;
    animation-fill-mode: both;
}

/* When the class is added by JavaScript */
#cwg-map-search-input.show-search {
    display: block;
    animation-play-state: running;
}

.marker {
    font-size: 13px !important;
}

.marker a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
}

.marker a:hover {
    text-decoration: underline;
}

.marker pre {
    margin-top: 0;
    margin-bottom: 0;
    font-family: sans-serif !important;
}
