/* --- FUNDAÇÃO E EFEITOS --- */
.glass { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.3); }
.bg-modern { background: radial-gradient(circle at top left, #eff6ff 0%, #ffffff 100%); min-height: 100vh; }

/* --- CONFIGURAÇÃO DO MAPA --- */
#map { width: 100%; z-index: 10; }

/* --- COMPUTADORES (Layout Desktop) --- */
@media (min-width: 768px) {
    .sticky-map { position: sticky; top: 2rem; height: 80vh !important; border-radius: 2rem; overflow: hidden; }
    #map { height: 100% !important; border-radius: 2rem; }
    #listaTecnicos { height: 80vh !important; overflow-y: auto !important; }
}

/* --- CELULARES (Layout Mobile - Rolagem Independente) --- */
@media (max-width: 767px) {
    .main-container { padding: 0 !important; }

    .sticky-map {
        height: 300px !important; 
        position: relative !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 0 !important;
    }
    
    #map { height: 300px !important; border-radius: 0 !important; }

    /* Força a área da lista a ter uma altura específica para rolar */
    .md\:col-span-5 {
        height: calc(100vh - 300px) !important; /* Tela toda menos a altura do mapa */
        overflow: hidden !important;
        padding: 1rem !important;
        margin-top: 0 !important;
    }
    
    #listaTecnicos {
        height: 100% !important;
        overflow-y: auto !important; /* Rola apenas aqui dentro */
        padding-bottom: 50px;
    }
}

/* --- COMPONENTES --- */
#listaTecnicos::-webkit-scrollbar { width: 6px; }
#listaTecnicos::-webkit-scrollbar-thumb { background-color: #cbd5e1; border-radius: 10px; }

.btn-modern { transition: all 0.3s; box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3); }
.tech-card { transition: all 0.4s ease; }
.tech-card:hover { transform: scale(1.02); border-color: #3b82f6; }

/* Ponto Azul */
.user-location-marker { background-color: #3b82f6; border: 3px solid white; border-radius: 50%; width: 16px !important; height: 16px !important; }
.user-location-pulse { width: 16px; height: 16px; background: #3b82f6; border-radius: 50%; position: absolute; animation: user-pulse 2s infinite; }
@keyframes user-pulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(4); opacity: 0; } }