﻿/* Google-style pin background */
.map-pin-wrapper {
    position: relative;
    width: 24px;
    height: 24px;
    xtransform: translate(-50%, -100%);
    pointer-events: auto;
}

.map-pin-bg {
    position: absolute;
    inset: 0;
    background: white;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    /* Google-style white ring + shadow */
    box-shadow: 0 0 0 2px purple, /* white border ring */
    0 2px 6px rgba(0,0,0,0.35); /* drop shadow */
}

.map-pin-glyph {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    display: flex;
    align-items: center;
    justify-content: center;
}

    /* Normalize icon sizing */
    .map-pin-glyph img,
    .map-pin-glyph i {
        width: 16px;
        height: 16px;
        font-size: 18px;
    }
/* SVG mask icon (recolorable) */
.map-svg-mask-icon {
    width: 14px;
    height: 14px;
    background-color: #000; /* ← stroke + fill color */
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
}
.map-pin-image-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

/* Default */
.map-pin-wrapper .map-pin-bg {
    background: #1A73E8;
}

/* Representation */
.map-pin-wrapper.map-pin-objecttype-representation .map-pin-bg {
    background: #DCEFF6;
    box-shadow: 0 0 0 2px #3E7E99, /* white border ring */
    0 2px 6px rgba(0,0,0,0.35); /* drop shadow */
}
/* Crexi */
.map-pin-wrapper.map-pin-objecttype-crexiproperty .map-pin-bg {
    background: #E0EFE6;
    box-shadow: 0 0 0 2px #013A81, /* white border ring */
    0 2px 6px rgba(0,0,0,0.35); /* drop shadow */
}
/* PTT */
.map-pin-wrapper.map-pin-objecttype-partytothetransaction .map-pin-bg {
    background: #E0EFE6;
    box-shadow: 0 0 0 2px #3F6F5C, /* white border ring */
    0 2px 6px rgba(0,0,0,0.35); /* drop shadow */
}
/* Comp */
.map-pin-wrapper.map-pin-objecttype-comp .map-pin-bg {
    background: #E0EFE6;
    box-shadow: 0 0 0 2px #3F6F5C, /* white border ring */
    0 2px 6px rgba(0,0,0,0.35); /* drop shadow */
}
/* Sales Volumes */
.map-pin-wrapper.map-pin-objecttype-salesvolume2location .map-pin-bg {
    background: white;
    box-shadow: 0 0 0 2px #000, /* white border ring */
    0 2px 6px rgba(0,0,0,0.35); /* drop shadow */
}
.map-pin-wrapper.map-pin-objecttype-representation {

}
/* Crexi property */
.map-pin-wrapper.map-pin-objecttype-crexiproperty .map-pin-bg {
    background: #e8e8e8;
}

@starting-style {

   /* .map-pin-wrapper.embiggen-map-icon {
        transform: scale(1, 1) translate(-0%, -20%) !important;
    }*/
}

.map-pin-wrapper.embiggen-map-icon {
    transform: scale(2, 2) translate(-0%, -20%) !important;
    transform-origin: center bottom !important;
    transition: all 2s ease-out;
    transition: transform 400ms cubic-bezier(.175, .885, .32, 1.275);
}

        .map-pin-wrapper.embiggen-map-icon .map-pin-bg {
            background: linear-gradient( 120deg, #ff4d4d, #ffa64d, #ffff4d, #4dff4d, #4dd2ff, #6f4dff, #ff4dff );
            background-size: 300% 300%;
            animation: rainbowPulse 3s ease-in-out infinite;
        }

    @keyframes rainbowPulse {
        0% {
            background-position: 0% 50%;
        }

        50% {
            background-position: 100% 50%;
        }

        100% {
            background-position: 0% 50%;
        }
    }
.map-selected .map-pin-bg {
    background: #ff9800 !important;
}

.map-selected {
    transform: scale(1.15);
}

.map-selections-overlay {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 340px;
    background: rgba(255,255,255,.92);
    border-right: 1px solid #ddd;
    z-index: 50;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.map-selections-header {
    padding: 10px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}
.map-selections-overlay .pmr-parcel-title-row {
    margin-right: 25px;
}
.map-selections-list {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    font-size: .9rem;
}

.map-selection-card {
    position: relative;
    margin-bottom: 12px;
}

.selection-remove-btn {
    position: absolute;
    top: 11px;
    right: 11px;
    z-index: 5;
}

/*.map-pin-wrapper.embiggen-map-icon::before {
    content: "";
    position:absolute;
    background-color: rgba(255,255,255,.9);
    left:-10px;right:-10px;top:-10px;bottom:-10px;
    border-radius: 50%;
    border: 1px solid cyan;

}*/
/*.map-pin-objecttype-representation .map-pin-glyph img {
    width: 20px;
    height: 20px;
}*/


/*#googlemap .map-pin {
    text-align: center;
    margin: 0;
    padding: 0;
    font-size: 24px;
    color: #5f368d;
    font-weight: bolder;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);*/ /* same subtle shadow */
/*}

#googlemap .map-pin-container i {
    flex-basis: 24px;
    line-height: 32px;
    padding: 3px;
    font-size: 24px;
    border-radius: 5px;
    color: black;
    font-weight: 900;
    border: 1px solid black;
}

#googlemap .map-pin-description > div {
    display: block;
    text-overflow: ellipsis;
    overflow: hidden;
}

    #googlemap .map-pin-description > div::before {
        content: "\2022";
        margin: 0px 3px;
    }

#googlemap .map-pin-description label {
    margin-right: 10px;
    color: #555;
    font-weight: 700;
}

#googlemap .map-pin-image {
    height: 250px;  
    background-size: cover;
}*/
/*i.pmr-crexi-icon {
    display: inline-block;
    width: 32px;
    height: 32px;
    background: url("/images/Crexilogo.png") center no-repeat;
    background-size: contain;
    border:2px solid red;
}*/

/*.map-crexi-pin-container:hover .map-crexi-badge {
    z-index: 10000;*/
    /*display:block;*/
    
/*}
.map-crexi-pin-container:hover {
    transform:scale(1.4);
    z-index: 10000;
}
.map-crexi-pin-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    box-sizing: border-box;
    z-index:20;
}*/

    /* the pointer triangle */
    /*.map-crexi-pin-container::after {
        content: "";
        position: absolute;
        bottom: -6px;*/ /* adjust how low it sits */
        /*left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 9px solid white;*/ /* <-- same color as circle background */
        /*filter: drop-shadow(0 3px 5px rgba(0,0,0,1));
        pointer-events: none;
    }

.map-crexi-icon {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain;
    background: white;
    padding: 4px;
    box-sizing: border-box;
    box-shadow: 0 2px 4px rgba(0,0,0,0.4);
}
.map-crexi-badge {
    position: absolute;
    left: 60%;
    top: -10px;
    white-space: nowrap;
    display:none;*/
    /* shape + sizing */
    /*min-width: 18px;
    max-width: 200px;
    padding: 2px 12px;
    border-radius: 6px;*/
    /* visual */
    /*border: 1px solid #c8c8c8;
    background-color: white;
    color: #000;
    font-size: 10px;
    font-weight: 400;
    line-height: 12px;
    text-align: left;
    pointer-events: none;
}


.googlemap-layout-main {
    height: calc(100vh - var(--dxbl-tabs-tab-padding-y) * 2 - var(--tab-title-text-height) - 0.625rem - 70px);
    padding-top: 8px;
}


    .googlemap-layout-main .search-by-text {
        display: none;
    }

    .googlemap-layout-main .search-by-text {
        width: 30%;
        max-width: 450px;
        min-width: 300px;
    }

    .googlemap-layout-main .search-by-map {
        flex-grow: 1;
    }

    .googlemap-layout-main .dxbl-text-edit.dxbl-sm {
        --dxbl-editor-height: 50px;
        --dxbl-editor-font-size: 1rem;
        --dxbl-text-edit-font-size: 1rem;
        margin-bottom: 8px;
    }

    .googlemap-layout-main .parametrized-action-wrapper {
        width: 350px;
    }*/