/* Google Maps Global Styles */
.borrow-map-price-marker {
    background: white;
    padding: 6px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border: 2px solid #fff;
    font-weight: 800;
    color: #1a202c;
    font-size: 14px;
    white-space: nowrap;
    transition: all 0.2s ease;
    z-index: 1;
    transform: translate(-50%, -100%);
}

.borrow-map-price-marker:hover {
    background: #1a202c;
    color: #fff;
    transform: translate(-50%, -100%) scale(1.1);
    z-index: 100;
}

/* InfoWindow Customization */
.gm-style-iw {
    padding: 0 !important;
    border-radius: 12px !important;
    max-width: 260px !important;
}
.gm-style-iw-d {
    overflow: hidden !important;
    max-height: none !important;
}
.gm-style-iw-c {
    padding: 0 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}
.gm-style .gm-style-iw-c { padding: 0 !important; }
.gm-style-iw-chr, .gm-ui-hover-text, .gm-style-iw > button {
    display: none !important;
}
.gm-style-iw-tc::after { display: none; }

.borrow-map-popup-card {
    background: #fff;
    width: 260px;
    position: relative;
    font-family: 'Inter', sans-serif;
}

.popup-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
    color: #1a202c;
    font-size: 16px;
}

.popup-close-btn:hover {
    background: #f8f9fa;
    transform: scale(1.05);
}

.borrow-map-popup-card .popup-img-area {
    height: 150px;
    width: 100%;
    display: block;
    position: relative;
}

.borrow-map-popup-card .popup-img-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.borrow-map-popup-card .popup-body {
    padding: 15px;
}

.borrow-map-popup-card .popup-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.borrow-map-popup-card .popup-title a {
    color: #1a202c !important;
    text-decoration: none !important;
}

.borrow-map-popup-card .popup-rating {
    font-size: 13px;
    font-weight: 600;
    color: #4a5568;
    display: flex;
    align-items: center;
    gap: 4px;
}

.borrow-map-popup-card .popup-rating i {
    color: #fbbf24;
}

.borrow-map-popup-card .popup-brand {
    font-size: 14px;
    color: #718096;
    margin: 6px 0 10px;
    font-weight: 400;
}

.borrow-map-popup-card .popup-price {
    font-size: 16px;
    font-weight: 800;
    color: #1a202c;
}
