.rsbooking-map-content {
    align-items: center;
    background-color: #FFFFFF;
    border-radius: 50%;
    color: #263238;
    display: flex;
    font-size: 17px;
    gap: 15px;
    height: 40px;
    justify-content: center;
    padding: 4px;
    position: relative;
    transition: all 0.3s ease-out;
    width: 40px;
}

.rsbooking-map-content::after {
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-top: 14px solid #FFFFFF;
    content: "";
    height: 0;
    left: 50%;
    position: absolute;
    top: 85%;
    transform: translate(-50%, 0);
    transition: all 0.3s ease-out;
    width: 0;
    z-index: 1;
}

.rsbooking-map-content .rsbooking-map-icon {
    align-items: center;
    display: flex;
    justify-content: center;
    color: #FFFFFF;
    width: max-content;
}

.rsbooking-map-content .rsbooking-map-icon svg {
    height: 20px;
    width: auto;
}

.rsbooking-map-content .rsbooking-map-details {
    display: none;
    flex-direction: column;
    flex: 1;
}

.rsbooking-map-content .rsbooking-map-address {
    color: #9E9E9E;
    font-size: 10px;
    margin-bottom: 10px;
    margin-top: 5px;
}

.rsbooking-map-content .rsbooking-map-features {
    align-items: flex-end;
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.rsbooking-map-content .rsbooking-map-features > div {
    align-items: center;
    background: #F5F5F5;
    border-radius: 5px;
    border: 1px solid #ccc;
    display: flex;
    font-size: 10px;
    gap: 5px;
    padding: 5px;
    width: max-content;
}

.rsbooking-map-content .rsbooking-map-features > div a {
    text-decoration: none;
}

.rsbooking-map-content.rsbooking-map-opened {
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.2);
    min-height: 80px;
    height: auto;
    padding: 8px 15px;
    width: auto;
}

.rsbooking-map-content.rsbooking-map-opened::after {
    border-top: 14px solid #FFFFFF;
    top: 100%;
}

.rsbooking-map-content.rsbooking-map-opened .rsbooking-map-details {
    display: flex;
}

.rsbooking-map-content.rsbooking-map-opened .rsbooking-map-icon svg {
    width: 50px;
    height: 50px;
}

.rsbooking-map-content .rsbooking-map-star {
    color: #FFA000;
}

.rsbooking-map-content .rsbooking-map-user {
    color: #03A9F4;
}

.rsbooking-map-content .rsbooking-map-property {
    color: #388E3C;
}

.rsbooking-map-content.rsbooking-map-opened .rsbooking-map-icon i {
    font-size: 30px;
}

.rsbooking-map-content.rsbooking-map-opened .rsbooking-map-icon {
    color: #0288D1;
}

.rsbooking-map-content {
    background-color: #0288D1;
}

.rsbooking-map-content::after {
    border-top: 14px solid #0288D1;
}

.rsbooking-map-content .rsbooking-map-close {
    position: absolute;
    top: 5px;
    right: 8px;
}

.rsbooking-map-content .rsbooking-map-image {
    display: none;
}

.rsbooking-map-content.rsbooking-map-opened .rsbooking-map-image {
    display: inline;
}

.rsbooking-map-content.rsbooking-map-opened .rsbooking-map-icon img + i {
    display: none;
}

.rsbooking-map-close {
    cursor: pointer;
}

.rsbooking-map-name {
    margin-right: 20px;
    width: max-content;
}

.rsbooking-map-address {
    width: max-content;
}

.rsbooking-css-pin {
    position: relative;
    width: 42px;
    height: 42px;
    background-color: #0288D1;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.rsbooking-css-pin::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    left: 6px;
    top: 6px;
    background-color: #0288D1;
    border-radius: 50%;
}

.rsbooking-css-pin i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    font-size: 17px;
    color: #FFFFFF;
    z-index: 2;
}

.leaflet-popup-content-wrapper {
    background: transparent;
    box-shadow: none;
}

.leaflet-popup-tip-container {
    display: none;
}

@media (width < 576px) {
    .rsbooking-map-content.rsbooking-map-opened .rsbooking-map-icon {
        display: none;
    }
}