$addressHeight: 600upx;

.map-area {
    position: relative;
    width: 100%;
    height: 100%;
    &-map {
        width: 100%;
        height: 100%;
    }
}

.map-wrap {
    position: relative;
    width: 100%;
    background-color: white;
}

.address-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: $addressHeight;
    z-index: 101;
    border-radius: 20upx 20upx 0 0;
    background: #FFFFFF;
}

.address-tips {
    height: 138upx;
    padding: 0 44upx;
}

.address {
    width: 100%;
    height: 100%;
    // width: 690upx;
    padding: 0 28upx;
    overflow: hidden;
    // transform: translateX(-50%);
    &-list-wrap {
        &:first-child {
            // padding-top: 40upx;
        }
        &:last-child {
            padding-bottom: 0;
            padding-bottom: env(safe-area-inset-bottom);
            padding-bottom: constant(safe-area-inset-bottom);
        }
    }
    &-list {
        border-bottom: 2upx solid #E5E7ED;
        padding: 20upx 24upx;
        &__name {
            font-size: 32upx;
            font-weight: bold;
            color: #222222;
            line-height: 44upx;
        }
        &__desc {
            font-size: 28upx;
            font-weight: 500;
            color: #888888;
            line-height: 40upx;
            margin-top: 2upx;
        }
    }
}

.action {
    position: absolute;
    // left: 0;
    bottom: $addressHeight + 8upx;
    z-index: 100;
    overflow: visible;
    &__image {
        width: 104upx;
        height: 104upx;
        display: block;
    }
}

.tips {
    // position: fixed;
    // bottom: $addressHeight + 28upx;
    position: absolute;
    top: 50%;
    height: 60upx;
    line-height: 60upx;
    box-shadow: 0 10upx 10upx 0 rgba(0, 0, 0, 0.15);
    border-radius: 10upx;
    padding: 0 30upx;
    color: white;
    font-size: 28upx;
    font-weight: 500;
    z-index: 101;
    overflow: visible;
    transform: translateY(-50%);
    white-space: nowrap;
    &::before {
        content: '';
        display: block;
        border: 12upx solid transparent;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }
    &_orange {
        background-color: #F69602;
        left: 120upx;
        &::before {
            left: -22upx;
            border-right-color: #F69602;
        }
    }
    &_blue {
        background-color: #1873FF;
        right: 120upx;
        &::before {
            right: -22upx;
            border-left-color: #1873FF;
        }
    }
}

.center-location {
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -76rpx 0 0 -26rpx;
    // transform: translate(-50%, -88%);
    width: 50upx;
    height: 90upx;
    z-index: 100;
}
