/* Avantia Maps Engine v1.3.1 */

.ame-map-wrapper{
    position:relative;
    width:100%;
    max-width:100%;
    margin:0 auto;
    background:#fff;
    border-radius:10px;
    overflow:visible;
    box-sizing:border-box
}

.ame-map-search{
    position:relative;
    z-index:70;
    padding:12px;
    background:#fff;
    border-bottom:1px solid #e6e6e6
}

.ame-map-search-row{
    display:flex;
    gap:8px
}

.ame-map-search-input{
    flex:1;
    min-width:0;
    height:42px;
    padding:0 12px;
    border:1px solid #ccc;
    border-radius:8px;
    font-size:15px;
    outline:none
}

.ame-map-search-input:focus{
    border-color:#777;
    box-shadow:0 0 0 2px rgba(0,0,0,.06)
}

.ame-map-search-button,
.ame-map-pdf-button,
.ame-map-png-button{
    height:42px;
    padding:0 16px;
    border:0;
    border-radius:8px;
    font-weight:600;
    cursor:pointer
}

.ame-map-search-button{
    background:#222;
    color:#fff
}

.ame-map-pdf-button{
    background:#b42318;
    color:#fff;
    min-width:54px
}

.ame-map-png-button{
    background:#175cd3;
    color:#fff;
    min-width:58px
}

.ame-map-pdf-button:hover{
    background:#8f1d14
}

.ame-map-png-button:hover{
    background:#1849a9
}

.ame-map-pdf-button:disabled,
.ame-map-png-button:disabled{
    opacity:.6;
    cursor:wait
}

.ame-map-search-suggestions{
    display:none;
    position:absolute;
    left:12px;
    right:12px;
    top:60px;
    max-height:300px;
    overflow-y:auto;
    background:#fff;
    border:1px solid #ddd;
    border-radius:8px;
    box-shadow:0 10px 28px rgba(0,0,0,.16);
    z-index:100
}

.ame-map-search-suggestions.is-open{
    display:block
}

.ame-map-search-suggestion{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:11px 13px;
    border:0;
    border-bottom:1px solid #eee;
    background:#fff;
    color:#222;
    text-align:left;
    cursor:pointer
}

.ame-map-search-suggestion:last-child{
    border-bottom:0
}

.ame-map-search-suggestion:hover,
.ame-map-search-suggestion:focus{
    background:#f5f5f5;
    outline:none
}

.ame-map-search-suggestion-id{
    font-weight:700;
    font-size:14px
}

.ame-map-search-suggestion-state{
    color:#666;
    font-size:12px;
    white-space:nowrap
}

.ame-map-search-empty{
    padding:12px 13px;
    color:#777;
    font-size:13px
}

.ame-map-search-message{
    min-height:18px;
    margin-top:6px;
    font-size:12px;
    line-height:1.3;
    color:#666
}

.ame-map-container{
    position:relative;
    width:100%;
    max-width:100%;
    overflow:hidden;
    line-height:0;
    background:#f6f6f6;
    touch-action:none
}

.ame-map-container svg{
    display:block;
    width:100%;
    height:auto;
    max-width:100%;
    transform-origin:0 0;
    user-select:none;
    -webkit-user-select:none
}

.ame-map-toolbar{
    position:absolute;
    top:78px;
    right:12px;
    z-index:50;
    display:flex;
    flex-direction:column;
    gap:7px
}

.ame-map-control{
    width:42px;
    height:42px;
    padding:0;
    border:1px solid rgba(0,0,0,.12);
    border-radius:8px;
    background:rgba(255,255,255,.96);
    color:#222;
    font-size:25px;
    font-weight:600;
    cursor:pointer;
    box-shadow:0 2px 10px rgba(0,0,0,.12)
}

.ame-map-help{
    display:none;
    padding:8px 12px 10px;
    background:#fff;
    color:#666;
    font-size:12px;
    line-height:1.35;
    text-align:center
}

.ame-map-loading{
    min-height:180px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    line-height:1.4;
    font-size:15px;
    color:#555
}

.ame-spinner{
    width:18px;
    height:18px;
    border:2px solid #ddd;
    border-top-color:#777;
    border-radius:50%;
    animation:ame-spin .8s linear infinite
}

@keyframes ame-spin{
    to{transform:rotate(360deg)}
}

.ame-lot-search-highlight{
    filter:drop-shadow(0 0 12px rgba(0,0,0,.8)) brightness(1.4)!important;
    opacity:1!important;
    animation:ame-pulse .65s ease-in-out 5 alternate
}

@keyframes ame-pulse{
    from{
        filter:drop-shadow(0 0 5px rgba(0,0,0,.45)) brightness(1.12)
    }
    to{
        filter:drop-shadow(0 0 16px rgba(0,0,0,.9)) brightness(1.5)
    }
}

.ame-map-error{
    min-height:160px;
    padding:30px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:8px;
    line-height:1.4;
    text-align:center;
    border:1px solid #ddd;
    border-radius:8px;
    background:#fafafa;
    color:#555
}

.ame-map-fullscreen-fallback{
    position:fixed!important;
    inset:0!important;
    z-index:999998!important;
    width:100vw!important;
    height:100vh!important;
    max-width:none!important;
    border-radius:0!important;
    background:#fff
}

@media(max-width:767px){
    .ame-map-search{
        padding:10px
    }

    .ame-map-search-row{
        gap:6px
    }

    .ame-map-search-input{
        height:40px;
        font-size:14px
    }

    .ame-map-search-button,
    .ame-map-pdf-button,
    .ame-map-png-button{
        height:40px;
        padding:0 10px
    }

    .ame-map-search-suggestions{
        left:10px;
        right:10px;
        top:56px;
        max-height:250px
    }

    .ame-map-toolbar{
        top:72px;
        right:8px;
        gap:6px
    }

    .ame-map-control{
        width:39px;
        height:39px;
        font-size:23px
    }

    .ame-map-help{
        display:block
    }
}
