.map-preview {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background:
        radial-gradient(circle at 20% 22%, rgba(243, 101, 35, 0.18) 0 90px, transparent 92px),
        radial-gradient(circle at 76% 68%, rgba(49, 146, 192, 0.2) 0 110px, transparent 112px),
        repeating-linear-gradient(40deg, rgba(255, 255, 255, 0.07) 0 2px, transparent 2px 36px),
        linear-gradient(140deg, rgba(14, 21, 30, 0.9), rgba(19, 28, 38, 0.88));
}

.map-preview__canvas {
    width: 100%;
    height: 100%;
}

.map-preview__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 2;
    transition: opacity 0.2s ease;
}

.map-preview__panel {
    width: min(92%, 360px);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(8, 12, 18, 0.74);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    padding: 14px;
    text-align: center;
}

.map-preview__pin {
    width: 34px;
    height: 34px;
    margin: 0 auto 8px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f36523;
    color: #fff;
    font-size: 16px;
    line-height: 1;
}

.map-preview__title {
    margin: 0;
    color: #f2f5fb;
    font-size: 1rem;
    font-weight: 700;
}

.map-preview__subtitle {
    margin: 4px 0 0;
    color: #d7dfe9;
    font-size: 0.9rem;
}

.map-preview__actions {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.map-preview__link {
    min-width: 160px;
    border-radius: 999px;
    font-weight: 700;
    padding: 8px 14px;
}

.map-preview__status {
    margin: 10px 0 0;
    font-size: 0.88rem;
    color: #d0d9e5;
}

.map-preview__status--error {
    color: #ffd2cc;
    font-weight: 700;
}

.map-preview.mapa-visible .map-preview__overlay {
    opacity: 0;
    pointer-events: none;
}

.map-preview__overlay--static {
    opacity: 1 !important;
    pointer-events: auto !important;
}
