.cardViewWrap{
    border-radius: 15px;
    overflow: hidden;
    display: inline-block;    
    margin: auto;
    margin-bottom: 50px;
    box-shadow: 0 0 20px #0000001a;



    .datas{
        padding-top: 10px;
        border-top: 2px dashed #ece8e3;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        column-gap: 42px;
        row-gap: 8px;
        text-align: left;

        .each{
            display: grid;
            grid-template-columns: 105px minmax(0, 1fr);
            align-items: start;
            width: auto;
            font-size: 20px;
            margin-bottom: 0;
            margin-top: 0;

            color: #a9a9a9;


            .label{
                display: block;
                width: auto;
                line-height: 1.45;
            }
            .value{
                display: block;
                width: auto;
                min-width: 0;

                color: #000;
                line-height: 1.45;
                overflow-wrap: anywhere;

                .period{
                    color: #c6c3c0;
                }
            }
        }

        .each.rent .label{
            color: #5bb53d;
        }

        .each.full{
            grid-column: 1 / -1;
            width: auto;
        }

        .cardListItem{
            grid-template-columns: 105px minmax(0, 1fr);
            font-size: 18px;

            .label{
                display: flex;
                align-items: center;
                gap: 4px;
                color: #74c96f;
                font-weight: 700;
            }

            .material-symbols-outlined{
                color: currentColor;
                font-size: 20px;
                line-height: 1;
            }

            &.reject .label{
                color: #dd6371;
            }
        }
    
    }
}


/* 桌面正常顯示 */
.cardViewWrap {
    display: inline-block;
}







/* 地圖範圍標籤 */
/* 上方卡片地圖與下方編輯地圖共用同一套 Leaflet divIcon 樣式。 */
.walkCircleLabel{
    color: #fff;
    font-family: Arial, "Noto Sans TC", "Microsoft JhengHei", sans-serif;
    text-align: center;
    pointer-events: auto;
}

.walkCircleLabelInner{
    --walk-label-scale: 1;
    position: relative;
    width: 100%;
    height: 100%;
}

.walkCircleLabelInner.is-full{
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: auto;
    transform: translateY(-50%);
}

.walkCircleLabel strong{
    display: block;
    color: #111;
    font-size: calc(25px * var(--walk-label-scale));
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
    text-shadow:
        -2px -2px 0 #fff,
        2px -2px 0 #fff,
        -2px 2px 0 #fff,
        2px 2px 0 #fff,
        0 2px 4px rgba(0, 0, 0, 0.18);
}

.walkCircleLabel strong.nameOnly{
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.walkCircleLabel em{
    position: relative;
    display: inline-block;
    margin-top: 2px;
    color: #fff;
    font-size: calc(48px * var(--walk-label-scale));
    font-style: normal;
    font-weight: 900;
    line-height: 0.78;
    letter-spacing: -1px;
    text-shadow: 0 2px 5px rgba(36, 106, 92, 0.25);
}

.walkCircleLabel small{
    position: absolute;
    left: calc(100% + 4px);
    top: 50%;
    margin-left: 0;
    margin-right: 20px;
    font-size: calc(13px * var(--walk-label-scale));
    font-weight: 800;
    letter-spacing: 0;
    transform: translateY(-35%);
    white-space: nowrap;
}

.mapZoomBadge{
    position: absolute;
    left: 8px;
    bottom: 8px;
    z-index: 900;
    padding: 3px 7px;
    color: #6f6a63;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
    pointer-events: none;
}

.cardView{

    background-color: #FFF;
    /* height: 400px; */
    width: 800px;
    max-width: 800px;
    padding: 25px;

    .rightbox{
        background-color: #d7998d;
        position: absolute;
        right: 0px;
        height: 80px;
        width: 200px;
        top: 0px;
        z-index: 30;

        .city{
            position: absolute;
            color: #ffffffa8;
            left: 22px;
            top: 12px;
            font-size: 24px;
        }
        .type{
            position: absolute;
            color: #FFF;
            left: 127px;
            top: 12px;
            font-size: 24px;
        }
        .date{
            position: absolute;
            color: #FFF;
            left: 0px;
            top: 46px;
            letter-spacing: 0;
            width: 100%;
            text-align: center;
            font-weight: 500;
        }
        .material-symbols-outlined{
            position: absolute;
            top: 11px;
            color: #FFF;
            font-size: 33px;
            left: 97px;
        }
    }


    .map{
        background-color: #f9f9f9;
        width: 100%;
        height: 400px;
        z-index: 0;

        background-size: cover;
        background-position: center;
        background-image: url(/images/card/map-default.jpg);

        &::after{
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: 0;
            height: 120px;
            pointer-events: none;
            z-index: 500;
            background: linear-gradient(
                to top,
                rgba(255, 255, 255, 0.96) 0%,
                rgba(255, 255, 255, 0.72) 42%,
                rgba(255, 255, 255, 0) 100%
            );
        }

        .leaflet-control-container{
            display: none;
        }

        .leaflet-pane,
        .leaflet-top,
        .leaflet-bottom{
            pointer-events: none;
        }
    }

    .tenantProfile{
        display: block;
        margin-top: -16px;
        padding: 0;
        text-align: left;
        z-index: 5;

        .avatar{
            position: absolute;
            left: -68px;
            bottom: -2px;
            width: 170px;
            height: 170px;
            padding: 9px;
            background: #fff;
            border-radius: 50%;
            z-index: 6;

            img{
                display: block;
                width: 100%;
                height: 100%;
                object-fit: cover;
                border-radius: 50%;
                border: 6px solid #e9a29c;
            }
        }

        .profileBubble{
            display: flex;
            align-items: end;
            min-height: auto;
            padding: 20px 19px 20px 121px;
            margin-right: 28px;
            margin-left: 69px;
            background: #f1f1f1;
            border-radius: 6px;
            z-index: 4;
            margin-bottom: 20px;

            &::after{
                content: "";
                position: absolute;
                left: 50%;
                bottom: -14px;
                transform: translateX(-50%);
                width: 0;
                height: 0;
                border-left: 14px solid transparent;
                border-right: 14px solid transparent;
                border-top: 14px solid #f1f1f1;
            }

            .mapTags{
                position: absolute;
                left: 120px;
                top: -21px;
                display: flex;
                justify-content: left;
                gap: 8px;
                height: auto;
                padding-left: 0;
                z-index: 7;
            }

            .profileText{
                display: -webkit-box;
                max-height: none;
                overflow: hidden;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 3;
                line-clamp: 3;
                color: #7e7e7e;
                font-size: 17px;
                font-weight: 500;
                line-height: 1.4;
                letter-spacing: 0;
            }

            .name{
                display: inline;
                margin-right: 12px;
                color: #dd6a52;
                font-size: 26px;
                font-weight: 700;
                vertical-align: baseline;
            }

            .intro{
                display: inline;
                color: #7e7e7e;
                font-size: 17px;
                font-weight: 500;
                line-height: 1.4;
                letter-spacing: 0;
                overflow: hidden;
            }
        }

        .profileRows{
            grid-column: 1 / -1;
            display: grid;
            gap: 10px;
            padding-left: 4px;
            padding-bottom: 15px;
        }

        .profileRow{
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 9px 12px;
            color: #000;
            font-size: 18px;
            font-weight: 700;
            letter-spacing: 0;

            .rowLabel{
                color: #8d8d8d;
                font-size: 22px;
                font-weight: 700;
            }

            .muted{
                color: #999;
            }

            .gender{
                color: #d96e59;
            }
        }

        .verifyBadge,
        .contactBadge{
            display: inline-flex;
            align-items: center;
            gap: 3px;
            min-height: 30px;
            padding: 0 9px;
            border-radius: 4px;
            font-size: 16px;
            font-weight: 700;
            line-height: 1;
            white-space: nowrap;

            .material-symbols-outlined{
                font-size: 19px;
                line-height: 1;
            }
        }

        .verifyBadge,
        .contactBadge.green{
            color: #fff;
            background: #8ecb82;
        }

        .contactBadge.green{
            color: #77ba6e;
            background: #fff;
            border: 2px solid #8ecb82;
        }

        .contactBadge.brown{
            color: #8f7f6b;
            background: #fff;
            border: 2px solid #9c8a75;
        }

        .contactBadge.gray{
            color: #8b8b8b;
            background: #fff;
            border: 2px solid #aaa;
        }
    }

    .mapTags{
        .mapTag{
            display: inline-flex;
            align-items: center;
            gap: 7px;
            height: 32px;
            padding: 0 12px;
            color: #fff;
            background: #617dbc;
            border: 2px solid #617dbc;
            border-radius: 3px;
            font-size: 18px;
            font-weight: 700;
            letter-spacing: 0;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.14);
            margin-right: 10px;

            span{
                position: absolute;
                right: -19px;
                top: -17px;
                display: grid;
                width: 30px;
                height: 30px;
                place-items: center;
                color: #617dbc;
                background: #fff;
                border: 2px solid #617dbc;
                border-radius: 50%;
                font-size: 16px;
                line-height: 1;
            }

            &.is-outline{
                color: #565656;
                background: #fff;
                border-color: #9c9c9c;

                span{
                    color: #9c9c9c;
                    border-color: #9c9c9c;
                }
            }
        }
    }

}

/* ............................................................ */
@media screen and (max-width: 1240px) {


    .cardViewWrap--export{
        position: fixed;
        left: -10000px;
        top: 0;
        width: 850px;
        opacity: 0;
        pointer-events: none;
        z-index: -1;
    }

    
    
}
