html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    background: #f4f2e9;
    font-family: Arial, Helvetica, sans-serif;
}

#gr-visor {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#gr-map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #f4f2e9;
    cursor: grab;
}

#gr-map:active { cursor: grabbing; }

/* Etiqueta con el nombre de la calle/colonia buscada */
#gr-etiqueta {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 1000;
    max-width: calc(100% - 90px);
    text-align: right;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #cb202a;
    border-right: 4px solid #cb202a;
    border-radius: 4px;
    padding: 7px 11px;
    font-size: 13px;
    line-height: 1.3;
    color: #222;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.gr-pin-mini {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 6px;
    border-radius: 50% 50% 50% 0;
    background: #cb202a;
    transform: rotate(-45deg);
    vertical-align: middle;
}

#gr-sin-ubicacion {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(30, 30, 30, 0.85);
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
}

/* Marcador de ubicacion (pin) */
.gr-pin {
    width: 26px;
    height: 26px;
}
.gr-pin .gr-pin-body {
    position: absolute;
    left: 50%;
    top: 0;
    width: 22px;
    height: 22px;
    margin-left: -11px;
    background: #cb202a;
    border: 2px solid #fff;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}
.gr-pin .gr-pin-dot {
    position: absolute;
    left: 50%;
    top: 7px;
    width: 8px;
    height: 8px;
    margin-left: -4px;
    background: #fff;
    border-radius: 50%;
}

/* Pulso para llamar la atencion sobre el punto */
.gr-pulse {
    width: 18px;
    height: 18px;
    background: rgba(203, 32, 42, 0.35);
    border-radius: 50%;
    animation: gr-pulse 1.8s ease-out infinite;
}
@keyframes gr-pulse {
    0%   { transform: scale(0.4); opacity: 0.9; }
    100% { transform: scale(2.6); opacity: 0; }
}

/* Resalte del cuadrante (GDL/MTY, cuando solo se conoce el cuadrante) */
.gr-cuadrante {
    stroke: #cb202a;
    stroke-width: 2;
    fill: rgba(203, 32, 42, 0.08);
}

/* Control de atribucion discreto */
.leaflet-control-attribution {
    font-size: 10px;
    background: rgba(255, 255, 255, 0.7);
}

.leaflet-container { background: #f4f2e9; }
