/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

.amenity-marker {
    text-align: center;
}

.marker-label {
    background: rgba(255, 255, 255, 0.9);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 8px;
    font-weight: bold;
    margin-bottom: 4px;
    display: inline-block;
}
/* Label above any marker */
.marker-label {
    background: rgba(255, 255, 255, 0.95);
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: bold;
    margin-bottom: 4px;
    display: inline-block;
    pointer-events: none; /* allows clicks to pass through to marker */
}

/* Optional: differentiate property marker label */
.property-marker .marker-label {
    background: #FEB711; /* golden for property */
    color: #000;
}

.location-bubble {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    padding: 4px 6px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    text-align: center;
    pointer-events: auto;
}

.location-bubble::after {
    content: "";
    width: 12px;
    height: 12px;
    background: #fff;
    border-left: 1px solid rgba(0,0,0,0.2);
    border-top: 1px solid rgba(0,0,0,0.2);
    transform: rotate(45deg);
    margin-top: -6px; /* position tip under bubble */
}

.marker-label {
    font-size: 8px;
    font-weight: bold;
    margin-bottom: 4px;
    color: #333;
}

/* Optional: make property bubble different */
.property-marker .location-bubble {
    background: #FEB711; /* golden for property */
}

