/* CSS general para el sidebar del mapa interactivo */
#sidebar-tab {
    position: fixed;
    top: 220px;
    left: 0;
    z-index: 1200;
    background: #232f3e;
    color: #fff;
    border-radius: 0 16px 16px 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.12);
    cursor: pointer;
    transition: left 0.3s;
}
#sidebar-tab i {
    font-size: 1.5rem;
}
#sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background: #fff;
    box-shadow: 2px 0 16px rgba(0,0,0,0.13);
    z-index: 1300;
    transition: left 0.3s;
    display: flex;
    flex-direction: column;
    padding: 0 0 16px 0;
}
#sidebar.open {
    left: 0;
}
#sidebar-header {
    background: #232f3e;
    color: #fff;
    padding: 18px 18px 12px 18px;
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#sidebar-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
}
#sidebar-content {
    flex: 1 1 auto;
    padding: 16px 18px 0 18px;
    overflow-y: auto;
    position: relative;
}
#sidebar label {
    font-weight: 600;
    margin-top: 10px;
    display: block;
}
#sidebar input[type="text"], #sidebar select {
    width: 100%;
    padding: 7px 10px;
    margin: 6px 0 12px 0;
    border: 1px solid #bbb;
    border-radius: 6px;
    font-size: 1rem;
}
#sidebar .sidebar-section-title {
    margin: 18px 0 8px 0;
    font-size: 1.08rem;
    font-weight: 700;
    color: #232f3e;
}
#sidebar .sidebar-point-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
/* Autocompletado */
#sidebar-content .sidebar-autocomplete-list {
    position: absolute;
    left: 0;
    right: 0;
    top: 70px;
    background: #fff;
    border: 1.5px solid #009688;
    border-top: none;
    border-radius: 0 0 10px 10px;
    z-index: 1400;
    list-style: none;
    margin: 0;
    padding: 0;
    box-shadow: 0 6px 18px rgba(0,150,136,0.10);
    max-height: 100px;
    overflow-y: auto;
}
#sidebar-content .sidebar-autocomplete-list li {
    padding: 9px 16px;
    cursor: pointer;
    font-size: 1.04rem;
    color: #232f3e;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s, color 0.15s;
    display: flex;
    align-items: center;
    gap: 8px;
}
#sidebar-content .sidebar-autocomplete-list li:last-child {
    border-bottom: none;
}
#sidebar-content .sidebar-autocomplete-list li:hover {
    background: #e0f7fa;
    color: #009688;
}
#sidebar-content .sidebar-point-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 8px 7px 0;
    border-radius: 7px;
    background: #f7f7fa;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: box-shadow 0.15s, background 0.15s;
}
#sidebar-content .sidebar-point-list li:hover {
    background: #e0f7fa;
    box-shadow: 0 4px 16px rgba(0,150,136,0.10);
}


                            .map-chat-bubble {
                                position: fixed;
                                z-index: 9999;
                                background: #fff;
                                color: #232f3e;
                                border-radius: 18px 18px 18px 4px;
                                box-shadow: 0 4px 18px rgba(0,0,0,0.13);
                                padding: 8px 18px;
                                font-size: 1rem;
                                font-weight: 600;
                                pointer-events: none;
                                border: 1.5px solid #009688;
                                min-width: 80px;
                                max-width: 260px;
                                white-space: nowrap;
                                overflow: hidden;
                                text-overflow: ellipsis;
                                transition: opacity 0.12s;
                            }
                           
#sidebar-content .sidebar-point-logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #009688;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,150,136,0.08);
}
#sidebar-content .sidebar-point-name {
    flex: 1 1 auto;
    font-weight: 600;
    font-size: 0.85rem;
    color: #232f3e;
    margin-left: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}
/* Botón circular perfectamente redondo y centrado */
#sidebar-content .sidebar-point-locate {
    color: #fff;
    background: #009688;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    max-width: 28px;
    max-height: 28px;
    padding: 0;
    border-radius: 50%;
    transition: background 0.15s, color 0.15s;
    box-shadow: 0 2px 8px rgba(0,150,136,0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
#sidebar-content .sidebar-point-locate:hover {
    background: #00796b;
    color: #fff;
}
