/* ═══ Trazabilidad GPS — Estilos del mapa ═══ */

.traz-pulse-dot {
    width: 14px;
    height: 14px;
    background: #1976D2;
    border: 3px solid white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.traz-pulse-ring {
    width: 40px;
    height: 40px;
    border: 3px solid #1976D2;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: traz-pulse 2s ease-out infinite;
    z-index: 1;
}

@keyframes traz-pulse {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

@keyframes traz-live-pulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(2.5); opacity: 0; }
}

.traz-lote-label {
    background: rgba(0, 191, 99, 0.85) !important;
    border: none !important;
    color: white !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    padding: 2px 8px !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2) !important;
}

.traz-worker-icon {
    background: none !important;
    border: none !important;
}

/* Panel de tracking (mobile-first) */
.traz-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    padding: 16px;
    transition: transform 0.3s ease;
}

.traz-labor-btn {
    border-radius: 16px !important;
    padding: 12px !important;
    font-weight: 700 !important;
    text-transform: none !important;
    min-height: 64px !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.traz-labor-btn:active {
    transform: scale(0.95) !important;
}

.traz-start-btn {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    font-size: 2rem !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25) !important;
    animation: traz-btn-breathe 3s ease-in-out infinite;
}

@keyframes traz-btn-breathe {
    0%, 100% { box-shadow: 0 6px 20px rgba(0,0,0,0.25); }
    50% { box-shadow: 0 6px 30px rgba(0,0,0,0.35); }
}

.traz-stat-chip {
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.9) !important;
    border-radius: 12px !important;
    padding: 6px 12px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}
