﻿#mapa-login {
    width: 100%;
    height: 100%;
}

.ventana-emergente-custom {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    background: #ffffff;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    z-index: 1000;
    padding: 20px;
    text-align: center;
}

.btn-inicio {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 20px;
    transition: background 0.3s;
    z-index : 400;
}

.hidden{
    display:none;
}

#coords {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.8);
    padding: 5px 10px;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    z-index: 450;
}

.leaflet-control-attribution.leaflet-control {
    display: none;
}



.ventana-emergente-display {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 80%;
    background: #ffffff;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    z-index: 1000;
    padding: 20px;
}



.boton-cerrar-shape {
    position: absolute;
    top: 5px;
    right: 19px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}


.border-0 {
    border: 0 !important
}

.informacion-panel {
    margin-top: 20px;
    display: flex;
    height: 100%;
}






.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.popup {
    position: relative;
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    animation: zoomIn 0.4s ease;
}

    .popup h1 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .popup p {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .popup img {
        width: 150px;
        height: auto;
    }

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #888;
}

    .close-btn:hover {
        color: #000;
    }

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.panelDescripcion {
    border: 1px solid rgb(204, 204, 204);
    height: 90%;
    margin-left: 20px;
    width: 25%;
    border-radius: 6px;
    padding: 10px;
}

.titulo-elegante {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 500;
    color: #1a1a1a;
    letter-spacing: 0.5px;
    text-align: center;
}

/* Cada fila de datos */
.panelDescripcion .col-xs-12 {
    margin-bottom: 14px;
}

/* Etiquetas */
.panelDescripcion .fw-bold {
    display: inline-block;
    width: 120px;
    color: #374151;
    font-weight: 600;
}

/* Valores dinámicos */
.panelDescripcion span[id] {
    color: #1f2937;
    font-weight: 400;
}

/* Estilo especial para la descripción larga */
#panelDescripcion {
    display: block;
    margin-top: 6px;
    padding: 10px 12px;
    background: #f9fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    max-height: 400px; /* límite de altura */
    overflow-y: auto; /* scroll si es largo */
    line-height: 1.5;
    font-size: 14px;
    color: #374151;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

    /* Scroll más moderno */
    #panelDescripcion::-webkit-scrollbar {
        width: 6px;
    }

    #panelDescripcion::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 4px;
    }

        #panelDescripcion::-webkit-scrollbar-thumb:hover {
            background: #94a3b8;
        }

.w-100{
    width:100%;
}

.padding-45px{
    padding:45px !important;
}
















