/* Map Block Frontend Styles */

/* Custom Marker Icon */
.custom-marker-icon {
    background: #fe019a;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Popup Content */
.map-popup-content {
    text-align: center;
    padding: 4px;
}

.map-popup-title {
    color: #fe019a;
    font-size: 16px;
    font-weight: bold;
}

.map-popup-address {
    color: #666;
    margin-top: 4px;
    display: block;
    font-size: 12px;
}

/* Map Fallback Container */
.map-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 200px;
    background: #f8f9fa;
    color: #666;
    text-align: center;
    padding: 20px;
    border-radius: 8px;
}

.map-fallback-icon {
    font-size: 18px;
    margin-bottom: 10px;
}

.map-fallback-title {
    font-weight: 600;
    margin-bottom: 8px;
}

.map-fallback-address {
    font-size: 14px;
    color: #888;
}

.map-fallback-error {
    font-size: 12px;
    color: #aaa;
    margin-top: 10px;
}

/* Map Wrapper */
.map-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

/* Map Overlay */
.map-overlay {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    max-width: calc(100% - 20px);
}

.map-overlay-title {
    font-weight: bold;
}

.map-overlay-address {
    color: #666;
}

/* Map External Link */
.map-external-link {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--color-primary, #fe019a);
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.8rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Static Map Fallback */
.static-map-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    background: #f0f6f0;
    border-radius: 8px;
    padding: 2rem;
}

.static-map-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.static-map-title {
    margin: 0 0 1rem 0;
    color: #2d5a27;
}

.static-map-address {
    margin: 0 0 1.5rem 0;
    font-weight: bold;
}

.static-map-button {
    display: inline-block;
    background: var(--color-primary, #fe019a);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.static-map-button:hover {
    transform: translateY(-2px);
} 