/* ========================================
   ESTILOS ÚNICOS DEL SEGUNDO ARCHIVO
   ======================================== */

/* Estilos mejorados para colores de iconos específicos */
.telefono .icono { color: #3498db; }
.web .icono { color: #2ecc71; }
.tipo-comercio .icono { color: #e74c3c; }
.horario .icono { color: #f39c12; }
.dias-cierre .icono { color: #9b59b6; }
.categorias .icono { color: #1abc9c; }

/* Botón mejorado con efectos de gradiente y animación */
.btn-ver-negocio {
    background: linear-gradient(135deg, #e6e6e6, #c0c0c0);
    color: #333;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15), inset 0 1px 1px rgba(255,255,255,0.6);
    border: 1px solid #999;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-ver-negocio:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.5s;
}

.btn-ver-negocio:hover, .btn-ver-negocio:active {
    background: linear-gradient(135deg, #d4af37, #f5dd94);
    color: #333;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2), inset 0 1px 1px rgba(255,255,255,0.8);
    transform: translateY(-1px);
}

.btn-ver-negocio:hover:before {
    left: 100%;
}

/* Estilo alternativo para notificaciones con bordes izquierdos de color */
.georadio-notification.success {
    background-color: #dff0d8;
    border-left: 5px solid #5cb85c;
    color: #3c763d;
}
.georadio-notification.error {
    background-color: #f2dede;
    border-left: 5px solid #d9534f;
    color: #a94442;
}
.georadio-notification.info {
    background-color: #d9edf7;
    border-left: 5px solid #5bc0de;
    color: #31708f;
}
.georadio-notification.warning {
    background-color: #fcf8e3;
    border-left: 5px solid #f0ad4e;
    color: #8a6d3b;
}

/* Estilos específicos para popups de POI */
.poi-popup {
    max-width: 300px;
}
.poi-popup h3 {
    margin-top: 0;
    color: #333;
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
}
.poi-popup p {
    margin: 8px 0;
    line-height: 1.4;
}
.poi-image {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 10px;
}
.poi-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}
.poi-actions button, .btn-encuesta {
    background-color: #4285F4;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    text-decoration: none;
    display: inline-block;
}
.poi-actions button:hover, .btn-encuesta:hover {
    background-color: #3367d6;
}

/* Estilos alternativos para marcador de ubicación */
.location-marker-inner {
    width: 24px;
    height: 24px;
    background-color: #4285F4;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(66, 133, 244, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(66, 133, 244, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(66, 133, 244, 0); }
}

/* Estilos específicos para clusters coloridos */
.custom-marker-cluster {
    background-color: rgba(66, 133, 244, 0.8);
    border-radius: 50%;
    color: white;
    text-align: center;
    line-height: 40px;
    font-weight: bold;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}
.negocios-cluster {
    background-color: rgba(52, 168, 83, 0.8);
}
.eventos-cluster {
    background-color: rgba(251, 188, 5, 0.8);
}
.encuestas-cluster {
    background-color: rgba(234, 67, 53, 0.8);
}
.ofertas-cluster {
    background-color: rgba(66, 133, 244, 0.8);
}

/* Animación para mostrar notificaciones */
.georadio-notification.show {
    opacity: 1;
    transform: translateY(0);
}

/* Colocación alternativa para contenedor de controles GeoRadio */
.georadio-controls-container {
    position: absolute;
    top: 70px;
    right: 10px;
    z-index: 1000;
}

/* Mejoras para scrollbar táctil */
#sidebar::-webkit-scrollbar,
#lista::-webkit-scrollbar {
    width: 6px;
}

#sidebar::-webkit-scrollbar-thumb,
#lista::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.2);
    border-radius: 3px;
}