/**Map css **/

.guesty-map-container {
    position: relative;
    margin-bottom: 20px;
}

.guesty-map-info {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 8px 8px 0 0;
    border: 1px solid #dee2e6;
    border-bottom: none;
    text-align: center;
}

.guesty-view-toggle {
    position: absolute;
    top: 50px;
    right: 10px;
    z-index: 1000;
    display: flex;
    gap: 5px;
    background: white;
    border-radius: 8px;
    padding: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.view-toggle-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.view-toggle-btn:hover {
    background: #f5f5f5;
}

.view-toggle-btn.active {
    background: #0ea5a5;
    color: white;
}

.leaflet-popup-content {
    width: 250px !important;
}

.map-popup {
    text-align: left;
}

.map-popup img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 10px;
}

.map-popup h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #0f766e;
}

.map-popup .location {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.map-popup .specs {
    display: flex;
    gap: 10px;
    font-size: 13px;
    color: #333;
    margin-bottom: 10px;
}

.map-popup .view-btn {
    display: inline-block;
    background: #0ea5a5;
    color: white;
    padding: 6px 12px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
}

.map-popup .view-btn:hover {
    background: #0c8f8f;
}

.popup-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.street-view-btn {
    display: inline-block;
    background: #4285f4;
    color: #ffffff !important;
    padding: 6px 12px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    flex: 1;
    text-align: center;
	display:flex;
	justify-content: center;
}

.street-view-btn:hover {
    background: #3367d6;
}

.view-btn {
    flex: 1;
    text-align: center;
}

/* Red map pins */
.custom-marker {
    background: #0ea5a5 !important; /* Red */
    border: 3px solid white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}


.popup-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.street-view-btn {
    display: flex;
    background: #4285f4;
    color: #ffffff !Important;
    padding: 6px 12px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    flex: 1;
    text-align: center;
	align-items: center;
}

.street-view-btn:hover {
    background: #3367d6;
}

.view-btn {
    flex: 1;
    text-align: center;
}
