/* ──────────────────────────────────────────────────────────────────────────
   WF Google Maps — Frontend Styles
   ────────────────────────────────────────────────────────────────────────── */

.wfm-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wfm-map {
    position: relative;
}

/* ── Marcador ───────────────────────────────────────────────────────────── */
.wfm-marker {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

/* ── Tooltip del marcador ───────────────────────────────────────────────── */
.wfm-tooltip {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #333;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
    white-space: normal;
    width: 200px;
    z-index: 9999;
    font-size: 12px;
    line-height: 1.4;
}
.wfm-tooltip a {
    color: #007bff;
    text-decoration: none;
}
.wfm-tooltip a:hover {
    text-decoration: underline;
}

/* ── Pie del mapa ───────────────────────────────────────────────────────── */
.wfm-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    text-align: center;
}
.wfm-footer-link {
    text-decoration: none;
    line-height: 1.3;
    transition: opacity .15s;
}
.wfm-footer-link:hover {
    opacity: .85;
    text-decoration: underline;
}

/* ── Error box ──────────────────────────────────────────────────────────── */
.wfm-error-box {
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    padding: 12px 16px;
    margin: 10px 0;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}
